Some good old system design

Hello everyone, how you doing ? So I want to create a little app that consists of 2 main parts system-design-wise - and I'd like to know where you think I should host it (could be multiple platforms). Code Stack: NextJS,
FIRST PART: Your good old CRUD app where users can create, read, update stuff. Nothing crazy here. SECOND PART: A job that's reading rows from a SQL table. Then for each row it performs some requests on an API, then based on that result it updates 2 other tables and it also might need to save media (pictures, 20s videos) on some blob storage (think S3 or something). This job will be running regularly since its function is to keep stuff up to date. Now, how many entires could the job table have ? Think 10-100. And then for each of these entries we might need to perform another 100-200 requests to check if data needs updating. Then 80% of the time the data will need updating and 50% of the time we will also need to put some sort of media into a blob storage. I want the system to be up to date every 5m. Ofc if the app is succesfull things will need to change in the future but that's it for now. MY TAKE: For the first part. Vercel. $20 / month and we're well below reaching any limits For the second part: 1. AWS EC2 for the job since Lamba wont work due to it running continuously and sometimes having to deal with media (20s videos). 2. RDS for a SQL (or DynamoDB) that's going to be getting getting updated regularly. 3. S3 for Blob storage Where I'm a bit hesitant is on the part where I use AWS. Perhaps this can all be done through Vercel (with the exception of Blob ofc). But then if I do need to use AWS, why not put the entire thing on AWS and save that flat fee of 20/month + having to coordinate between 2 different vendors.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server