Is the library ready for production
Closed this issue · 1 comments
In first of all - great library!
Did you try to use it on production? Is it suitable for it as for right now?
The problem is that I wasn't able to find a real world use case in the project (reading/writing to a real DB and handling DB transactions).
Another thing which seem like a problem in production to me is that methods in BaseCacheProvider are sync, which doesn't allow to use ioredis package. If you use plain sync redis package like in this sample project, wouldn't it block the main thread of the app because of blocking I/O inside of an async method? (in FastAPI you can't do blocking operations if the route is defined async as it leads to blocking the event loop)
Also, it might be slightly unrelated, but the FastAPI version in the project is a little bit outdated (it's 0.95 now, but on the project it's 0.6)
Updating it myself:
For sure ready for production, we have had it running for more than half a year without any problems. Great lib man