News for hackers. Stuff that matters.
Re:Moving from PHP to C saved my web startup. by BuckToBid on Friday October 22, 2010 @01:42PM (#1820607)
Also because of the need for consistency and latency I'm not sure memcached would be a benefit because it could never be scaled anything but vertically anyways.
Re:Moving from PHP to C saved my web startup. by rarestblog on Friday October 22, 2010 @02:42PM (#1820898)
Memcached? Only vertically? Horizontal scaling is built-in in all memcached clients.
Re:Moving from PHP to C saved my web startup. by BuckToBid on Friday October 22, 2010 @02:45PM (#1820916)
yes, I was just saying that we can't wait for replication, when someone places a bid all the others users must have that information immediately.
Re:Moving from PHP to C saved my web startup. by rarestblog on Friday October 22, 2010 @02:56PM (#1820966)
memcached doesn't do replication as far as I know. It will just have to do some requests second time. It still beats re-calculation on each request.
Re:Moving from PHP to C saved my web startup. by ary on Friday October 22, 2010 @03:08PM (#1821023)
Replication is the wrong word for it. Key distribution is what you want. If a given memcache server goes down then the keys it was storing should get reloaded to a different one in your pool by your cold cache loading code.