Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

memcache-client bugfixes and socket timeout/failover support

#1535

Includes fixes introduced here: http://github.com/fiveruns/memca...

  • Connection retry
  • Ruby 1.9 compatibility
  • Better handling of disconnects
  • Failover support
  • Use zlib CRC32 implementation
  • More consistent error handling

Also adds socket timeouts to combat the conditions described here: http://blog.rapleaf.com/dev/?p=14

  • New :failover option for specifying whether to write data to another server when the original is marked dead
  • SOCKET_TIMEOUT constant, default of 0.5s

see also: http://geekblog.vodpod.com/?p=80, http://github.com/jsierles/memca...

Reported by Joshua Sierles · December 9th, 2008 @ 09:59 AM

State: committed
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to committed

    (from [e54f17920fddebdfa241a5d9253ad5810972af87]) Updated included memcache-client to the 1.5.0.5 version which includes fixes from fiveruns and 37signals to deal with failover and timeouts (Joshua Sierles) [#1535 memcache-client bugfixes and socket timeout/failover support state:committed]

    Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...

    December 9th, 2008 @ 10:14 AM

  2. yoyogo
    yoyogo

    oh my!! i love you so much!!

    Thank you so much.
    Hermes Bags
    http://www.louisvuittonparty.com/
    Hermes Bags

    March 31st, 2011 @ 05:59 AM