Would this architecture work with Cloudflare Workers? #172
Replies: 1 comment 4 replies
-
First of all, ask yourself what problem you want to solve with cloudflare workers. Do you currently have any problems that are not solvable with the current architecture? Are you experiencing slow development speed with the current architecture? Maybe you over-complicated some parts and should simplify it, you usually don't need complex architectures while building MVPs especially as a single person. MVP is usually a code that you may throw away in a couple of years, so don't worry too much about making a perfect architecture. I personally would not move to cloudflare workers or any other cloud functions, it's mostly marketing and has it's own flaws, like vendor lock-in, issues with library support, extra complexity compared to a simple monolith, etc. Plain monolithic app is the simplest and cheapest approach, for MVP you don't even need a cloud, any VPS server would be enough. |
Beta Was this translation helpful? Give feedback.
-
Hey @Sairyss
I would really love your take on how you would approach building a fairly complex backend today if you prioritized speed of development for something like a MVP that you want to be able to handle fairly complex business logic.
What are your thoughts on
cloudflare workers, durable objects, their new rpc bindings allowing direct function like calls between workers and durable objects, their new d1 sql database, could they be possible to build reliable systems that can handle complex business logic? I fear I'll go down that rabbit hole only to waste more time trying to fit complex business logic into something that isn't made for it.
Beta Was this translation helpful? Give feedback.
All reactions