app architecture help?
i made this diagram for how i'm trying to make my app
currently i've got all the auxiliary services running as vercel functions. only issue is my free tier has a cron job limit.
wondering what is a better option:
1. use the cron job on a typescript (or something else to handle async calls) function, and use the ts function as a proxy to call the tweet service, then call the summarizer subsequently. this feels kinda hacky but might work
2. dockerize all this and deploy the 3 services separately on like railway or something. (no docker-compose support on railway rn and i don't know that i wanna figure out kubernetes lol)
3. make the services their own long running server, use cron for the daily task, then schedule the emails with code (i'm using go if that affects anything)
i know this is kinda vague but i'd appreciate any thoughts
0 Replies