System Design / Cloud / Code

Engineering thoughts,
written in code.

Real-world system design, backend patterns, and practical guides for engineers who build at scale.

Browse all posts
Filter
01
Jenkins Pipeline with Jenkinsfile - How To Schedule Job on Cron and Not on Code Commit
jenkins

Jenkins Pipeline with Jenkinsfile - How To Schedule Job on Cron and Not on Code Commit

How to create Jenkins pipeline using Jenkinsfile, and schedule job on cron schedule, not on code commit.

02
Jenkins Pipeline - How to run Automation on Different Environment (Dev/Stage/Prod), with Credentials
jenkins

Jenkins Pipeline - How to run Automation on Different Environment (Dev/Stage/Prod), with Credentials

How to run Automation on Different Environment (Dev/Stage/Prod) by Jenkinsfile and Overriding Environment Variables. Also taking credentials.

03
How to Git Clone Another Repository from Jenkin Pipeline in Jenkinsfile
jenkins

How to Git Clone Another Repository from Jenkin Pipeline in Jenkinsfile

Learn how to Git Clone Another Repository from Jenkin Pipeline in Jenkinsfile.

04
How to Fetch Multiple Credentials and Expose them in Environment using Jenkinsfile pipeline
jenkins

How to Fetch Multiple Credentials and Expose them in Environment using Jenkinsfile pipeline

Learn how to Fetch Multiple Credentials and Expose them in Environment using Jenkinsfile pipeline

05
Jenkinsfile - How to Create UI Form Text fields, Drop-down and Run for Different Conditions
jenkins

Jenkinsfile - How to Create UI Form Text fields, Drop-down and Run for Different Conditions

How to Create UI Form Text fields, Drop-down and Run for Different Conditions or different environments

06
Java Log4j Logger - Programmatically Initialize JSON logger with customized keys in json logs
java

Java Log4j Logger - Programmatically Initialize JSON logger with customized keys in json logs

Java log4j has many ways to initialize and append the desired layout. In this post, I will create a custom logger, with…

07
Kubernetes - How to Solve Gateway Timeout with Http Statuscode Error 504
kubernetes

Kubernetes - How to Solve Gateway Timeout with Http Statuscode Error 504

You have a running kubernetes setup, and have a webservice (exposed via Ingress) which is running well. But, for few requests…

08
How To Create Admin Subdomain In Cloudflare with Nginx Proxy using Docker with SSL
tutorials

How To Create Admin Subdomain In Cloudflare with Nginx Proxy using Docker with SSL

I have my main website, which I run on Lets say: . Now, there is my admin panel, or admin-ui which is a separate deployable…

09
Why Exponential Backoff in Rabbitmq or In Event-Driven Systems
software-design

Why Exponential Backoff in Rabbitmq or In Event-Driven Systems

Learn Why it is important to implement Exponential Backoff in Rabbitmq or In Event-Driven Systems

10
How to Implement Exponential Backoff in Rabbitmq Using AMQP in Node.js
software-design

How to Implement Exponential Backoff in Rabbitmq Using AMQP in Node.js

Learn how to implement exponential backoff in rabbitmq by using amqp in node.js

11
Python SMTP Email Code - How to Send HTML Email from Python Code with Authentication at SMTP Server
python

Python SMTP Email Code - How to Send HTML Email from Python Code with Authentication at SMTP Server

Learn how to send HTML Email from Python Code with Authentication at SMTP server end.

12
Python SMTP Email Code - Sender Address Rejected - Not Owned By User
issues

Python SMTP Email Code - Sender Address Rejected - Not Owned By User

In Python code to send email, we encounter error as Sender Address Rejected Not Owned By User. See, how we to solve this error.

13
Nodejs with MongoDB - Number of Opened Connections Keep on Increasing with Mongoose Library
mongodb

Nodejs with MongoDB - Number of Opened Connections Keep on Increasing with Mongoose Library

While connecting to MongoDB from Nodejs code with Mongoose, the number of connections keep on increasing on MongoDB. They needs to be explicitly closed.

14
Django Python - How to Build Docker Image and Run Web-service on Apache with Python 3.9
python

Django Python - How to Build Docker Image and Run Web-service on Apache with Python 3.9

Learn how to build docker image for Django project and run it on Apache with Python 3.9

15
Python - How to Maintain Quality Build Process Using Pylint and Unittest Coverage With Minimum Threshold Values
python

Python - How to Maintain Quality Build Process Using Pylint and Unittest Coverage With Minimum Threshold Values

It is very important to introduce few process so that your code and build maintain its quality. In Python projects, two of best…

16
Example Jenkin Groovy Pipeline Script for Building Python Projects with Git Events and Push to Artifactory
jenkins

Example Jenkin Groovy Pipeline Script for Building Python Projects with Git Events and Push to Artifactory

Example of a Jenkin Groovy Pipeline Script for Building Python Projects with Git Events and Push to Artifactory after building it.

17
Python - How to Implement Timed-Function which gets Timeout After Specified Max Timeout Value
python

Python - How to Implement Timed-Function which gets Timeout After Specified Max Timeout Value

How to implement timed-function in python which gets timeout after specified maximum timeout value.

18
Kubernetes - How to Set Namespace So You Do Not Need to Mention it Again and Again in Kubectl Commands.
kubernetes

Kubernetes - How to Set Namespace So You Do Not Need to Mention it Again and Again in Kubectl Commands.

In some of the cases, we need to specify namespace name along with commands. Example of command with namespace: Its very…

19
Kubernetes - How to Configure Docker Repository to Pull Image and Configure Secret
kubernetes

Kubernetes - How to Configure Docker Repository to Pull Image and Configure Secret

In most of cases, you are not pulling images from docker hub public repository. You might have your private registry or…

20
How to Solve Spring Okta/Saml issue of SAML message intended destination endpoint did not match the recipient endpoint
spring

How to Solve Spring Okta/Saml issue of SAML message intended destination endpoint did not match the recipient endpoint

I was trying to integrate Okta with Spring, and when I deploy the code. I got following error: And, the error mentioned the two…

21
How to Copy Local Docker Image to Another Host Without Repository and Load
docker

How to Copy Local Docker Image to Another Host Without Repository and Load

Consider a scenario where you are building a docker image on your local machine and want to run it on another environment or…

22
How to Solve Circular Import Error in Python
python

How to Solve Circular Import Error in Python

To give some context, I have two python files. (Both in same folder - jira_wrapper) jira_client.py (have a class JiraClient…

23
Cyberark Rest API Certificate based Authentication - Curl Command to Fetch Credentials
security

Cyberark Rest API Certificate based Authentication - Curl Command to Fetch Credentials

Curl command to fetch credentials from Cyberark with certificate based authentication

24
Nextjs - Fixing Loading External Images and Issue of Url Paramater Not Allowed
javascript

Nextjs - Fixing Loading External Images and Issue of Url Paramater Not Allowed

Fixing loading external images and see how to fix the issue of url parameter not allowed when you load the images

25
Request Entity Too Large(413) - Uploading File with Formdata with Axios and Custom header
javascript

Request Entity Too Large(413) - Uploading File with Formdata with Axios and Custom header

Solving issue of request entity too large issue (http status 413) when uploading file with Axios in Next.js or any javascript code.

26
Spring - Learn Multiple Ways to use PackageScan Annotation
spring

Spring - Learn Multiple Ways to use PackageScan Annotation

Learn multiple ways to use @PackageScan annotation to discover beans

27
Paypal Payment Issue While Validating Payment - Access Denied
php

Paypal Payment Issue While Validating Payment - Access Denied

Fixing Paypal payment access denied issue while validating payment transaction.

28
Spring Boot - Fixing Autowire Bean Not found
spring

Spring Boot - Fixing Autowire Bean Not found

Fixing Autowire Bean not found in Spring boot, and application failed to start.

29
Drupal Mysql Query to Fetch User Field Details and its Alias
drupal

Drupal Mysql Query to Fetch User Field Details and its Alias

Drupal mysql query to fetch user and its field details like full-name, address and fetch its alias.

30
Drupal DB Query Code to Fetch Active Users and Accessed Website Within last One Year
drupal

Drupal DB Query Code to Fetch Active Users and Accessed Website Within last One Year

Drupal Code to fetch active users and who accessed the website within last one year.

31
Drupal Code to run Database Query to Fetch Active User Details, Count, Pagination
drupal

Drupal Code to run Database Query to Fetch Active User Details, Count, Pagination

Drupal Code to run database query to Fetch Active User Details, Count, Pagination, Write JSON to File

32
Understanding Zero-day Exploit of Log4j Security Vulnerability and Solution (CVE-2021-44228, CVE-2021-45046)
security

Understanding Zero-day Exploit of Log4j Security Vulnerability and Solution (CVE-2021-44228, CVE-2021-45046)

Understanding Zero-day Exploit of Java maven library Log4j, and look at its impact and solution.

33
How to Deploy Strapi with Next.js Frontend with Nginx Proxy and URL Redirect with Docker
strapi

How to Deploy Strapi with Next.js Frontend with Nginx Proxy and URL Redirect with Docker

Learn how to deploy strapi webapp with next.js frontend with Nginx proxy and URL redirect with docker.