---
title: "Ashok kumar (@ashok01) | Hashnode"
description: "Developer. Read the latest articles by Ashok kumar on Hashnode."
url: "https://hashnode.com/@ashok01"
---

@ashok01

# Ashok kumar

@ashok01 · India · Joined February 2024

Developer

### [Why O(n) Was Slower Than O(n log n) - And It Broke Everything I Thought I Knew About Time Complexity](https://ashok-gupta.hashnode.dev/why-o-n-was-slower-than-o-n-log-n-and-it-broke-everything-i-thought-i-knew-about-time-complexity?utm_source=hashnode&utm_medium=feed)

so today i encountered a pretty standard DSA question - find the common elements between two arrays.

8 min read · [ashok-gupta.hashnode.dev](https://ashok-gupta.hashnode.dev/why-o-n-was-slower-than-o-n-log-n-and-it-broke-everything-i-thought-i-knew-about-time-complexity?utm_source=hashnode&utm_medium=feed)

[Mar 20](https://hashnode.com/posts/why-o-n-was-slower-than-o-n-log-n-and-it-broke-everything-i-thought-i-knew-about-time-complexity/69bd6307475ca179740745ca)

### [How a "Small Experiment" Took Down Our Entire Production — And What It Taught Me About How PostgreSQL Actually Works](https://devops-ashok.hashnode.dev/how-a-small-experiment-took-down-our-entire-production-and-what-it-taught-me-about-how-postgresql-actually-works?utm_source=hashnode&utm_medium=feed)

The Incident: 90 Minutes of Complete Downtime

17 min read · [devops-ashok.hashnode.dev](https://devops-ashok.hashnode.dev/how-a-small-experiment-took-down-our-entire-production-and-what-it-taught-me-about-how-postgresql-actually-works?utm_source=hashnode&utm_medium=feed)

[Feb 16](https://hashnode.com/posts/how-a-small-experiment-took-down-our-entire-production-and-what-it-taught-me-about-how-postgresql-actually-works/6992ce827b84de3da6c096d2)

### [How We Slashed Our Next.js Docker Image Size by 35% (And Cut Build Time in Half)](https://devops-ashok.hashnode.dev/how-we-slashed-our-nextjs-docker-image-size-by-35-and-cut-build-time-in-half?utm_source=hashnode&utm_medium=feed)

Cut our Next.js Docker image from 3.4GB to 2.2GB and reduced build time by 50%. Learn the exact Alpine Linux and npm optimization tricks we used.

5 min read · [devops-ashok.hashnode.dev](https://devops-ashok.hashnode.dev/how-we-slashed-our-nextjs-docker-image-size-by-35-and-cut-build-time-in-half?utm_source=hashnode&utm_medium=feed)

[Feb 12](https://hashnode.com/posts/how-we-slashed-our-nextjs-docker-image-size-by-35-and-cut-build-time-in-half/698dd5c497287065803a1dd9)

### [Deploying to EC2 Servers Using Jenkins and Ansible Locally](https://devops-ashok.hashnode.dev/deploying-to-ec2-servers-using-jenkins-and-ansible-locally?utm_source=hashnode&utm_medium=feed)

In this blog, we'll walk through deploying code to EC2 servers using Jenkins and Ansible running locally. This is a practical approach that keeps your

5 min read · [devops-ashok.hashnode.dev](https://devops-ashok.hashnode.dev/deploying-to-ec2-servers-using-jenkins-and-ansible-locally?utm_source=hashnode&utm_medium=feed)

[Jan 30](https://hashnode.com/posts/deploying-to-ec2-servers-using-jenkins-and-ansible-locally/697c9d8501e09177911240ee)

### [Deploying Your First Spring Boot App on AWS EC2 using Tomcat](https://devops-ashok.hashnode.dev/deploying-spring-boot-app?utm_source=hashnode&utm_medium=feed)

In this tutorial, we'll be deploying our first app on a raw VM. For this example, I'm using an AWS EC2 instance so I don't have to deal with dependenc

3 min read · [devops-ashok.hashnode.dev](https://devops-ashok.hashnode.dev/deploying-spring-boot-app?utm_source=hashnode&utm_medium=feed)

[Jan 23](https://hashnode.com/posts/deploying-spring-boot-app/6973592629bff8cb1a276b93)
