Hey! So, I recently worked on this cool proof of concept (POC) where I tried to combine product embeddings with OpenSearch to enable a k-nearest neighbours (k-NN) search. Basically, I wanted to see if I could make searching through a product catalog smarter by using embeddings (which are essentially vector representations of the product information) instead of just basic text … [Read more...] about Building Semantic Search for E-commerce Using Product Embeddings and OpenSearch
programming
Leader Election with ZooKeeper: Simplifying Distributed Systems Management
Imagine you are in a group project, the task is pretty complex :p and everyone is looking at each other, wondering who is going to take the lead? Does this situation sounds similar to you? I remember we used to play some sort of game like "Rock, Paper, Scissor" or "Eeny, meeny, miny moe" (I never did this but my sister). Similarly, distributed systems have their own ways of … [Read more...] about Leader Election with ZooKeeper: Simplifying Distributed Systems Management
Setup Frontend Project Without Needing Backend Using Local Storage (Dependency Injection)
Today the frontend applications has become quite sophisticated. They are capable of handling complex logic to provide a seamless user experience. With the frameworks like React/Angular/Vue the landscape of frontend has changed quite a lot. I remember the days when I used to write my application in pure HTML and use to handle the dynamic interactions with Javascript (using … [Read more...] about Setup Frontend Project Without Needing Backend Using Local Storage (Dependency Injection)
Exploring Event-Driven Communication in Frontend Development with an Event Bus
Hey there, folks! Welcome back to another exciting blog post on BeMyAficionado. In this article, we're diving into the fascinating world of event-driven communication in frontend development, with a special focus on using an event bus to manage events between two micro-frontends. So, let's jump right in! First things first, let's understand what an event bus is. Think of … [Read more...] about Exploring Event-Driven Communication in Frontend Development with an Event Bus
Event Driven Communication Between Domains/Components – Frontend Development
Event Driven Architecture has been around for decades. This is not something new that we discovered recently. But we have definitely seen the rise of this with the emergence of distributed system and need for asynchronous communication. Event Driven Architecture really helps to reduce the complexity involved with distributed system while providing a way to asynchronously … [Read more...] about Event Driven Communication Between Domains/Components – Frontend Development
A Brief Discussion On Frontend and Micro-frontends
Whenever we hear the world "Monolith" it kind a sounds like a large block of age old monument, but in the world of software development monolith is not age old, infact, monolith is the first choice. Whenever I start on a project, I prefer to go monolith. There are several benefits of that. For one, it has less components and its really fast to develop and release new features … [Read more...] about A Brief Discussion On Frontend and Micro-frontends
Top 5 Common Design Patterns
Design patterns could make a difference in the way you write code. The thing we all need to understand is that we will come across many people who could write code, but there will be very few who write the code in a way that is scalable, maintainable, free of smells and most importantly readable. And to make a shift, it is important to know and understand different design … [Read more...] about Top 5 Common Design Patterns
Freedom From Redundancy Is A Trade-off
Code reusability is the holy grail for software development. You might have heard that developers should write code once and reuse it everywhere. Or, never write the same code twice... and a lot of things on similar lines. But have you ever questioned this? Is redundancy such a bad thing after all? Don't you think these statements are subjective? Applied to specific … [Read more...] about Freedom From Redundancy Is A Trade-off
Why Do Developers Write Code That Slows Them Down
I've been seeing some "not-so-good" everywhere and that made me wonder - Why do developers write code that slows them down later on? When I started asking this question myself, I started getting various reasons for the not-so-good code. I made a note of these reasons. And today I'll elaborate on each one of those. I guess you will relate to these and feel free to share your … [Read more...] about Why Do Developers Write Code That Slows Them Down
Code Review Best Practices For Software Engineers
Before diving into the best code review practices, I always ask this question - Why do we need a Code Review process? Code review process exists to improve the software development lifecycle (SDL). To improve the software and code that we are writing. This is done by adding an extra layer to the development process where your peers will take a look at the code to … [Read more...] about Code Review Best Practices For Software Engineers