This project is archived and is in readonly mode.

#1535 ✓committed
Joshua Sierles

memcache-client bugfixes and socket timeout/failover support

Reported by Joshua Sierles | December 9th, 2008 @ 09:59 AM | in 2.x

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...

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Referenced by

Pages