News for hackers. Stuff that matters.
Re:Ask YC:how do you do Sessions on EC2? by dfranke on Monday March 10, 2008 @02:14AM (#132986)
memcached
Re:Ask YC:how do you do Sessions on EC2? by wiemersl on Monday March 10, 2008 @08:02AM (#133088)
This might be what you mean, but a combination of memcached and a replicated database running on some ec2 boxes should work pretty well. The socialtext link implies that.

I haven't used simpledb yet, but as far as I understand it seems like it could be a good use case for replacing the replicated database piece.

Re:Ask YC:how do you do Sessions on EC2? by dfranke on Monday March 10, 2008 @05:13PM (#133437)
All you need for your backing store is a dumb key/value dictionary. You want S3 for that. Even with replication, running a DBMS on EC2 is a dreadfully foolish idea. A lot of startups are going to immediately go under the moment that EC2 has its first system-wide crash, and I'm going to be laughing at their misery.
Re:Ask YC:how do you do Sessions on EC2? by wiemersl on Monday March 10, 2008 @06:20PM (#133519)
Here is the thing. What makes some other solution more immune to a system-wide crash than ec2? When that happens, what is the major difference between that solution and an ec2 based one? If you really want to play it safe and don't trust amazon, then what you want is a disaster recover site which is completely independent. However, wouldn't you also want the same for any isp/hosting solution?
Re:Ask YC:how do you do Sessions on EC2? by dfranke on Monday March 10, 2008 @06:34PM (#133533)
It isn't a question of who you trust. It's a question of what classes of events that your system can withstand. EC2 is not durable. It isn't designed to be.
Re:Ask YC:how do you do Sessions on EC2? by staunch on Monday March 10, 2008 @02:46AM (#132999)
That's considered to be a bad idea generally.

http://www.socialtext.net/memcached/index.cgi?sessions

Re:Ask YC:how do you do Sessions on EC2? by bayareaguy on Monday March 10, 2008 @03:31AM (#133025)
But memcached + s3 as the backing store could work. Or for a low traffic site you might just be able to use s3 directly.