We’ve all experienced that moment of relief when an ATM successfully dispenses our cash. But behind that simple transaction lies a complex dance of systems working together. In this post, I’ll walk you through how I tackled the challenge of processing cash dispense requests at scale using Apache Kafka and Python’s asyncio.
This approach grew out of a real problem I faced at work recently - how to allow multiple payment transactions to happen simultaneously across different locations while making sure we never had conflicting operations at any single cash machine.
As someone who has been involved in software development for over 3 years, I have primarily worked with JavaScript -and nowadays Typescript mostly- although I have also used languages like Python for specific projects. In this article, I want to share my initial impressions of the Go programming language as a web developer. I don’t intend for this to be a negative critique of JavaScript, as there are already plenty of those.
Us React developers, we often find ourselves grappling with the age-old question: Which state management approach should you use ? It depends 🤡 React offers a variety of state management solutions, each with its own strengths and weaknesses, and the choice ultimately depends on the specific requirements of your project. To help navigate this decision, I follow this self-made flow chart which serves as an excellent guide, taking into account various factors such as data sharing requirements, data fetching needs, and whether you’re dealing with forms or multiple components.
Javascript Map is a rarely used data structure, hence it is not as widely understood as it would first appear, also is not as little as it first appears. We will start off with some fundamentals in this post and gradually head towards explaining the Map’s function as well as certain situations in which it may be helpful.
The Big ⭕ Notation Understanding Big O Notation is crucial for analyzing the efficiency and scalability of algorithms and data structures.
In this article, I’ll share some best practices for working with Tailwind CSS, which I usually prefer to follow and have learnt over a period of time. By following these tips, you can keep your application clean, organized, and maintainable, even as your project grows.
1. Utilize Design Tokens 🪙 Design tokens are like special containers that hold all the important things that make your designs look good, like colors, sizes, fonts, and where things break on a screen.
The Need for a Robust UI Component Library As our web application grew in complexity, we found ourselves constantly reinventing the wheel when it came to building user interfaces. Our development team was spending too much time creating and maintaining custom UI components, leading to inconsistent styles, duplicated code, and a suboptimal developer experience.
To address these challenges, we decided to invest in building a comprehensive UI component library that would serve as the foundation for our application’s user interface.