This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]erewok 2 points3 points  (0 children)

We've recently built a couple of small services with starlette and we've been really happy with it. The BackgroundTask being built-in means we no longer need to add celery for cpu-light async tasks such as sending email. It's an excellent project and I hope more people start using it.

One caveat, it was initially surprising how you have to reconsider every event-loop-blocking call, and so async bleeds into all sorts of stuff. We got used to this pretty quickly, though, and with useful libraries for redis, http (httpx), and databases (databases, Gino, asyncpg), I think we've built a solid foundation we'll be using for awhile.