Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Was there still a significant speedup using the standard library json module?

For the DB requests Are you writing sql directly, using a different ORM, or something like sqlalchemy core that makes sql pythonic without being an ORM?



Yeah, the main improvement was seen even before playing with orjson. It did help too I think, but only started it yesterday so haven't actually profiled the two side by side. To have real numbers.

And it uses SQLAlchemy under the hood. Can use all of it. But if you want full async all the way down, can just use core and something like encode/databases for the DB access.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: