Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Memcached Server 1.0.3

raising server timeout settings in Ruby

3 replies [Last post]
  • Login or register to post comments
Tue, 07/20/2010 - 10:24
joshcrews
Offline
Joined: 07/20/2010
Groups: None

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?

Top
Tue, 07/20/2010 - 10:27
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

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!

Top
Tue, 07/20/2010 - 11:02
joshcrews
Offline
Joined: 07/20/2010
Groups: None

I believe I don't have control over teh gem, but heroku does, and their docs say

Quote:
"The [memcached-northscale]http://rubygems.org/gems/memcached-northscale) gem is the only Ruby memcache client that will work on Heroku."

[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

Top
Tue, 07/20/2010 - 15:05
Perry Krug
Offline
Joined: 06/02/2010
Groups: None

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.

__________________

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!

Top
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker