r/FastAPI • u/vanlifecoder • Dec 02 '23
feedback request Evaluate my FastAPI tech Stack? FastAPI, Redis, Mongo, Celery & Websockets
I have a platform that allows users to configure an array of objects, these objects call them "stages".
each stage has instructions for how it will be executed. the output of each stage is passed into the input of the next.
Async Endpoint
Function: Grabs an array of objects, referred to as "stages".
Orchestrator Celery Task
Role: Iterates through each object in the array.
Each stage object contains instructions for its execution.
Execution of Each Stage
Method: Every stage object is executed within a child celery task.
Output Handling
Each stage's output is sent to a Redis cache.
Data Access
Each following execution stage has access to the entire array's data stored in Redis cache.
Output Transmission
Every execution sends its output to a websocket.
any gotchas/things to consider? suggesstions for how to deploy? i've been using render.com not totally impressed yet.
btw, if anybody is a pro FastAPI dev would love to get 1:1 advice shoot me a DM. happy to pay for your time.
3
u/bsenftner Dec 02 '23
Okay, sounds like a nice setup, but I must ask: to do what? What's the purpose of this software? FWIW, sounds similar to a setup I have for semantic analysis of long form text documents.