Linux SYN and Accept Queues
This lecture explains how Linux uses SYN and accept queues per listening socket during the TCP handshake, and how multiple server processes share the same socket and queues.
Session vs JWT Auth
Notes comparing session-based and JWT authentication, with a look at pros and cons.
Journey of a Request to Backend
A simple overview of the path a web request takes from the frontend to the backend server, including key stages and hidden costs.
Journey of a Backend Request
Personal notes to my future self on what really happens when a request travels from the frontend through the kernel to the backend.
Notes on Designing Software
My personal notes on a blog I read about software design. The author explained why writing design documents can be more powerful than just code, diagrams, or slides.
How ChatGPT Uses SSE Internally
The lecture explored how ChatGPT uses **Server-Sent Events** (SSE) and modern HTTP protocols (HTTP/2, HTTP/3) to stream responses and manage conversation state. *It covers key details like message IDs linking conversation context, short-lived tokens and pagination, and even a fun demo of two ChatGPT instances talking to each other.*
Understanding Layer 4 vs Layer 7 WebSocket Proxying
Explains how WebSocket connections are handled by proxies at Layer 4 (TCP) vs Layer 7 (HTTP), summarizing a lecture.
When Should You Use Threads in Programming?
Understanding the right time to use threads in your applications: IO blocking, CPU-bound tasks, and handling large volumes of small jobs.
119 post articles, 15 pages.