DEV Community

Discussion on: How to scale python server, for enterprise purposes?

Collapse
 
perigk profile image
Periklis Gkolias

Thanks for the great tips. Are you suggesting, not to use celery for plain requests that for example write a few KB in the DB? Is ASGI(where bicadillo etc are based on) stable enough?

Collapse
 
miniscruff profile image
miniscruff • Edited

If that write to the DB if required before you can return a response to the user than yes. I would check out the new asynchronous database tools like tortoise or the one by the starlette guys. Regardless with enough workers it shouldn't slow down your service.

I would say they are pretty stable, i would look around before choosing one for long term. FastAPI and responder were my top 2.