6 ms·
Don't you dare to tell me that my isomorphic Node trpc graphql with redux and sagas on top of next.js with SSG and SSR and parts in server components with my ho
by 0xblinq 3y ago
Don't you dare to tell me that my isomorphic Node trpc graphql with redux and sagas on top of next.js with SSG and SSR and parts in server components with my home grown validation and ORM framework and still no translations because they don't work together with everything else and deployed on serverless docker lambdas to a kubernetes cluster is over engineering a landing page with a contact form. So fast!
That's a state of the art WebApp. You old PHP developer!
- bilekas 3y agoThis made me giggle because I've heard stuff like this in serious situations.
- 0xblinq 3y agoOf course, it's based of my personal experience too. I'm not claiming I invented this at all.
- iknowstuff 3y agoYou described the marketing website of my previous employer.
- 0xblinq 3y agoAnd the marketing website of many others. It’s not a joke. Pure real life.
- creamyhorror 3y agoYou're not using Temporal workflows? So outdated! Though to be fair, devs lose employability when they don't get to use (in their work) technologies that are gaining wide popularity. It's a balance to be struck by the CTO/architect (assuming the devs want or are able to demand that skills development in the first place).
- topicseed 3y agoYeh, JS-land is wild. In a way, it's amazing that this ecosystem is so lively and fertile, but my gosh it's draining.
- rob 3y agoDon’t forget to deploy all that code to the edge. Your $5 VPS in NY running both nginx and MySQL is going to be a huge bottle neck when somebody in Texas tries to view your simple website and it takes .10 seconds longer to load. You’re going to want that contact form code on at least 1,000 servers worldwide for maximum benefits and conversions.
- edvinbesic 3y agoAlso, now that you are on the edge and your form submissions are web scale you likely need to model eventually consistency for the processing so you will need a highly available queue running somewhere.
- cutler 3y ago10 seconds? Slight exaggeration, surely.
- samuellevy 3y ago0.10 seconds
- jjeaff 3y agoJoking aside, as someone who runs their entire saas off a single bare metal server in Las Vegas, I have been toying with the idea of pushing some stuff to the edge. The reason being, sometimes those average load times are not giving you the real picture. If my average load time is 560ms per request because 90% of requests are 400ms and 10% are 2 full seconds, that might be a problem. Fixing those 10% requests and bringing them down in line with the rest would equate to an average speed up of only around 100ms. However, I'm not yet sure a complicated edge deployment would actually fix the 10% problem.
- JonKF 3y agoI like the idea of a "Progressively Enhanced Monolith". Start by building the core of the application in something like Laravel that can do anything and be developed quickly, then stick it behind a proxy/CDN like Cloudflare. Then if you find endpoints or pages that are accessed frequently and would be better as their own microservice then use a small serverless worker to either respond directly from the edge or forward the request onto a microservice.
- qbasic_forever 3y agoWait you're not using islands architecture!? Hahahaha how quaint! Get a load of this site, it's not using islands!!