This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 177 read,my_real_read,my_net_read,do_command,do_handle_one_connection,handle_one_connection,start_thread,clone | |
| 8 pthread_cond_wait@@GLIBC_2.3.2,inline_mysql_cond_wait,optimized,optimized,do_handle_one_connection,handle_one_connection,start_thread,clone | |
| 4 __lll_lock_wait_private,_L_lock_9495,malloc,mem_heap_create_block,mem_heap_create_func,row_sel_store_mysql_rec,row_search_for_mysql,ha_innobase::general_fetch,join_read_next_same,sub_select,do_select,JOIN::exec,mysql_select,handle_select,execute_sqlcom_select,mysql_execute_command,mysql_parse,dispatch_command,do_handle_one_connection,handle_one_connection,start_thread,clone | |
| 3 __lll_lock_wait_private,_L_lock_5189,_int_free,mem_heap_block_free,mem_heap_free_func,row_sel_store_mysql_rec,row_search_for_mysql,ha_innobase::general_fetch,handler::read_multi_range_next,QUICK_RANGE_SELECT::get_next,rr_quick,sub_select,do_select,JOIN::exec,mysql_select,handle_select,execute_sqlcom_select,mysql_execute_command,mysql_parse,dispatch_command,do_handle |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require "rubygems" | |
| require "yajl" | |
| require "open-uri" | |
| output = Yajl::Parser.parse(open("#{ENV['ROLLOUT_API_URL']}/#{ARGV[0]}.json")) | |
| percentage = output["percentage"].to_i | |
| puts Yajl::Encoder.encode(output) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package org.objectify.adapters | |
| import org.objectify.HttpMethod._ | |
| import org.objectify.Action | |
| import org.objectify.Objectify | |
| import org.scalatra.servlet.ServletBase | |
| trait ScalatraAdapter extends Objectify with ServletBase { | |
| /** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Tue Feb 21 20:33:08 CST 2012 | |
| 2457 read,read,vio_read,my_real_read,my_net_read,handle_one_connection,start_thread,clone | |
| 1589 __lll_lock_wait,_L_lock_1233,pthread_mutex_lock,open_table,open_tables,open_and_lock_tables,mysql_execute_command,mysql_parse,dispatch_command,handle_one_connection,start_thread,clone | |
| 1350 __lll_lock_wait,_L_lock_1233,pthread_mutex_lock,close_thread_tables,dispatch_command,handle_one_connection,start_thread,clone | |
| 274 pthread_cond_wait,os_event_wait_low,os_aio_simulated_handle,fil_aio_wait,io_handler_thread,start_thread,clone | |
| 93 pthread_cond_wait,end_thread,handle_one_connection,start_thread,clone | |
| 20 select,os_thread_sleep,srv_lock_timeout_and_monitor_thread,start_thread,clone | |
| 20 select,os_thread_sleep,srv_error_monitor_thread,start_thread,clone | |
| 20 select,handle_connections_sockets,main | |
| 20 pthread_cond_wait,MYSQL_LOG::wait_for_update,mysql_binlog_send,dispatch_command,handle_one_connection,start_thread,clone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [fetlife@mysql03 ~]# netstat | grep app6 | grep ESTABLISHED | wc -l | |
| 26 | |
| [fetlife@app6 ~]$ netstat | grep mysql03 | wc -l | |
| 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| irb(main):061:0> puts Benchmark.measure { $memcached.get(keys) } | |
| 0.000000 0.000000 0.000000 ( 0.001995) | |
| => nil | |
| irb(main):062:0> puts Benchmark.measure { Rails.cache.read_multi(*keys) } | |
| 0.010000 0.010000 0.020000 ( 0.044255) | |
| => nil | |
| irb(main):063:0> puts Benchmark.measure { Rails.cache.read_multi(*keys) } | |
| 0.000000 0.000000 0.000000 ( 0.043445) | |
| => nil | |
| irb(main):064:0> puts Benchmark.measure { $memcached.get(keys) } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| irb(main):057:0> puts Benchmark.measure { Rails.cache.read_multi(*keys) } | |
| 0.000000 0.000000 0.000000 ( 0.047367) | |
| => nil | |
| irb(main):058:0> puts Benchmark.measure { $memcached.get(keys) } | |
| 0.000000 0.000000 0.000000 ( 0.001607) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *** glibc detected *** /usr/local/bin/ruby193: corrupted double-linked list: 0x0000000001164e00 *** | |
| ======= Backtrace: ========= | |
| /lib64/libc.so.6[0x3583872555] | |
| /lib64/libc.so.6(cfree+0x4b)[0x35838728bb] | |
| /usr/local/bin/ruby193[0x5063d5] | |
| /usr/local/bin/ruby193[0x41e572] | |
| /usr/local/bin/ruby193(rb_gc_call_finalizer_at_exit+0x243)[0x41e8b3] | |
| /usr/local/bin/ruby193(ruby_cleanup+0x1c9)[0x417b39] | |
| /usr/local/bin/ruby193(ruby_run_node+0x3d)[0x417ded] | |
| /usr/local/bin/ruby193[0x41476d] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| regex.c: In function ‘ruby_re_compile_pattern’: | |
| regex.c:1367: warning: format ‘%d’ expects type ‘int’, but argument 7 has type ‘long int’ | |
| regex.c:2031: warning: format ‘%d’ expects type ‘int’, but argument 6 has type ‘long int’ | |
| gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c ruby.c | |
| gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c signal.c | |
| gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c sprintf.c | |
| gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c st.c | |
| gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c string.c | |
| gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c struct.c | |
| gcc -g -O2 -pipe -fno-common -DRUBY_EXPORT -I. -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -c time.c |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| commit ef5be277730e0f4985d2c26b0f7fb237ed81c0be | |
| Author: James Golick <[email protected]> | |
| Date: Thu Dec 9 00:15:42 2010 -0800 | |
| looks like we don't actually need to configure the cert paths. OpenSSL will do that for us correctly by default | |
| diff --git a/README.rdoc b/README.rdoc | |
| index ebd9e40..2e0c004 100644 | |
| --- a/README.rdoc | |
| +++ b/README.rdoc |