System Design | Implementation Rule Book | CheatSheet

By Prithvi Atal, Engineer, Driving High-Performance Solutions

Sunday, January 8, 2023

Memory Issue: Step by step troubleshooting

›
 Quite often your application is going out of memory. Here is what you need to check the following: Review the memory configuration 1. -Xmx ...
Friday, December 30, 2022

Java Variable Naming best practices

›
Variable Ordering in a class. Constant first then private variables public> private static> non-static final> non-final injected...
Thursday, December 29, 2022

JSON to Java Cheat Notes

›
In this article we will talk about exposing java to Json serialization and how to instrument them   @JsonProperty( "fieldName" ) /...
Wednesday, December 14, 2022

Improving PostgreSQL Performance

›
 Optimize and Improve PostgreSQL Performance with VACUUM, ANALYZE, and REINDEX utility. VACUUM: -Reclaims storage occupied by dead tuples wi...
Sunday, December 4, 2022

SQL Identify Similar Records With More Info

›
 In this article we would be fetching similar records with lookup details. Consider a retailer needs to know similar order placed along with...
Wednesday, September 14, 2022

Https setup in Nginx

›
1.  Install the Nginx server and the required packages. apt-get update apt-get install nginx openssl 2. Create a private key and the website...
Tuesday, September 13, 2022

nGinx rewrite rules configuration

›
 The rewrite Directive rewrite regex URL [flag]; eg: rewrite ^ $request_uri; server {     # ...     rewrite ^(/download/.*)/media/(\w+)\.?.*...

Setting up secure custom domain in CloudFront

›
 ->Obtain an SSL Certificate within Certificate Manager.  Please note that this allows us to serve your content over https and is a servi...
Wednesday, August 31, 2022

How to decide the best database connection pooling library

›
What is the flow of  database connections in application?  Application asks the data source for a database connection.  Datasource uses the ...
Monday, August 15, 2022

Registering Angular Components

›
Registering a module angular . module ( 'myApp' , []) . controller ( 'MyController' , [ 'myService' , function ...
Sunday, June 26, 2022

Thumb-rule for instance Type selection on AWS

›
Instance Type/Series : Use cases T3/T4 [ Free trial]- Micro service, dev environment,,low CPU utilization and occasional periods for high CP...
Saturday, May 21, 2022

Database DevOps Toools

›
 For versioning and organizing your database changes there are vwaios devops tools available in market.  The most known ones are  Liquibase ...
Thursday, May 12, 2022

Open-source Library Rule Book

›
Opens-source Library : When to use What ? Chatbot - Apache Tensor Avoid DB Load: ehcache, Elastic Search Intelligence, running queries from ...
Friday, April 22, 2022

Securing Life With Refresh token

›
OAuth 2.0 uses Access Tokens and Refresh Tokens to secure access to applications and resources. Here is the flow: Obtaining OAuth 2.0 access...
Thursday, March 17, 2022

Troubleshooting Elastic Search Cluster

›
Problem: ES Update fails due to Index becomes readOnly Root cause: Elasticsearch automatically sets "read_only_allow_delete": ...
Monday, February 21, 2022

Code that speaks up

›
 Writing code which talks is something the developer would love to have it. In this blog, we will talk about some of the mechanism which mak...
Monday, February 7, 2022

Reliable Message Delivery with RabbitMQ

›
 In RabbitMQ, data safety is being handled by the below two mechanism:  I. Consumer Acknowledgements II.  Publisher confirms Consumer Acknow...
Friday, February 4, 2022

Docker cookbook

›
  docker --version   docker pull <image_name>   docker images  docker run -it -d <image_name>   docker ps  docker ps -a  docker ...
Thursday, February 3, 2022

›
 Runnable JDK 1.0  new Thread( () -> System.out.println("Runnable") ).start() Callbale Java 5 Callable callable = Executors.cal...
Monday, January 24, 2022

Locking : Best Practices

›
  Read Lock: Read lock allows multiple thread to acquire lock in read method when all the synchronizing threads are using only the read lock...
Friday, January 21, 2022

Storage Solutions EBS vs EFS vs S3

›
 AmazonEBS :   High-availability block-level storage volumes for Amazon Elastic Compute Cloud (EC2) instances.  - It is paired with an EC2 i...
Thursday, January 20, 2022

How to make Cross Domain Access

›
You can not allow xhr call to cross domain. Otherwise it would be very risky to allow third party script in your domain code. Here we will g...
Wednesday, January 19, 2022

Designing a Resilient Architecture

›
 Designing a resilient architecture can comprise of following paradigm: I. Does your application has retrial mechanism? II. Is there any mec...

MnagedBean using JMX API

›
 JMX specification supports the following types of Bean: Standard MBeans Dynamic MBeans Open MBeans Model MBeans MXBeans  Managing Resource ...

Controlling Spring Behaviour

›
While developing Spring based application there are instances where we would like to get a control of the spring beans. It comes very handy ...
Saturday, January 15, 2022

The Life with Plugins

›
 In today's world when the boilerplate code is readily available, write  minimum code and connect pluggable functionalities are the way ...
Friday, November 19, 2021

Moving Persistence layer to ES

›
If you are looking for faster reads and writes in the background Elastic search framework suits it best. You don't need to add any cachi...

Designing Caching Layers to speed up Page Load Time

›
  Go Through HAR report and identify the backend services consuming maximum time. Now  identify the bottlenecks and  explore how the respons...
Wednesday, November 17, 2021

Regex Cheat Sheet

›
1.  Matching a set of words :  Hello Brick, Brik data ,Brck -->. Bri?c?k.   More: ^   Start                             $ End            ...
‹
›
Home
View web version

About Me

Prithvi Atal
View my complete profile
Powered by Blogger.