Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jul 31, 2010 6:26 pm 
Offline
Senior Member

Joined: Mon Oct 27, 2008 10:24 am
Posts: 173
Website: http://www.worshiproot.com
Alright memcached users... a couple weeks ago obs suggested in the "How are you gonna use your RAM" thread that offering memcached instances might be an interesting venture.

So... that's what I'd like to try. I have most of a control panel coded up, and hope to have it to a "minimum viable" level by the end of the weekend.

The basic idea is to offer memcached instances over the private network. Each instance would obviously get its own port, and you can specify the IP addresses that should be able to access that port.

Pricing is TBD, but I would like to get some folks interested in testing it for a little while to make sure there aren't any surprises.

So, if you use memcached, and would like to spin up a couple extra instances in Newark (sorry, only Newark for right now), let me know.


Top
   
 Post subject:
PostPosted: Tue Aug 10, 2010 3:02 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Hey I'm famous :P

I'm a dallas man myself so can't participate however have you considered redis? http://code.google.com/p/redis/ it does what memcached does and more (like lists and sets, and the 2.0 release has hashes (oh so very useful)).


Top
   
 Post subject:
PostPosted: Tue Aug 10, 2010 9:04 am 
Offline
Senior Member

Joined: Thu May 21, 2009 3:19 am
Posts: 336
Just make sure your memcached server(s) are firewalled and that only trusted individuals have access:

http://it.slashdot.org/story/10/08/07/0 ... urity-Hole


Top
   
 Post subject:
PostPosted: Wed Aug 11, 2010 2:21 am 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
These guys are already doing it: http://www.gear6.com/

But they probably can't give you 0.1ms latency using the private network.


Top
   
 Post subject:
PostPosted: Thu Aug 12, 2010 4:09 am 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
No it's not a drop in replacement since it has more commands but there are libraries for a whole bunch of languages.


Top
   
 Post subject:
PostPosted: Fri Aug 13, 2010 6:05 pm 
Offline
Junior Member

Joined: Tue Jul 13, 2010 8:28 pm
Posts: 28
Depends how you define a "drop-in replacement". For instance, you can't use a memcache client to connect to redis (whereas you can use a mysql client to connect to Amazon RDS), so you'll have to drop in a redis client library in your code.

For the most part though, redis has the same commands as memcache. A few commands have different names ("gets" is "mget") and the only thing memcache has that redis doesn't natively afaik is "prepend", "cas" but those can totally be implemented with the current commands (using transactions). Of course, caches generally don't use these commands.

There are probably also differences in behavior (like what happens when either system runs out of RAM, or expirations), but for general caching purposes you really wouldn't tell the difference.

Gives me an idea to write a redis-masquarading-as-memcached wrapper lib for python, if one doesn't already exist. Would make dropping in redis a lot easier.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group