Architecture Weekly

Share this post

Architecture Weekly #104 - 5th December 2022

www.architecture-weekly.com

Architecture Weekly #104 - 5th December 2022

Oskar Dudycz
Dec 5, 2022
2
Share this post

Architecture Weekly #104 - 5th December 2022

www.architecture-weekly.com

Welcome to the new week!

Let's say we'd like to check the result of the specific event handler (e.g. updated read model). As it's asynchronous, we won't know precisely when it happened. We could be polling continuously with retries for changes to our read model. Yet that won't be efficient and will make our tests less predictable and run longer. How to improve that?

I wrote in my last article about how we could get a little help from .NET Channels to make our tests reliable and efficient. Read more:

  • Testing asynchronous processes with a little help from .NET Channels

Artificial Intelligence is getting re-hyped with new text, code and image generation. Again, we’re trying to think if it can replace us. I wrote my longer take in Computer says no! Why we might have an issue with Artificial Intelligence soon of what I think about it. I think TLDR can be super useful for reducing the boilerplate work and helping us make decisions. Yet we need to be careful, as it’ll be as biased as the people training it. Thanks to Wojtek Ptak's recommendations, we have today a big package of news from AI improvements:

  • Meta - CICERO: An AI agent that negotiates, persuades, and cooperates with people

  • Stability.ai - Stable Diffusion 2.0 Release

  • Nvidia - Magic3D: High-Resolution Text-to-3D Content Creation

More below!

Shopify claims that during the Black Friday/Cyber Monday period, they had 99.999+% uptime while averaging 3 Terabytes per minute of egress traffic across our infrastructure. If you’re interested in how they’re doing it, check:

  • Shopify - Shard Balancing: Moving Shops Confidently with Zero-Downtime at Terabyte-scale

  • Bart de Water - Shopify’s Architecture to Handle the World’s Biggest Flash Sales

Have you heard about Justin Bieber’s problem? It’s a scaling issue in social platforms when a set of influencers have extreme outliers in the number of followers and engagement. All of the social platforms went through that:

  • NBC News - Twitter down again? Blame Justin Bieber!

  • Wired - How Instagram Solved Its Justin Bieber Problem

Now Mastodon is going through that. It’s especially dangerous in the federated nature, as it may have small servers run by regular persons. The number of notifications can quickly kill them. It’s worth watching that space, as, with recent Twitter issues, it got a lot of new people and needs to scale rapidly. See the decent summary of how you could proceed with that:

  • Hazel Weakly - Scaling Mastodon: The Compendium

Recent research in Google engineering showed that the biggest productivity boost is…. code quality! Now we have an educated link to show our stubborn friends and managers:

  • Google - What improves developer productivity at google? code quality

Have a look also the latest news from our industry:

  • Axios - Elizabeth Holmes sentenced to 11 years in prison for Theranos fraud

  • Data Protection Commission - Decision in Facebook “Data Scraping” Inquiry

  • Lioness - At SpaceX, work was taken away from me in case I “might retire or die.”

Check, also other links!

Cheers
Oskar

p.s. I invite you to join the paid version of Architecture Weekly. It already contains the exclusive Discord channel for subscribers (and my GitHub sponsors), monthly webinars, etc. It is a vibrant space for knowledge sharing. Don’t wait to be a part of it!

p.s.2. Ukraine is still under brutal Russian invasion. A lot of Ukrainian people are hurt, without shelter and need help. You can help in various ways, for instance, directly helping refugees, spreading awareness, and putting pressure on your local government or companies. You can also support Ukraine by donating, e.g. to the Ukraine humanitarian organisation, Ambulances for Ukraine or Red Cross.


Architecture

  • Werner Vogels - Distributed Computing Manifesto

  • Adam Dymitruk - Event Modeling Workshop

  • Shopify - Shard Balancing: Moving Shops Confidently with Zero-Downtime at Terabyte-scale

  • Bart de Water - Shopify’s Architecture to Handle the World’s Biggest Flash Sales

  • Ben Rogojan - Realities of Being A Data Engineer — Migrations

  • Hazel Weakly - Scaling Mastodon: The Compendium

  • NBC News - Twitter down again? Blame Justin Bieber!

  • Wired - How Instagram Solved Its Justin Bieber Problem

  • Michael Plöd - Getting modules right with Domain-driven Design

DevOps

  • Marc-André Moreau - Free ARM server with 4 CPUs, 24GB of RAM and 200GB storage!

  • Phoenix Actions - Test Reporting - Displays test results from popular testing frameworks directly in GitHub

AI

  • Meta - CICERO: An AI agent that negotiates, persuades, and cooperates with people

  • Science - Human-level play in the game of Diplomacy by combining language models with strategic reasoning

  • Meta Cicero - Code for Cicero, an AI agent that plays the game of Diplomacy with open-domain natural language negotiation

  • DiploStrats - Expert Diplomacy Player vs CICERO AI

  • Stability.ai - Stable Diffusion 2.0 Release

  • Rob Mulla - Stable Diffusion 2.0 with Huggingface Pipelines

  • Nvidia - Magic3D: High-Resolution Text-to-3D Content Creation

Java

  • Java Blog - Go Native with Spring Boot 3 and GraalVM

.NET

  • Oskar Dudycz - Testing asynchronous processes with a little help from .NET Channels

  • David Fowler - Thread about details of building Minimal APIs TODO sample in .NET 7

  • Ben Foster - Minimal API validation with ASP.NET 7.0 Endpoint Filters

  • Steve Gordon - An Introduction to System.Threading.Channels

Python

  • Lex Friedman Podcast - Guido van Rossum: Python and the Future of Programming

  • Szymon Miks - Hexagonal Architecture in Python

Rust

  • Armin Ronacher - A Better Way to Borrow in Rust: Stack Tokens

Coding Life

  • ProtoHackers - Server programming challenge to create servers for network protocols

  • Steve Huynh - A Life Engineered

Management

  • Google - What improves developer productivity at google? code quality

  • Jasper Spanjaart - 20 ways to hire more women into engineering and combat the gender gap

Industry

  • Axios - Elizabeth Holmes sentenced to 11 years in prison for Theranos fraud

  • Data Protection Commission - Decision in Facebook “Data Scraping” Inquiry

  • Lioness - At SpaceX, work was taken away from me in case I “might retire or die.”

Architecture Weekly is a reader-supported publication. To receive new posts and support my work, consider becoming a free or paid subscriber.

Share this post

Architecture Weekly #104 - 5th December 2022

www.architecture-weekly.com
Comments
TopNewCommunity

No posts

Ready for more?

© 2023 Oskar Dudycz
Privacy ∙ Terms ∙ Collection notice
Start WritingGet the app
Substack is the home for great writing