Serverless Horror Stories
(...)some real-life horror stories that illustrate the potential problems of serverless in production — and how to avoid them.
Founding Engineer at Chronicle
(...)some real-life horror stories that illustrate the potential problems of serverless in production — and how to avoid them.
We see Durable Objects as a low-level primitive for building distributed systems. Some applications can use objects directly to implement a coordination layer, or maybe even as their sole storage layer.
It’s cool to see the tech around our job evolve to the point that we can reach our arms around the whole thing (...) when web technology becomes simple enough that people can build things from start to finish all by themselves. That’s pretty cool.
20 minutes of your time to save 7 hours for the team. Your company will make that tradeoff every day. $40 of your expensive time for $420 of everybody else's time? Yes please.
The development cost of IE11 support is high. (...) but at a minimum, you should be employing the module/nomodule differential approach for serving legacy JavaScript. This ensures you don't penalize the ~98% of your users with modern browsers for the 1-2% of IE users.
Caching and de-duping HTTP requests helps facilitate local reasoning. This means that you think about a part of your code in isolation, without holding the entire system in your head. I'll get into more of why this has a huge impact on the way you code at the end of this post.
Leading-trim is a suggested new CSS property that lets us remove the extra spacing in every font so that we can more predictably style text.
(...) this has long been the worry raised by such language-generating algorithms. Ever since OpenAI first announced GPT-2, people have speculated that it was vulnerable to abuse. In its own blog post, the lab focused on the AI tool’s potential to be weaponized as a mass producer of misinformation.
TypeScript is incredibly powerful, but is often difficult to read for beginners and carries the overhead of needing a compilation step before it can run in a browser (...) Fortunately the TypeScript team has enabled a way to type check vanilla JavaScript using JSDoc.
With content-visibility, it will style and layout all of the contents that are currently visible to the user (they are on-screen). However, when processing the story that is fully off-screen, the browser will skip the rendering work and only style and layout the element box itself.