kencochrane / scorinator

DjangoDash 2013 repo
Apache License 2.0
10 stars 4 forks source link

give workers direct access to database instead of having to use API? #57

Open kencochrane opened 11 years ago

kencochrane commented 11 years ago

To make things easier design wise, should we let the workers access the database directly, instead of using the API?

This will add other complexities, like how to share database models between the workers and the web app, maybe we switch to a celery or an RQ based approach for our workers?

Lets discuss here.

reinbach commented 11 years ago

I prefer to stick with accessing db via API, a central point of access to the db via the api interface