Hi, I'm Shuying.
I am a software engineer. Here is the space of my own engineering notes, deep dives, and thoughts.
Latest posts
-
When does TLS termination happen in the backend?
Two places TLS can terminate in a backend, what the server code looks like in each, and why I default to the load balancer.
-
Writing My Own Coding Agent Part I - Streaming
Why I am building my own coding agent, and why streaming is where I started.
-
Connection pooling
Why opening a Postgres connection is more expensive than you think, and the three rungs of the pooling ladder — in-process, RDS Proxy, pgBouncer.
-
The JavaScript event loop: microtasks, macrotasks, and process.nextTick
Why a process.nextTick callback written after a setTimeout still runs first — and the priority hierarchy that explains it.
-
How does SSH work?
Who holds which key, what "signing a challenge" actually means, and why the intuition breaks for Ed25519.