News for hackers. Stuff that matters.

Continuation

Ask HN: What distributed DB is best for a Q&A site?

I'm building a Q&A site. Would like to use a distributed DB for data store.Requirements:1) Elastic: add nodes and scale out automatically2) HA: automatically & transparently provides replication & failover3) Locality: I'd like to group all answers to the same question together and put them in the same shard. That way when retrieving answers to a question I won't need to query all...

( Read More... | no comments | on HN )
gevent has utilities to turn Python blocking calls into non-blocking ones.

In your case you could switch to a pure Python MySQL driver and gevent will turn all your mySQL calls into async.

Actually there're also gevent non-blocking MySQL drivers that are written in C.

Re:Ask HN: Scalable framework for web apps? on Tuesday December 09, 2008 @06:44AM (#391194)
>Scalability is the last thing you need to be worried about.

That's what friendster thought too.

Friendster became very popular but couldn't handle the scalability part and ended up dying a slow and painful death...