Writing
12 posts
This article is written in Korean.
- Configuration Drift between Repository and Cluster, Exposed by a Domain Expiry
A release attempt ran into two months of branch conflicts, then the domain expired and took CI and the auth server down with it. Two days of migrating the domain and reconciling every place where the repo and the running cluster had drifted apart.
Code Place - Re-evaluating an AI Tutor with Production Payloads: Latency Effects of Prefix Caching and Response Quality under Load
Against the deployed prod vLLM, with the real hint payload. After swapping to Qwen3.6 I load-tested again, isolated how much of TTFT prefix cache buys by turning it on and off, and scored format compliance automatically.
Code Place - Egress Failure in a Container with Working DNS Resolution: An Analysis Focused on Docker Networking and NAT Rules
Only Google login failed with a server-configuration error. The cause was not callback registration but a container that could not reach the internet - it resolved DNS but could not connect. Narrowing through env, prisma, ufw, MTU, and docker0 vs the compose bridge to find a lost NAT rule, then clearing tangled iptables state with a clean reboot.
PNUAICMS - Self-closing Cell Handling in a Regex-based XLSX Parser: A Defect and Regression Analysis
The dashboard target lines vanished. The culprit was a commit I had made days earlier, "fixing" an off-by-one that was not one. Our regex xlsx reader absorbed a neighbor cell value through a self-closing empty tag, and the original code had been correct for exactly that reason.
PNUAICMS - Migrating Student Data from Cloud (Vercel/Supabase) to an On-premises Campus Server: Procedure, Failure Factors, and Verification
Moved a production CMS off the cloud (Vercel + Supabase) onto an on-campus server. The @ in the DB password, why the TLS cert would not issue (the campus firewall, not the server), self-hosted Auth.js UntrustedHost, and an OAuth client living in the wrong Google project.
PNUAICMS - Repeated Restarts from Health Probes and Image Release Skew: A Case Study of 398 Restarts of a Production Kubernetes Pod
Restarting 398 times while the app booted fine. Narrowing from kubectl logs → describe → replicaset → git → exec to find a health-check path deployed before the image that served it, and the CI run that skipped the image build but still shipped the manifest.
Code Place - Bidirectional Position Synchronization between a Markdown Editor and Its Rendered Preview: A Design Based on data-source-line and postMessage
To let non-developers write without learning Markdown, the left editor and the right preview had to edit each other both ways. The walls I hit building a bidirectional WYSIWYG, and how I got past them.
PNU-Modu - Design and Implementation of a Serverless Distributed Edit Lock (Soft Lock) Based on Git Commits
The GitHub Contents API has no file locking. Here is how I stopped concurrent editors from clobbering each other - no backend, no DB, just .locks commits and a heartbeat.
PNU-Modu - WAL Accumulation through Replication Slots and PostgreSQL Cluster Failure: Recovery and Data Loss in a CNPG/Longhorn Environment
WAL filled the disk and PostgreSQL would not start. A dead standby had pinned WAL through its replication slot, and my forced reboot pulled the trigger. The cluster came back through a layered recovery, but with no backups two weeks of data stayed lost and one course had to retake an exam.
Code Place - Serving Optimization for a Local-LLM AI Tutor: Migrating from Ollama to vLLM and Analyzing Concurrent Load
From codellama to Qwen3.6, from Ollama to vLLM. Measuring every step with Locust to make a local-LLM AI tutor answer within 3 seconds - and the model decisions along the way.
Code Place - Failure-tolerant Design for LLM-based Emotion Analysis: Multi-stage Response Parsing and Keyword Fallback
Emotion analysis with GPT-4o mini was the core of the app. But the client failed to init, and asking for JSON did not guarantee JSON. How I stopped treating an LLM response as reliable infrastructure.
SimLog - Access Control for Link-based Sharing: Sharing Journal Summaries with Hashed Tokens and Point-in-time Snapshots
I had to hand a struggling user’s 7-day journal to a counselor who has no app account - so the link itself became the credential. Storing only a token hash and freezing the data into a snapshot.
SimLog