---
title: "Tejasvi S Jain (@tejasvisjain) | Hashnode"
description: "Learning by building. Read the latest articles by Tejasvi S Jain on Hashnode."
url: "https://hashnode.com/@tejasvisjain"
---

@tejasvisjain

# Tejasvi S Jain

@tejasvisjain · Joined December 2023

Learning by building

[Website](https://portfolio-website-hia5qhsq5-tejasvisjain.vercel.app/)

### [How the Heck? Do You Count Clicks Without Slowing the Redirect (Kafka)](https://tejasvisjain.hashnode.dev/how-the-heck-do-you-count-clicks-without-slowing-the-redirect-kafka?utm_source=hashnode&utm_medium=feed)

Part 5 — the finale of the "How the heck?" series. Part 4 gave us a replicated Postgres tier behind Pgpool. The last box: click analytics that never slow the redirect down. Part 5 — Async click analy

12 min read · [tejasvisjain.hashnode.dev](https://tejasvisjain.hashnode.dev/how-the-heck-do-you-count-clicks-without-slowing-the-redirect-kafka?utm_source=hashnode&utm_medium=feed)

[Jun 16](https://hashnode.com/posts/how-the-heck-do-you-count-clicks-without-slowing-the-redirect-kafka/6a310d637534e7a25b2adf89)

### [How the Heck? Do Read Replicas Actually Work (Postgres + Pgpool)](https://tejasvisjain.hashnode.dev/how-the-heck-do-read-replicas-actually-work-postgres-pgpool?utm_source=hashnode&utm_medium=feed)

Part 4 of the "How the heck?" series. Part 3 put nginx in front of two stateless app instances. The database is still a single node — both a read bottleneck and a single point of failure. Let's fix th

7 min read · [tejasvisjain.hashnode.dev](https://tejasvisjain.hashnode.dev/how-the-heck-do-read-replicas-actually-work-postgres-pgpool?utm_source=hashnode&utm_medium=feed)

[Jun 16](https://hashnode.com/posts/how-the-heck-do-read-replicas-actually-work-postgres-pgpool/6a310d2cafd1f3c31602c375)

### [How the Heck? Does One nginx Balance Two App Instances](https://tejasvisjain.hashnode.dev/how-the-heck-does-one-nginx-balance-two-app-instances?utm_source=hashnode&utm_medium=feed)

Part 3 of the "How the heck?" series. By the end of Part 2 we had a working single-node shortener (create + redirect) backed by Postgres. Now we containerize the whole thing and scale the app tier beh

6 min read · [tejasvisjain.hashnode.dev](https://tejasvisjain.hashnode.dev/how-the-heck-does-one-nginx-balance-two-app-instances?utm_source=hashnode&utm_medium=feed)

[Jun 16](https://hashnode.com/posts/how-the-heck-does-one-nginx-balance-two-app-instances/6a310cfeafd1f3c31602c2a8)

### [How the Heck? Do You Go From Empty Folder to Working Shortener (Spring Boot + Postgres)](https://tejasvisjain.hashnode.dev/how-the-heck-do-you-go-from-empty-folder-to-working-shortener-spring-boot-postgres?utm_source=hashnode&utm_medium=feed)

Part 2 of the "How the heck?" series, where I build the URL shortener everyone designs in interviews — by hand, the slow way. In Part 1 I derived the architecture (load balancer → stateless app tier →

16 min read · [tejasvisjain.hashnode.dev](https://tejasvisjain.hashnode.dev/how-the-heck-do-you-go-from-empty-folder-to-working-shortener-spring-boot-postgres?utm_source=hashnode&utm_medium=feed)

[Jun 16](https://hashnode.com/posts/how-the-heck-do-you-go-from-empty-folder-to-working-shortener-spring-boot-postgres/6a310cb009a2a3cb63355774)

### [How the heck ? do you actually build the URL shortener everyone designs?](https://tejasvisjain.hashnode.dev/how-the-heck-do-you-actually-build-the-url-shortener-everyone-designs?utm_source=hashnode&utm_medium=feed)

the slow way, on purpose

6 min read · [tejasvisjain.hashnode.dev](https://tejasvisjain.hashnode.dev/how-the-heck-do-you-actually-build-the-url-shortener-everyone-designs?utm_source=hashnode&utm_medium=feed)

[Jun 16](https://hashnode.com/posts/how-the-heck-do-you-actually-build-the-url-shortener-everyone-designs/6a310bf9b81d372bb75d49b7)
