Skip to content
Menu
Portrait of Do Trong Khanh

Hello, folks! waving hand

Do Trong Khanh · Software Engineer at Spartan

Fullstack engineer with a passion for JavaScript/TypeScript. I write about NestJS, databases and the problems that show up when applications grow, to practise my skills and share what I learn.

I'm aliased as Karhdo at work.

Now playing

Token burn , Claude Code · ICT

tokens today

models –

– this month · – all-time

Latest post

How to Prevent Overbooking in SQL with Multiple Methods

In any application involving booking hotel rooms, flight seats, or similar resources, data integrity is crucial to ensure multiple users can’t “claim” the same slot concurrently.

5 min readdatabase

Daily stack, 14 tools

  • TypeScript
  • NestJS
  • React
  • Node.js
  • Next.js
  • Astro
  • PostgreSQL
  • Bun
  • Tailwind CSS
  • Drizzle
  • RabbitMQ
  • Docker
  • Vue.js
  • Redis

Now learning Astro & Bun by rebuilding this site

GitHub · @Karhdo

contributions
day streak
public repos

Blog stats · 30 days

Selected projects

All 5 projects →
karhdo.dev
The karhdo.dev blog home page

SideOpen source78 GitHub stars

karhdo.dev

This site. v2 moves from Next.js to Astro with Bun, Tailwind v4, Drizzle and view transitions.

  • Astro
  • Bun
  • Tailwind
  • Drizzle
github.com/Karhdo/geometry-simulation
A wireframe sphere casting a shadow on a 3D grid, with camera and light controls

Side3D on the web

Simulate Basic Geometry

Explore the World of Basic 3D Modeling Simulations on Our Website.

  • Javascript
  • Jquery
  • ThreeJS

Recent posts

  1. How to Prevent Overbooking in SQL with Multiple Methods

    In any application involving booking hotel rooms, flight seats, or similar resources, data integrity is crucial to ensure multiple users can’t “claim” the same slot concurrently.

    database
    5 min read
  2. Exploring module in NestJS

    Modules are crucial components at the center of NestJS. In this post, we will take a closer look at what modules are in NestJS.

    nestjstypescriptjavascriptdesign-patterns
    6 min read
  3. Problems when the application develops at medium and large levels

    From medium to large-scale applications, challenges like architecture maintenance and scalability hinder progress.

    applicationdesign-patterns
    2 min read

Popular tags feature the most widely favored topics.