Sreenivas Bttv Logo
  • Blog

© 2026 Bttvs. All rights reserved.

Built with ❤️ by Decoupled Drupal with Next.js

Blog Posts.

OpenAPI Schema sync with Frontend Using Zod

April 15, 2026

Stop Schema Drift - The Easy Way to Sync Your backend openAPI and React Frontend with Zod

Sync frontend and backend using Zod and OpenAPI. A practical approach to avoid schema drift with TypeScript, enums, and automated builds.
Read article
PostgresSQL Performance Tuning

February 12, 2026

My PostgreSQL Wake-Up Call: A 50ms Query Turned Into 30 Seconds

Learn why PostgreSQL queries suddenly slow down in production, covering vacuum, bloat, locks, and real debugging steps from an actual incident.
Read article
What you believe, shapes more than you think

January 7, 2026

What You Believe… Shapes More Than You Think

Beliefs shape your actions, limits, and opportunities. Question where they come from, who benefits from them, and challenge one limiting belief to unlock growth and new possibilities.
Read article
Fix docker disk space issues caused by log files

July 1, 2025

How to Fix Docker Disk Space Issues Caused by Log Files

Docker logs can grow endlessly and quickly fill up your disk. We fixed this by enabling log rotation with size limits using Docker's json-file options. This keeps logs manageable and improves system stability. Learn how to apply this simple fix and avoid future disk issues.
Read article
JavaScript Event Loop - Call Stack - Async

December 8, 2024

JavaScript Under the Hood: Mastering the Event Loop, Call Stack, and Async Magic

JavaScript is a single-threaded language; however, it can handle multiple tasks simultaneously, such as animations, element/button clicks, API responses, and more. This is possible through the Event Loop, aided by the Call Stack, Web APIs and the callback queue.
Read article
Sequential vs Concurrent Execution

October 18, 2024

Writing Faster JavaScript with Async/Await: Sequential vs Concurrent Execution Explained

Learn the difference between sequential, concurrent, and parallel execution using async/await in JavaScript. Explore examples, performance tips, and when to use Promise.all to speed up your code—no worker threads required.
Read article
Recursive SetTimeout smarter than setInterval

October 5, 2024

Why Recursive setTimeout is Smarter Than setInterval

When working with timed functions in JavaScript, developers often turn to setInterval() as their main option. However, there is a more controlled and reliable method that doesn’t receive enough focus: recursive setTimeout().
Read article