raising server timeout settings in Ruby
I read
[url]http://blog.membase.com/membase-blog/2010/04/tuning-memcached-timeouts-for-a-cloud-environment.html[/url]
But it didn't explicitly tell me how to raise my timeout settings so that errors like
[CODE]Memcached::ServerIsMarkedDead: Key {"views/bureau_cal-entertainment_header"=>"mc2.ec2.membase.net:11211:8"} [/CODE]
wouldn't happen. I'm using Membase memcached via heroku on a Ruby project.
Does anyone know the specific ruby code for changing the configuration in my code so that these errors don't happen?
I believe I don't have control over teh gem, but heroku does, and their docs say
[url]http://docs.heroku.com/memcache#gem-setup[/url]
A question raised: heroku says we use "northscale-memcached" and heroku google-group you linked to says "memcached-northscale". "memcached-northscale-heroku" at rubygems. I don't know what to use and what to update
Josh, changing your caching gem within Heroku is definitely possible, but I think you may need to direct that part of the question to them. The correct gem to use is "memcached-northscale"...there's always the problem of conflicting information when using "open" sources (forums/groups) such as these so I apologize for that.
Josh, which memcached gem are you using? There have been some recently discovered bugs with the Fauna gem and should be fixed by moving to the northscale version. The Heroku google groups mailing list also has some information on this: [url]http://groups.google.com/group/heroku/browse_thread/thread/16028eb595c38495/93f4b76068159d32?lnk=gst&q=northscale#93f4b76068159d32[/url]
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Membase: http://www.membase.com/products-and-services/overview
Call or email "sales -at- membase -dot- com" today!