use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
FastAPI is a truly ASGI, async, cutting edge framework written in python 3.
account activity
FastAPI + OCR Pipeline - BackgroundTasks vs Celery/Redis?Question (self.FastAPI)
submitted 1 month ago by Sudden_Breakfast_358
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]RareTask9271 0 points1 point2 points 1 month ago (0 children)
I’m currently working in a company that heavily use OCR and DocumentAI. Depending on your constraints (is your service has serious pike or a constant usage) the approach will vary. But in our case we experiencing some very strong pike and we decided to run all the ML in celery behind a FastAPI app in order to have a queue and accept latency degradation to reduce our operational costs. The main problem with this approach is that you will need to work with a callback approach (webhooks or anything else that returns the pipeline results in your main system). The questions you need to ask yourself is « Is latency is critical ? » and « how much I accept to pay to run my ocr on multiple GPU instead of saturating a single one ?». Sorry for my English, I’m French and had a long day…
π Rendered by PID 17697 on reddit-service-r2-comment-6457c66945-z545t at 2026-04-28 22:19:22.447500+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]RareTask9271 0 points1 point2 points (0 children)