6 ms·
yup, and if you want to really optimize it you could use functions as a service like lambda as your react rendering layer, which forwards to heroku or fargate o
by davidjnelson 6y ago
yup, and if you want to really optimize it you could use functions as a service like lambda as your react rendering layer, which forwards to heroku or fargate or beanstalk or vanilla ec2 or whatever for your backend.
and if cloudflare workers ever support metered usage you could use that too for the react layer.
and if you want hyper performance you could use lambda@edge and intelligently route to your backend running on fly.io to minimize the distance. the somewhat unsolved problem there though is multi region master master replicated databases which are cost effective.
to my knowledge this is the current state of the art for that https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-multi-master.html https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide...
problem is you have to pay for each region so it's not really cost effective.
- cercatrova 6y agoThat seems overly expensive compared to just keeping a build server
- Existenceblinks 6y agoI thought you were making joke about complexity when I read the first line, but then in the end it's not a joke. Why don't you have 1 single backend peacefully. JS sprinkles for what it needs to be interactive. (I'm tired of "complex form " argument, jQuery turned out ok back then, so does Stimulus or whatever works with server rendered html (e.g. vue))
- 1_player 6y agoThis sounds like madness. Not cost effective to deploy, nor cost effective at all to implement in the first place. It's literally setting money on fire. What's the equivalent of Poe's law, but for software development?