On Oct 17, 2006, at 11:20 AM, Davis Princeton wrote:
Does memcached use less memory on Mac OS X or Linux than Windows?
I’ve always wondered why a person needed to even use the memcache when
you can use Ruby’s GServer, Rinda, Sockets, etc. to craft your own
“state server”. Fire it up as a background task and let it go. If
had a UDP server you could simply send data to it via:
UDPSocket.open.send(“Some ata”, 0, ‘localhost’, 5000)
People like to avoid Not Invented Here.
How much something like this scales? I dunno, but it would use a lot
less ram than memcached.
It would use more memory than memcached and not scale as well as
memcached typically stores Marshalled Strings instead of unpacked
objects (so you’ve got no struct RValue overhead).
memcached written in C and uses libevent so will be more efficient at
socket operations than Ruby which uses select.
Eric H. - [email protected] - http://blog.segment7.net
This implementation is HODEL-HASH-9600 compliant