Architecture Weekly Issue #106. Articles, books, and playlists on architecture and related topics. Split by sections, highlighted with complexity: 🤟 means hardcore, 👷‍♂️ is technically applicable right away,  🍼 - is an introduction to the topic or an overview. Now in telegram and Substack as well.

If you're interested in the technologies, development approaches and overall business of our little startup in the compliance field subscribe on Patreon and Boosty, as I shared an article recently on how we added a second product to our architecture last week.

Highlights

Should You Use Amazon API Gateway in 2024? 👷‍♂️

Couple of years ago you had to setup Amazon API Gateway to enable external requests to your Lambda function. Now there is a Function URL - a way to do the same, but without configuring a separate product. What is the difference between API Gateway and Function URL? Find it in this article.

Should You Use Amazon API Gateway in 2024? Consider Function URLs Instead!
Did you know that you can now invoke Lambda functions using an HTTP API via Function URLs?

#cloud #aws

A Distributed Systems Reading List 🍼

There is a lot to understand in Distributed Systems from failure modes to state machine replication and distributed systems fallacies. Find a post which goes through those definitions and guide you what to read abou them.

A Distributed Systems Reading List
An old document I surfaced with my quick tour of distributed systems theory fundamentals

#distributedsystems

Every infrastructure decision I endorse or regret after 4 years at a startup 👷‍♂️

Tutorials and how-to articles are good, but nothing is better than a real-life experience. There is so many decisions you have to make while at a startup(believe me), so that a real world guidance is invaluable. Lucky you: here's 4 years of decisions summarized with endorsing or regretting a particular decision. I am thinking about chaning some of our decisions myself now...

(Almost) Every infrastructure decision I endorse or regret after 4 years running infrastructure at a startup
Assortment of technology startup infrastructure recommendations

#casestudy #sre #architecture #cloud

Follow-Up

Uber handling 40 million reads per second with MySQL 👷‍♂️

40 million reads per second is an impressive number, which requires some sofisticated engineering to be reached. Uber is using a DocStore - their own solution on top of MySQL to serve the read and write queries, but it can be insufficient or cost inefficient to handle spikes in read. That's why Uber introduced their own solution for Caching, called CacheFront.

#casestudy #db

Optimizing SQLite for servers 👷‍♂️

I used SQLite in Android development for multiple years. The Ghost, an engine behind this blog, is using SQLite for dev purposes. A new trend emerges where SQLite is handling the production load with 8000 writes a second, which is pretty impressive for an embedded DB. In this article you will find how to configure it on 40$ a month VM to achieve this performance.

Optimizing SQLite for servers
SQLite is often misconceived as a "toy database", only good for mobile applications and embedded systems because it's default configuration is optimized for embedded use cases, so most people trying it will encounter poor performances and the dreaded SQLITE_BUSY error. But what if I told…

#db

Resisting compliance is futile 🍼

Security, compliance, and testing in production - what are those 3 have in common? The answer is that companies frequently say that they have security problems because the compliance rules prevents them from testing in prod. Gerald Benischke explains, that this is not true, and you'd better improve something about your operational approach.

Resisting compliance is futile
About two months ago I stumbled across a great YouTube video of a talk by Charity Majors called Compliance standards should be modern development practices. Now let’s step back for a minute. Am I seriously suggesting that anything with the word “compliance” is going to be a riveting watch? Why, yes…

#security #observability

AWS Real Projects Scenarios 🍼

Learning designing complex systems is better with the hands-on experience with smaller once. Here you will find a list of 6 projects that you can probably build in a weekend or two and gain the experience with AWS with Lambda, SageMaker and other technologies.

AWS Real Projects Scenarios (6 Mini projects) - Tech-Youtube
Important Considerations:Project 1: Serverless Image ResizerProject 2: Static Website with CI/CDProject 3: Scalable Web ApplicationProject 4: Chatbot with Natural Language ProcessingProject 5: Serverless Data PipelineProject 6: Recommendation Engine Important Considerations: Start Small: These are m…

#aws

WARNING 🇺🇦

The brutal and unjustified war against Ukraine continues. If you want to help Ukraine directly visit this fund.

Big thanks to Nikita, Anatoly, Oleksandr, Dima, Pavel B, Pavel, Robert, Roman, Iyri, Andrey, Lidia, Vladimir, August, Roman, Egor, Roman, Evgeniy, Nadia, Daria, Dzmitry, Mikhail, Nikita and Dmytro for supporting the newsletter. They receive early access to the articles, influence the content and participate in the closed group where we discuss the architecture problems. They also see my daily updates on all the things I am working on. Join them at Patreon or Boosty!