Meet Saddam: A Tech Enthusiast

Hello! I鈥檓 a tech enthusiast and experienced software developer with over 10 years in the field. My programming journey started with QBASIC and C in college and has since evolved through languages like Visual Basic, Java, PHP, Rust and my current favorite, Golang. My expertise lies in building robust distributed systems using microservice architecture, adhering to SOLID principles and clean design. I specialize in Golang and PHP, focusing on creating scalable solutions with Docker, Kubernetes, and modern frameworks like Laravel, Chi and GoKit. My experience spans TDD and various messaging technologies like RabbitMQ, Kafka and Google Cloud Pub/Sub. I also bring strong skills in DBMS systems (MySQL, PostgreSQL, MongoDB) and infrastructure tools for designing fault-tolerant applications. Passionate about open-source and always learning, I strive to write elegant, high-performance code and contribute to projects that push the boundaries of software design.

Projects

1. WalletX.pro: a user-friendly finance app that helps users effortlessly track their income, expenses, and budget. With extensive graphical representations of financial data, it enables easy viewing of daily, weekly, monthly, and yearly reports鈥攁ll for free.

Open source contributions

GoJSONQ , Govalidator , Renderer , Docgen , Traffic , Task , Ubuntu live wallpaper

Thank you for taking the time, I appreciate your interest and look forward to sharing my tech journey and insights with you 馃檪

Handling Distributed Transactions: A Deep Dive into the Saga Pattern

In today鈥檚 world, scalability is a common challenge that most of us face when developing applications. To scale out and build easily manageable services, we often break down a system鈥檚 responsibilities into multiple microservices. In a microservices architecture, each service manages its own database, and the type of database can differ between services. This diversity complicates implementing a two-phase commit, and in many cases, services don鈥檛 always require strong consistency. ...

October 18, 2024 路 9 min 路 Saddam H

Mastering Microservices: Ensuring Data Consistency with the Outbox Pattern

In an e-commerce application, when a customer places an order, it is common to need to send an order_placed event to an event bus for further processing. A straightforward approach would be to make an entry in the order table and then publish the event synchronously. However, this raises significant concerns regarding the availability and reliability of the event bus. Message queue is unavailable while placing order For instance, what happens if the event bus is not available at the moment of publishing? In this case, one might consider rolling back the transaction in the order service to ensure that the order is not created without the corresponding event being sent. This rollback, however, introduces a delay in the user experience and creates a tight coupling between the order creation and event publishing processes. ...

September 28, 2024 路 5 min 路 Saddam H

Mastering Microservices: The Battle Between Choreography & Orchestration

In Choreography, dancers perform independently based on cues or signals from each other, without a central leader directing them. Each dancer knows their part and reacts to the movements or signals from others, much like how microservices communicate through events. The performance unfolds naturally as each dancer responds to the rhythm and flow. Dancers performing choreography in sync with the music In Orchestration, however, a conductor leads the musicians, directing them when to start, stop, or change tempo. The conductor has full control over the entire performance, much like how an orchestrator in microservices coordinates each service, managing the flow and ensuring everything happens in the right sequence. ...

September 24, 2024 路 6 min 路 Saddam H

Mastering Microservices: The Power of Effective Communication

The way you communicate, Does It Affect Your Way of Life? Certainly it does, communication is essential for understanding each other; nearly every living organism relies on it. While that鈥檚 not our topic today, it鈥檚 crucial to consider how communication impacts distributed systems. So, what happens when hundreds of services need to interact with each other? How do you manage this in your daily work? Are your services becoming overly chatty and tangled, like a plate of spaghetti? ...

September 16, 2024 路 6 min 路 Saddam H