Architecture Weekly #96 - 10th October 2022
Welcome to the new week! I’ve heard a few times that Event Sourcing is hard to test. I’m not sure where this myth comes from; maybe from mixing it with event streaming. Event Sourcing logic is pretty straightforward. We’re getting the list of events recorded for a specific entity (e.g. bank account), building the current state from them and running business logic based on it. As a result, we’re getting either a new event or a list of events. We can think about business logic as a pure function and just verify if, for the defined inputs (state + command) we’re getting the expected result (event or error). In my last article, I explained in detail how to do that: Check new goodies to my small testing library Ogooreck, in which I added helpers to cut the boilerplate of testing business logic (not only event-sourced one). Tests are great, but nowadays, not all we can verify before production. I wrote once that I tested on production and am not ashamed of it. In the distributed world, we can be certain about one thing: there will always be something that’s not working. We need to embrace that and make our systems resilient to failure. Check more in: That’s also why I like the Event-Driven approach, as it helps with that. It won’t help us to avoid failure, but it will enable us to manage it and be prepared for the worst. Of course, it may also introduce accidental complexity, so it’s always worth questioning what we read. InfoQ released a new eMag about the streaming pipelines: Check also the new Kafka release notes. The Kafka team is pushing for the removal of Zookeeper. On a bigger scale, everything is custom. Kafka provided their implementation of the Raft protocol, called KRaft and aimed to remove the dependency for Zookeeper. It served them well, but they decided they wanted to have more control, fewer moving pieces and make it more fine-tuned to their needs. Read: Speaking of the design. Most of the architects I know come from the backend or operations. We tend to ignore the UI and UX as something that’s maybe nice but not so important. That too often leads to building the iceberg, where we’re trying to hide too much underwater instead of delivering more to users. Check the nice summary about the UI and UX in: From the industry news, read more about the not-great time for NFTs and Metaverse. I’ve heard that “future is now”. It seems that not quite yet.
Have you thought about watching Star Wars on the terminal? I bet you did. See it: Check, also other links! Cheers 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 Red Cross, the Ukraine humanitarian organisation. You may also consider joining Tech for Ukraine initiative. ArchitectureDistributed SystemsDevOps
FrontEnd
TestingMobileJava
.NET
PythonManagementIndustry
TriviaYou’re a free subscriber to Architecture Weekly. For the full experience, become a paid subscriber. |
Older messages
Architecture Weekly #95 - 3rd October 2022
Monday, October 3, 2022
Architecture Weekly - links and resources to boost your knowledge and developer skills!
Webinar #4 - From CQRS to CRUD in Practice
Tuesday, September 27, 2022
Watch now (98 min) | Technical patterns are filled with myths and mishaps. Most of the material shows a skewed perspective about CQRS. They suggest that you need multiple databases and messaging
Architecture Weekly #94 - 26th September 2022
Monday, September 26, 2022
Architecture Weekly - links and resources to boost your knowledge and developer skills!
Architecture Weekly #93 - 19th September 2022
Monday, September 19, 2022
Architecture Weekly - links and resources to boost your knowledge and developer skills!
Architecture Weekly #92 - 12th September 2022
Monday, September 12, 2022
Architecture Weekly - links and resources to boost your knowledge and developer skills!
You Might Also Like
Import AI 399: 1,000 samples to make a reasoning model; DeepSeek proliferation; Apple's self-driving car simulator
Friday, February 14, 2025
What came before the golem? ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
Defining Your Paranoia Level: Navigating Change Without the Overkill
Friday, February 14, 2025
We've all been there: trying to learn something new, only to find our old habits holding us back. We discussed today how our gut feelings about solving problems can sometimes be our own worst enemy
5 ways AI can help with taxes 🪄
Friday, February 14, 2025
Remotely control an iPhone; 💸 50+ early Presidents' Day deals -- ZDNET ZDNET Tech Today - US February 10, 2025 5 ways AI can help you with your taxes (and what not to use it for) 5 ways AI can help
Recurring Automations + Secret Updates
Friday, February 14, 2025
Smarter automations, better templates, and hidden updates to explore 👀 ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏
The First Provable AI-Proof Game: Introducing Butterfly Wings 4
Friday, February 14, 2025
Top Tech Content sent at Noon! Boost Your Article on HackerNoon for $159.99! Read this email in your browser How are you, @newsletterest1? undefined The Market Today #01 Instagram (Meta) 714.52 -0.32%
GCP Newsletter #437
Friday, February 14, 2025
Welcome to issue #437 February 10th, 2025 News BigQuery Cloud Marketplace Official Blog Partners BigQuery datasets now available on Google Cloud Marketplace - Google Cloud Marketplace now offers
Charted | The 1%'s Share of U.S. Wealth Over Time (1989-2024) 💰
Friday, February 14, 2025
Discover how the share of US wealth held by the top 1% has evolved from 1989 to 2024 in this infographic. View Online | Subscribe | Download Our App Download our app to see thousands of new charts from
The Great Social Media Diaspora & Tapestry is here
Friday, February 14, 2025
Apple introduces new app called 'Apple Invites', The Iconfactory launches Tapestry, beyond the traditional portfolio, and more in this week's issue of Creativerly. Creativerly The Great
Daily Coding Problem: Problem #1689 [Medium]
Friday, February 14, 2025
Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Google. Given a linked list, sort it in O(n log n) time and constant space. For example,
📧 Stop Conflating CQRS and MediatR
Friday, February 14, 2025
Stop Conflating CQRS and MediatR Read on: my website / Read time: 4 minutes The .NET Weekly is brought to you by: Step right up to the Generative AI Use Cases Repository! See how MongoDB powers your