• Skip to main content
  • Skip to primary sidebar
  • Home
  • About
  • Subscribe BMA
  • Contact Us!

Be My Aficionado

Inspire Affection

Principles of Microservices – Decentralize All The Things

September 6, 2020 by Varun Shrivastava Leave a Comment

Decentralization Of Microservices

Decentralization is a tricky concept. There are many facets to it. In this article, I want to talk about decentralizing everything in a way it doesn't hurt you or your organization. When I think about decentralization the first thing that comes to my mind is Self Service. Self Service Self-service is very important in a truly decentralized system. The people working on … [Read more...] about Principles of Microservices – Decentralize All The Things

Principles of Microservices: Hide Implementation Details

September 2, 2020 by Varun Shrivastava Leave a Comment

Hide Implementation Details

Hiding the implementation of your service is a very important and crucial part of your overall architecture. It means protecting your service, data and implementation from the external world. It is so important that it has become a principle in itself. It is the 3rd principle of Microservice. I recommend you to read about the other two principles if you have not read it … [Read more...] about Principles of Microservices: Hide Implementation Details

Principles Of Microservices: How To Architect A Solution

December 31, 2019 by Varun Shrivastava Leave a Comment

Principles Of Microservices

Every enterprise has its own principles. Principles that takes it towards the goals. Principles that give birth to practices which are the underlying foundation for all the implementation. Similarly, Microservices has its own set of principles that helps its implementer to make the correct decision when given multiple options to choose from. Principles are like … [Read more...] about Principles Of Microservices: How To Architect A Solution

Principles Of Microservices: Culture Of Automation

September 2, 2020 by Varun Shrivastava Leave a Comment

Culture Of Automation

This article is written in a succession of the previous article that talks about the first principle of microservices i.e. modelling of microservices around a business domain. Once you have modelled the microservices around your business models and you are confident that you have done a good job, then the next step is to focus on automating your infrastructure. Automation … [Read more...] about Principles Of Microservices: Culture Of Automation

iTerm2 – Colorize The Tailed Logs In ITerm2 Terminal

August 21, 2020 by Varun Shrivastava Leave a Comment

Color Your Teminal

Coloured logs are very helpful especially when you are going to deploy your application in production. The moment when the live traffic is shifted to your servers and you sit there eagerly watching the logs roll off in speed, only one thing in your mind that no warnings and errors should go by unnoticed. This is the best situation where colors play an important role. In this … [Read more...] about iTerm2 – Colorize The Tailed Logs In ITerm2 Terminal

QuickSort – Understanding the QuickSort Algorithm and Implementation

August 21, 2020 by Varun Shrivastava 1 Comment

Quick Sort Algorithm

QuickSort algorithm is a brilliant idea of Tony Hoare. This algorithm is so effective that if implemented well, it can be 2x or 3x faster than its competitors merge sort and heap sort. I personally like quick sort algorithm because of its simplicity and speed. But I'm surprised to see that so many people get confused with quick sort algorithm. But worry not, because I … [Read more...] about QuickSort – Understanding the QuickSort Algorithm and Implementation

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

August 9, 2020 by Varun Shrivastava 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

Do You Have To Be Good At Mathematics to Become a Great Programmer?

October 6, 2018 by Varun Shrivastava Leave a Comment

Are Good Programmers Good Mathematicians

Someone at work asked me this question- "Are Good Programmers also Good Mathematicians?". This question got me into thinking about all the stuff that people are doing in most of the IT companies. They call themselves programmers, but are they, good mathematicians? In this article, I'm going to get into deeper level and talk about the software craftmanship and clean coding … [Read more...] about Do You Have To Be Good At Mathematics to Become a Great Programmer?

Create Page Layouts with React and Typescript

July 28, 2020 by Varun Shrivastava Leave a Comment

Layouts are one of the most important pieces when it comes to web development. Let's say you have a website that offers a member's dashboard so that the members of the site can login and get the exclusive content. Now, you wouldn't want to have the same layout for your members that you have for a non-member of your website. The logged-in user may have access to a lot more … [Read more...] about Create Page Layouts with React and Typescript

SWAGGER UI – Enable Token-Based Authentication In Spring Boot

July 17, 2020 by Varun Shrivastava Leave a Comment

Enable Swagger UI Token Based Authentication

Swagger UI is the first choice of every developer and tester when it comes to documenting service APIs. It provides live documentation for the APIs where you can actually send the request and get the things done. It really makes it easy for other people to understand your APIs as well. Whenever you are working on a project that depends on stateless authentication (which … [Read more...] about SWAGGER UI – Enable Token-Based Authentication In Spring Boot

Superstitious India – India In The Grip Of Superstitions

May 12, 2016 by Priyanka Yadav Leave a Comment

Superstitous India

Today I met a strange woman, she was walking down the road, at the hottest hours of the day (40 degrees to be precise) and asked me for a lift. I gave her a lift and in return, she thanked me so much that she blessed me saying "I wish you have a great day today". I guess her wishes worked for me as I actually had a very good day. But I wonder, what would have happened if I … [Read more...] about Superstitious India – India In The Grip Of Superstitions

Top 5 Indian movies every American must watch

November 1, 2016 by Varun Shrivastava Leave a Comment

5 Movies Everyone Must Watch

Hello Readers!!! I have been planning to write this article (Top 5 Indian movies every American must watch) for a long time. With so much crap in Bollywood, it has become really difficult for an outsider to differentiate good movies from the bad ones. And I really don't want to portrait the bad side of Bollywood. In fact, Bollywood has produced some of the best movies of … [Read more...] about Top 5 Indian movies every American must watch

3 Best Life Lessons Learned from Naruto Uzumaki

July 4, 2020 by Annie Tenma Leave a Comment

Naruto is one of the best anime that I have come across. The story revolves around Naruto Uzumaki, an orphaned kid who is mistreated by his fellow villagers because of a past incident, and his conquest to become the Hokage (a title bestowed on the village's leader) so that everybody in the village acknowledge and respect him. The journey that Naruto goes through has abundant … [Read more...] about 3 Best Life Lessons Learned from Naruto Uzumaki

Never Do These 10 Things Ever

July 4, 2020 by Varun Shrivastava Leave a Comment

Never Do These 10 Things Ever

1. Never Upload A Mirror Selfie With iPhone You look IDIOT NOT RICH 2. Never Keep Your Smartphone With You While Studying We all know what we do with our smartphones. We do everything except study. 3. Never Go To Sleep Without Planning Your Next Day Always keep a small diary or notebook by your side so that you can quickly jot down the things you need to … [Read more...] about Never Do These 10 Things Ever

Work From Home Is So Much Better Than Office If You Follow These 5 Tips Religiously

July 3, 2020 by Varun Shrivastava Leave a Comment

Work From Home Cover

This pandemic has changed our lives so much. A week before I was sitting in the office and working with my colleagues. And a week later I had to rush home because of the lockdown. WFH was not the problematic part, the main problem was that it happened so quickly. And when things move quickly, there is no time to think and plan. Things just happen on autopilot. People … [Read more...] about Work From Home Is So Much Better Than Office If You Follow These 5 Tips Religiously

Coronavirus: Tests carried out in India and the Contemporary World

July 1, 2020 by Anindya Sinha Leave a Comment

Covid 19 Tests and Innovative Sample Collection

Over 10 million confirmed novel Coronavirus (Covid-19) cases globally and with more than 1,00,000 cases being detected every day across the world, there is an imperative to ramp up testing. Various testing methods are being employed for this task and we have addressed them one by one in this article. This article also focuses on innovative and rapid sample collection … [Read more...] about Coronavirus: Tests carried out in India and the Contemporary World

Facebook’s Grand Plan found a new lease on life in India by buying a stake in Reliance JIO

June 29, 2020 by Anindya Sinha 1 Comment

Facebook's Grand Plan Got A New Life

Facebook and Reliance Jio new deal has been a talk of the town. FB bought a stake in Reliance Jio for Rs 43,574 crore and became the largest minority shareholder. The deal is a win-win situation for both parties. On one hand, Reliance reduced its debt burden by $21 billion (1,61,035 crore) in 58 days and on the other side, FB is finally set to achieve its grand plan after … [Read more...] about Facebook’s Grand Plan found a new lease on life in India by buying a stake in Reliance JIO

How To Mock SecurityContextHolder in Spring Security using Mockito?

June 25, 2020 by Varun Shrivastava Leave a Comment

Spring Security Mock SecurityContextHolder

Test-driven development is a pretty awesome design process. And while building your code, you may want to mimic the logged-in user. In Spring Security, the logged-in user principal is stored inside the Authentication object. This Authentication object can be accessed from any part of your application using SecurityContextHolder. The SecurityContextHolder is a singleton … [Read more...] about How To Mock SecurityContextHolder in Spring Security using Mockito?

Travelling Tips for a foodie

May 30, 2016 by Priyanka Yadav 3 Comments

Travelling_Tips_For_Foodie

Hey friends, I hope you all liked my previous blog. If you have any topics in mind then you can suggest me and leave your comments below and please let me know if you liked it or not :). Starting with this interesting topic of travelling, let me first tell you that I love travelling. Till now, I have travelled most of the tourist places in India covering east, west, … [Read more...] about Travelling Tips for a foodie

Load Spring Beans Based On Different Profiles Via XML

June 18, 2020 by Varun Shrivastava Leave a Comment

Load Spring Beans Based On Different Profiles Via XML

While working on a legacy project, sometimes it becomes so hard to find such small pieces of stuff. Recently I faced a similar problem where I had to load spring beans based on the loaded profiles respectively. With Spring Boot and annotation, it has become really easy. Just put the @Profile("profile1, profile2") and it works. Similarly, it is done in XML as well. All you … [Read more...] about Load Spring Beans Based On Different Profiles Via XML

« Previous Page
Next Page »

Primary Sidebar

Featured Posts

5 Best Inkjet Printers Under Rs. 15000 in India (Expert Review)

June 27, 2017 By Varun Shrivastava 15 Comments

Long Polling Implementation With Java and Spring Boot

May 14, 2020 By Varun Shrivastava 11 Comments

A Beginners Guide to Understand Collections in JAVA

September 9, 2016 By Varun Shrivastava 4 Comments

Getting Started With Spring Framework in less than 30 minutes

August 11, 2016 By Varun Shrivastava Leave a Comment

3 Best Laptops (Mid-Range) For Every Use Case In India

February 16, 2021 By Varun Shrivastava 1 Comment

Latest Posts

  • 5 Best Inkjet Printers Under Rs. 15000 in India (Expert Review)
  • Long Polling Implementation With Java and Spring Boot
  • A Beginners Guide to Understand Collections in JAVA
  • Getting Started With Spring Framework in less than 30 minutes
  • 3 Best Laptops (Mid-Range) For Every Use Case In India

Categories

  • Blogging (103)
  • Cooking (11)
  • Fashion (7)
  • Finance & Money (12)
  • Programming (51)
  • Reviews (4)
  • Technology (22)
  • Travelling (4)
  • Tutorials (12)
  • Web Hosting (8)
  • Wordpress N SEO (19)

Follow us on facebook

Follow us on facebook

Grab the Deal Now!

Hostgator Starting @$3.95/mo

DigitalOcean Free Credits

Trending

Affordable Hosting amazon aoc-2020 bad luck believe in yourself best database earn money blogging education experience fashion finance Financial Freedom food friends goals google india indian cuisine indian education system java javascript life life changing love make money microservices motivation oops poor education system principles of microservices problem-solving programmer programming reality search engines seo SSD Hosting success technology tips top 5 web web developer wordpress

Copyright © 2021 · BeMyAficionado by Varun Shrivastava · WordPress