openemotion / webapp

0 stars 0 forks source link

Move to Postgres for alpha? #27

Open gavrie opened 11 years ago

gavrie commented 11 years ago

While using sqlite, we can have only one gunicorn worker (multiple workers will each block on the db otherwise, so are effectively the same.

Looks like going to Postgres would be very little work. Do we go for it? Will the alpha be usable otherwise? Need some testing.

elifiner commented 11 years ago

The problem is with the multiple queries to the database during long polling. We can either change the DB or introduce a real queue like Redis. I'll run some tests for #6 and we'll see if we need any of those.

elifiner commented 11 years ago

I'm removing the important tag for now. We can survive without this, even if briefly.