Mike Pollard
TTCTheo's Typesafe Cult
•Created by Mike Pollard on 1/23/2024 in #questions
Is the backend of this stack a lambdalith (lambda monolith) when hosted serverless?
isn't that maybe problematic as the codebase grows? bad cold starts? high traffic effecting the entire API and not just a single aspect of it?. Wouldn't it be better to distribute different parts of the application into different lambdas? so maybe would have like a user service, a group service, a post service, and a comment service, for example in a social media app. Each could then scale independently but communicate with each other if needed. Thoughts?
6 replies
TTCTheo's Typesafe Cult
•Created by Mike Pollard on 1/23/2024 in #questions
Is the backend of this stack a lambdalith (lambda monolith) when hosted serverless?
anybody know?
6 replies
TTCTheo's Typesafe Cult
•Created by hopesix on 1/24/2024 in #questions
T3 Drizzle Questions: Push, Migrate, Etc
whenever you need to change the schema hosted in your database to update it with your local changes you will need to run the drizzle generate command and then the migrate command. Drizzle also has a push command I believe for development but it may erase your data, I can't remember. The docs have good info and will show you what you exactly what you need to write depending on your sql config and such
3 replies