We are using Dalli and the Memcache add-on and would like to flush our cache
to observe how our application behaves while the cache fills up.
Have tried this from the console:
>> t_dall.stats
=> {"mc3.ec2.northscale.net:11211"=>{"bytes"=>"88686484", "cas_misses"=>"0",
"delete_hits"=>"0", "get_hits"=>"406549", "rusage_system"=>"23116.670000",
"pid"=>"7601", "cas_hits"=>"0", "incr_misses"=>"0",
"connection_structures"=>"1896", "evictions"=>"12901", "threads"=>"4",
"limit_maxbytes"=>"67108864", "incr_hits"=>"0", "cmd_flush"=>"9",
"decr_misses"=>"0", "pointer_size"=>"64", "daemon_connections"=>"10",
"time"=>"1294999978", "conn_yields"=>"0", "engine_maxbytes"=>"104857600",
"version"=>"1.4.4_188_g0117a2c", "total_items"=>"146544",
"bytes_written"=>"6622429660", "rejected_conns"=>"0", "decr_hits"=>"0",
"delete_misses"=>"0", "cmd_get"=>"479525", "total_connections"=>"13088175",
"curr_connections"=>"920", "uptime"=>"2955153", "auth_cmds"=>"1479",
"cmd_set"=>"146544", "rusage_user"=>"4756.090448", "curr_items"=>"15466",
"bytes_read"=>"1856824151", "cas_badval"=>"0", "get_misses"=>"72976"}}
>> t_dall.flush
=> [true]
>> t_dall.stats
=> {"mc3.ec2.northscale.net:11211"=>{"bytes"=>"88685654", "cas_misses"=>"0",
"delete_hits"=>"0", "get_hits"=>"406549", "rusage_system"=>"23117.650000",
"pid"=>"7601", "cas_hits"=>"0", "incr_misses"=>"0",
"connection_structures"=>"1896", "evictions"=>"12902", "threads"=>"4",
"limit_maxbytes"=>"67108864", "incr_hits"=>"0", "cmd_flush"=>"11",
"decr_misses"=>"0", "pointer_size"=>"64", "daemon_connections"=>"10",
"time"=>"1295000178", "conn_yields"=>"0", "engine_maxbytes"=>"104857600",
"version"=>"1.4.4_188_g0117a2c", "total_items"=>"146562",
"bytes_written"=>"6622499298", "rejected_conns"=>"0", "decr_hits"=>"0",
"delete_misses"=>"0", "cmd_get"=>"479554", "total_connections"=>"13089214",
"curr_connections"=>"918", "uptime"=>"2955353", "auth_cmds"=>"1479",
"cmd_set"=>"146562", "rusage_user"=>"4757.580448", "curr_items"=>"15466",
"bytes_read"=>"1857585675", "cas_badval"=>"0", "get_misses"=>"73005"}}
So the flush method since ineffective. How should we do this?
--
David Hall, M. Sc.
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.