• Skip to main content
  • Skip to footer
  • Home
  • Become An Aficionado (Join Our Mailing List)
BMA

BeMyAficionado

Inspire Affection

java

System Design: Forward Retry Mechanism In Distributed Architecture

December 8, 2025 by varunshrivastava Leave a Comment

Forward Retry Mechanism Distributed System

A Forward Retry is a mechanism where a failed operation to an external service(s) is automatically attempted again after a certain delay. The primary purpose of this design is to handle transient network failure, temporary outages thereby improving the reliability of the system. I recently faced a similar situation at work where I had to make sure that my service is always … [Read more...] about System Design: Forward Retry Mechanism In Distributed Architecture

Leader Election with ZooKeeper: Simplifying Distributed Systems Management

July 23, 2024 by varunshrivastava Leave a Comment

AI generated featured image for Leader Election article

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

Top 5 Common Design Patterns

August 8, 2022 by varunshrivastava Leave a Comment

good code, bad code

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

January 26, 2022 by varunshrivastava Leave a Comment

Common Code

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

Trie Data Structure Implementation | (PUT, GET, DELETE)

April 1, 2021 by varunshrivastava Leave a Comment

Trie Data Structure Implementation

What would you do if your professor ask you to come up with a solution for a symbol table that is targeted only for string-based keys which are Faster than Hashing and more Flexible than BSTs? Trie Data Structure is the solution that you will be looking for. Trie is a fast search and miss data structure when it comes to storing key-value pairs where key is a string. This … [Read more...] about Trie Data Structure Implementation | (PUT, GET, DELETE)

Advent Of Code 2020 – Day 7 – Handy Haversacks

December 18, 2020 by varunshrivastava 2 Comments

Advent of Code 2020 - DAY 7

Finally, Directed Weighted Graphs have made their way to the Advent Of Code 2020 on Day 7. If you are unfamiliar with graphs then I highly recommend you to go through the below articles: Undirected Graphs and Graph Processing This above article will give you enough information to get you started with today's problem. On this note, let's start with today's problem. We … [Read more...] about Advent Of Code 2020 – Day 7 – Handy Haversacks

How To Add Custom JNDI Resource Factory That Will Return Your Custom Object

August 9, 2020 by varunshrivastava Leave a Comment

Implement Custom JNDI Resource Factory

This is legacy stuff, which means you either stuck somewhere or you are about to get stuck somewhere. Am I right or am I right? :D The JNDI stuff is really confusing especially if you have not seen the younger architecture of the web. So, let's talk about the earlier architecture and System Design where it was used. Monolith Architecture Mostly all of the legacy … [Read more...] about How To Add Custom JNDI Resource Factory That Will Return Your Custom Object

Long Polling Implementation With Java and Spring Boot

May 14, 2020 by varunshrivastava 11 Comments

Long Polling Implementation With java and spring boot

Long polling is a concept that was being used aggressively in the past. It was the technique that made web feel like real-time. I think a little history would help you to understand better. The Brief History Of Internet If you are old enough then you would know that web in its early days was very boring. And by boring I mean static, no moving parts. It simply … [Read more...] about Long Polling Implementation With Java and Spring Boot

Spring MVC – Build Project In Java With Gradle From Scratch (No XML)

August 18, 2019 by varunshrivastava 1 Comment

Hi folks, after a long time I revisited Spring MVC because of some project requirement and in the next moment, I was dealing with all sorts of configurations. If you have worked on Spring MVC before (not SpringBoot), you will know what am I referring to. All sorts of XML files (web.xml and spring-context etc). And to be clear I hate all that clutter. So, instead of dealing … [Read more...] about Spring MVC – Build Project In Java With Gradle From Scratch (No XML)

Big Query: How to Fetch Data In JSON Format By Consuming BigQuery’s REST API(s)

August 19, 2018 by varunshrivastava 10 Comments

BIG QUERY - How to Send Request to Big Query Rest API to Fetch Data In JSON Format

BigQuery is revolutionizing the way Big Data is maintained and processed. Its "server-less" architecture is not just enterprise friendly but also developer friendly as it takes care of all the hardware configuration and scalability matrices on its own. As a developer you just need to know the process of data extraction and that is all. All the performance related hard-work … [Read more...] about Big Query: How to Fetch Data In JSON Format By Consuming BigQuery’s REST API(s)

Next Page »

Footer

Become an Aficionado

BeMyAficionado is all about helping you connect, grow, and make an impact—one idea at a time.

Join our mailing list for exclusive how-to guides, insider stories, and free e-books.

Get first access to new posts, tools and resources we only share with subscribers.

Join 893 other subscribers

Recent

  • System Design: Forward Retry Mechanism In Distributed Architecture
  • System Design – Building Large Scale Web Crawler
  • Play Tic Tac Toe With LLM Claude 3.7
  • Is The Cosmos a Vast Computation?
  • Building Semantic Search for E-commerce Using Product Embeddings and OpenSearch

Search

Tags

Affordable Hosting algorithms aoc-2020 believe in yourself best database distributed-systems earn money blogging education elementary sorting algorithms fashion finance Financial Freedom food friends goals google india indian cuisine indian education system java javascript life life changing love microservices motivation oops podcast poor education system principles of microservices problem-solving programmer programming python Review seo social media success success factor technology top 5 VPS web developer wordpress

Copyright © 2025 · Be My Aficionado · Log in

Go to mobile version