4 ms·
Yeah that part wasn't relevant, I shouldn't have mentioned it
by idrios 3y ago
Yeah that part wasn't relevant, I shouldn't have mentioned it
- xwowsersx 3y agoGot it, sounds like a fun, simple setup though. I was exploring FastAPI recently and was a bit surprised that async SQLAlchemy wasn't the out-of-the-box experience, unless I misread docs and wasn't following along closely enough. The result was that even with all of the async goodness in FastAPI, throughput was completely shot once I started querying a DB. It looks like there is a way to do async SQLAclhemy though with AsyncSession. Do you have any experience with this?
- idrios 3y agoThanks, it's been a fun project so far. It just parses filenames in a directory without a DB right now while I'm still figuring out all that I want to do with this project. I was planning to use SQLAlchemy so good to know I should expect that.
- xwowsersx 3y agoYeah may not be an issue for you either, was just curious if you had any experience. I was considering FastAPI for a big production app and that was one concern/issue I ran into.