{"@attributes":{"version":"2.0"},"channel":{"title":"pythonstrup","description":"pythonstrup \u2014 notes from a journey of growing one step at a time.","link":"https:\/\/pythonstrup.com\/","language":"en","item":[{"title":"How Agents Use the Web - The Agentic Web and Its Protocols","link":"https:\/\/pythonstrup.com\/blog\/agentic-web\/","guid":"https:\/\/pythonstrup.com\/blog\/agentic-web\/","description":"The agentic web is not one protocol but a shift toward a web agents can use. From screenshot-driven browser agents to llms.txt, NLWeb, MCP, WebMCP, and A2A.","pubDate":"Sun, 29 Nov 2026 13:00:00 GMT","category":["agentic-web","ai-agent","webmcp","mcp"]},{"title":"Relearning AWS Networking from Scratch - VPC, Subnets, ENI","link":"https:\/\/pythonstrup.com\/blog\/aws-vpc-subnet-eni\/","guid":"https:\/\/pythonstrup.com\/blog\/aws-vpc-subnet-eni\/","description":"What VPCs, subnets, route tables, NAT, VPC endpoints, security groups, and ENIs are, and which path a packet takes on its way out.","pubDate":"Mon, 16 Nov 2026 12:00:00 GMT","category":["aws","vpc","subnet","eni","nat","eks"]},{"title":"What Happens Inside an OCR API Call - OCR Fundamentals for Backend Developers","link":"https:\/\/pythonstrup.com\/blog\/how-ocr-works\/","guid":"https:\/\/pythonstrup.com\/blog\/how-ocr-works\/","description":"OCR finds text, then reads it. From classic pipelines to deep learning, masking a contract with CLOVA OCR before a VLM, and how a VLM differs from OCR.","pubDate":"Tue, 27 Oct 2026 12:00:00 GMT","category":["ocr","clova","vlm","llm"]},{"title":"LLM API Gateway: OpenRouter, LiteLLM, and Cloudflare","link":"https:\/\/pythonstrup.com\/blog\/llm-gateway\/","guid":"https:\/\/pythonstrup.com\/blog\/llm-gateway\/","description":"An LLM API gateway puts OpenAI, Anthropic, and Gemini calls in one place. Compare OpenRouter, LiteLLM, and Cloudflare on latency, fallback, cache, and budgets.","pubDate":"Mon, 19 Oct 2026 11:15:00 GMT","category":["llm","llm-gateway","openrouter","litellm","cloudflare"]},{"title":"Stopping Concurrent Double Bookings - PostgreSQL EXCLUDE Constraints","link":"https:\/\/pythonstrup.com\/blog\/exclusion-constraint-booking\/","guid":"https:\/\/pythonstrup.com\/blog\/exclusion-constraint-booking\/","description":"Overlapping bookings for one room arrive together. A PostgreSQL EXCLUDE constraint accepts only one. How to declare it, and how it works.","pubDate":"Sun, 18 Oct 2026 09:00:00 GMT","category":["postgresql","concurrency","transaction","exclusion-constraint"]},{"title":"When AI Caching Pays Off","link":"https:\/\/pythonstrup.com\/blog\/llm-prompt-caching\/","guid":"https:\/\/pythonstrup.com\/blog\/llm-prompt-caching\/","description":"An AI API cache hit reuses input-prefix KV, not a stored answer. Which requests hit, the break-even rate after write cost, and agent versus chatbot logs.","pubDate":"Tue, 29 Sep 2026 13:00:00 GMT","category":["llm","prompt-caching","claude","agent","litellm","bedrock"]},{"title":"Monitoring a LiteLLM Proxy - What the Admin UI Covers, and What Only Grafana and Langfuse Show","link":"https:\/\/pythonstrup.com\/blog\/litellm-proxy-monitoring\/","guid":"https:\/\/pythonstrup.com\/blog\/litellm-proxy-monitoring\/","description":"Prometheus, Grafana, and Langfuse on a LiteLLM proxy, same mock traffic for 14 minutes. What the Admin UI shows, and when to add the other two.","pubDate":"Tue, 15 Sep 2026 12:00:00 GMT","category":["litellm","llm","observability","grafana","prometheus","langfuse"]},{"title":"How to Serve Private Assets - Proxy, presigned URL, CloudFront, WAF","link":"https:\/\/pythonstrup.com\/blog\/serving-private-assets\/","guid":"https:\/\/pythonstrup.com\/blog\/serving-private-assets\/","description":"Private files in the browser: proxy, presigned URL, CloudFront signed URL, and OAC with WAF, compared by who checks access. A 200MB file tests the proxy myth.","pubDate":"Mon, 07 Sep 2026 12:00:00 GMT","category":["s3","cloudfront","presigned-url","streaming","aws"]},{"title":"Querying S3 without Parquet","link":"https:\/\/pythonstrup.com\/blog\/querying-s3-without-parquet\/","guid":"https:\/\/pythonstrup.com\/blog\/querying-s3-without-parquet\/","description":"Can JSONL on S3 be queried without Parquet? Range search, a B-tree, and an LSM tree, timed on a real bucket. It works. Parquet still wins on upkeep.","pubDate":"Mon, 24 Aug 2026 12:00:00 GMT","category":["parquet","jsonl","s3","b-tree","lsm"]},{"title":"Dissecting Parquet","link":"https:\/\/pythonstrup.com\/blog\/dissecting-parquet\/","guid":"https:\/\/pythonstrup.com\/blog\/dissecting-parquet\/","description":"Inside a Parquet file: columns, row groups, pages, and the footer. Animations of min\/max and Bloom filters pruning groups, then Range fetching the slices.","pubDate":"Sat, 22 Aug 2026 12:00:00 GMT","category":["parquet","s3","bloom filter"]},{"title":"Running a Notification System with BullMQ, Part 5 - The Queue Guarantees No Order: Concurrency in Group Sends","link":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-5-queue-order\/","guid":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-5-queue-order\/","description":"Grouping 10,000+ notifications makes chunk jobs finish out of order. waiting-children keeps one group and one send; invariants check the five races closed.","pubDate":"Thu, 20 Aug 2026 12:00:00 GMT","category":["BullMQ","waiting-children","architecture","concurrency","redis"]},{"title":"Running a Notification System with BullMQ, Part 4 - How to Read the History You Stored","link":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-4-reading-history\/","guid":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-4-reading-history\/","description":"Delivery-history JSON in S3 is hard to query. Four options on infrastructure, query cost, and freshness, and why nightly Parquet conversion won.","pubDate":"Thu, 13 Aug 2026 12:00:00 GMT","category":["BullMQ","parquet","aws","architecture","s3","duckdb","athena"]},{"title":"MCP Servers Were Eating 6.7GB of My RAM, So I Built a Proxy","link":"https:\/\/pythonstrup.com\/blog\/mcp-proxy-memory\/","guid":"https:\/\/pythonstrup.com\/blog\/mcp-proxy-memory\/","description":"Per-session stdio MCP servers reached 169 processes and 6.7GB. A proxy shares one process, then asks whether these servers still need to be MCP.","pubDate":"Wed, 12 Aug 2026 12:00:00 GMT","category":["mcp","claude","llm"]},{"title":"Passwordless DB Access and Least Privilege - IRSA, rds_iam, ALTER DEFAULT PRIVILEGES","link":"https:\/\/pythonstrup.com\/blog\/passwordless-db-access-least-privilege\/","guid":"https:\/\/pythonstrup.com\/blog\/passwordless-db-access-least-privilege\/","description":"A Kubernetes pod connects to a database with no password via IRSA and rds_iam. The account stays least privilege with a separate owner and default privileges.","pubDate":"Thu, 06 Aug 2026 13:00:00 GMT","category":["postgresql","kubernetes","security","aws","IRSA","rds_iam"]},{"title":"Running a Notification System with BullMQ, Part 3 - Where to Store Delivery History","link":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-3-delivery-history\/","guid":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-3-delivery-history\/","description":"Where should delivery history live? The trade-offs weighed across a dedicated relational DB, a serial S3 pipeline, SNS fan-out, and a Firehose route.","pubDate":"Sat, 25 Jul 2026 12:00:00 GMT","category":["BullMQ","nodejs","aws","architecture","s3"]},{"title":"Running a Notification System with BullMQ, Part 2 - Rate Limits and the Design They Forced","link":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-2-rate-limit\/","guid":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-2-rate-limit\/","description":"Quota was 100 messages per 5 seconds, average 20 req\/s, yet 429s still fired. Misaligned fixed windows and a shared account forced a new sending path.","pubDate":"Mon, 20 Jul 2026 12:00:00 GMT","category":["BullMQ","nodejs","redis","typescript","rate limit"]},{"title":"Recompute, Don\u2019t Increment: Updating Review Statistics with RabbitMQ","link":"https:\/\/pythonstrup.com\/blog\/recompute-dont-increment-rabbitmq\/","guid":"https:\/\/pythonstrup.com\/blog\/recompute-dont-increment-rabbitmq\/","description":"Statistics are recomputed when each RabbitMQ event arrives, not incremented in the review write. Duplicates do not stack, but some message-loss windows remain.","pubDate":"Fri, 17 Jul 2026 12:25:00 GMT","category":["Kotlin","Spring","RabbitMQ","message queue","idempotency"]},{"title":"Operating a Notification System with BullMQ, Part 1: What Is BullMQ?","link":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-1-what-is-bullmq\/","guid":"https:\/\/pythonstrup.com\/blog\/bullmq-notification-part-1-what-is-bullmq\/","description":"Sending AlimTalk, email, and push as HTTP calls hits limits fast. Why BullMQ takes on rate limits, scheduling, and delivery history.","pubDate":"Mon, 18 May 2026 14:35:46 GMT","category":["BullMQ","nodejs","redis","typescript"]},{"title":"Why Kubernetes Kills My Pod: Health Probes","link":"https:\/\/pythonstrup.com\/blog\/why-kubernetes-kills-my-pod-health-probes\/","guid":"https:\/\/pythonstrup.com\/blog\/why-kubernetes-kills-my-pod-health-probes\/","description":"Kubernetes judges a Pod with liveness and readiness probes: when each restarts a container or holds back traffic, Spring and NestJS setup, and pitfalls.","pubDate":"Tue, 17 Mar 2026 15:08:15 GMT","category":["Health Check","k8s","kubernetes","terminus","nestjs","redis"]},{"title":"2025 Retrospective","link":"https:\/\/pythonstrup.com\/blog\/2025-retrospective\/","guid":"https:\/\/pythonstrup.com\/blog\/2025-retrospective\/","description":"Clean code, refactoring, TDD, and DDD felt like enough. The AI era showed that writing code well no longer creates irreplaceable value. A 2025 retrospective.","pubDate":"Tue, 17 Feb 2026 05:20:34 GMT","category":["2025","developer","goals","retrospective"]},{"title":"Reducing CDN Costs with Browser Caching","link":"https:\/\/pythonstrup.com\/blog\/reduce-cdn-cost-browser-cache\/","guid":"https:\/\/pythonstrup.com\/blog\/reduce-cdn-cost-browser-cache\/","description":"Browser cache settings alone cut more than a million won a year of CDN cost. How a CDN works, and which Cache-Control header keeps responses in the browser.","pubDate":"Sat, 22 Nov 2025 09:05:57 GMT","category":["Cache-Control","CDN","ncloud","browser cache"]},{"title":"A Ticketing System That Can Theoretically Handle 100,000 QPS","link":"https:\/\/pythonstrup.com\/blog\/ticketing-system-100k-qps\/","guid":"https:\/\/pythonstrup.com\/blog\/ticketing-system-100k-qps\/","description":"The first 1,000 tickets go through a web app behind a distributed lock. Does that lock actually keep concurrency under control when the rush hits?","pubDate":"Wed, 05 Nov 2025 13:04:44 GMT","category":["java","redis","Spring","concurrency control"]},{"title":"Setting Up NestJS to Fit Your Preferences","link":"https:\/\/pythonstrup.com\/blog\/nestjs-initial-setup\/","guid":"https:\/\/pythonstrup.com\/blog\/nestjs-initial-setup\/","description":"\"NestJS boilerplate\" code is hard to read, and you may not need all of it. Build your own setup: tooling, paths, config, logging, errors, and health checks.","pubDate":"Sun, 26 Oct 2025 06:22:53 GMT","category":["Backend","javascript","nest","nestjs","nvm","tsconfig","typescript"]},{"title":"Separating Concurrency Control Code with AOP","link":"https:\/\/pythonstrup.com\/blog\/concurrency-control-aop\/","guid":"https:\/\/pythonstrup.com\/blog\/concurrency-control-aop\/","description":"Spring AOP pulls distributed-lock code out of business logic. A DistributedLock aspect modeled on @Transactional, with a SpEL key evaluator like Spring Cache.","pubDate":"Sun, 12 Oct 2025 07:23:49 GMT","category":["AOP","Aspect","spel","Spring","distributed lock","java"]},{"title":"Myths and Facts About Lettuce Distributed Locks (feat. RedisLockRegistry)","link":"https:\/\/pythonstrup.com\/blog\/lettuce-distributed-lock-myths\/","guid":"https:\/\/pythonstrup.com\/blog\/lettuce-distributed-lock-myths\/","description":"Lettuce is not limited to spin locks. How Spring RedisLockRegistry's Pub\/Sub lock mode builds an efficient distributed lock without Redisson.","pubDate":"Mon, 29 Sep 2025 04:41:16 GMT","category":["java","lettuce","LockRegistry","redis","RedisLockRegistry","Spring","distributed lock"]},{"title":"Understanding Pessimistic Locks Through a Like Feature","link":"https:\/\/pythonstrup.com\/blog\/pessimistic-lock-like-feature\/","guid":"https:\/\/pythonstrup.com\/blog\/pessimistic-lock-like-feature\/","description":"Like-button races, solved with database locks. How pessimistic locking works, and how next-key locks slow the check for whether a review was already liked.","pubDate":"Sun, 28 Sep 2025 11:36:03 GMT","category":["java","redis","RedisLockRegistry","Spring","concurrency control","pessimistic locking","MySQL"]},{"title":"Relearning Java Concurrency Control from the Ground Up","link":"https:\/\/pythonstrup.com\/blog\/java-concurrency-control-from-scratch\/","guid":"https:\/\/pythonstrup.com\/blog\/java-concurrency-control-from-scratch\/","description":"How the JVM monitor behind synchronized works, what ReentrantLock adds, and a producer-consumer fix. Then lock striping on per-user keys to raise throughput.","pubDate":"Tue, 23 Sep 2025 11:49:00 GMT","category":["java","JVM","lock striping","ReentrantLock","Spring","Synchronized","concurrency","monitor lock","producer-consumer problem"]},{"title":"How an External API Nearly Brought Down Our Service: Adopting Virtual Threads","link":"https:\/\/pythonstrup.com\/blog\/external-api-virtual-threads\/","guid":"https:\/\/pythonstrup.com\/blog\/external-api-virtual-threads\/","description":"Network I\/O was blocking threads. JDK 21 virtual threads fixed that, then pinning and overwhelming showed up. How each one was handled.","pubDate":"Sat, 20 Sep 2025 07:05:37 GMT","category":["Blocking IO","java","JVM","non-blocking io","Platform Thread","Spring","virtual thread","Virtual Threads"]},{"title":"Nexters 27th Cohort Retrospective: Experiments Over Theory, and the Users Had the Answers","link":"https:\/\/pythonstrup.com\/blog\/nexters-27-retrospective\/","guid":"https:\/\/pythonstrup.com\/blog\/nexters-27-retrospective\/","description":"As PM of Loopy in Nexters 26, I chased scenarios in my head, not users. In cohort 27 I joined Emotia, an AI for exploring emotions, as a backend developer.","pubDate":"Sun, 14 Sep 2025 03:22:06 GMT","category":["Nexters","Nexters 27th Cohort","development","backend","prompt engineering"]},{"title":"Solving a Concurrency Problem with a Single UPDATE","link":"https:\/\/pythonstrup.com\/blog\/concurrency-single-update\/","guid":"https:\/\/pythonstrup.com\/blog\/concurrency-single-update\/","description":"1,000 people request 100 items at once. How a single UPDATE gives one to exactly 100 of them, instead of the locks usually proposed for a first-come event.","pubDate":"Wed, 13 Aug 2025 13:40:09 GMT","category":["java","MySQL","redis","Spring","optimistic locking","concurrency","concurrency control","exclusive lock","distributed lock","pessimistic locking"]},{"title":"Solving Distributed Cache Synchronization with Redis Pub\/Sub","link":"https:\/\/pythonstrup.com\/blog\/distributed-cache-sync-redis-pubsub\/","guid":"https:\/\/pythonstrup.com\/blog\/distributed-cache-sync-redis-pubsub\/","description":"Loading 40\u201360 delivery plans per screen from an external API was slow. Redis and local caches made it 50\u2013100x faster, and Redis Pub\/Sub kept servers in sync.","pubDate":"Sat, 09 Aug 2025 10:55:20 GMT","category":["java","pub\/sub","redis","Spring","Local Cache","Cache Hierarchy"]},{"title":"Why Removing @Transactional Doubled Performance in Production","link":"https:\/\/pythonstrup.com\/blog\/removing-transactional-doubled-performance\/","guid":"https:\/\/pythonstrup.com\/blog\/removing-transactional-doubled-performance\/","description":"@Transactional(readOnly = true) is supposed to speed Spring up by turning off dirty checking. Elastic APM showed extra JDBC calls that made it slower.","pubDate":"Thu, 08 May 2025 13:38:02 GMT","category":["@Transactional","jdbc","JPA","MySQL","set_option","Spring"]},{"title":"My Final Geultto","link":"https:\/\/pythonstrup.com\/blog\/my-final-geultto\/","guid":"https:\/\/pythonstrup.com\/blog\/my-final-geultto\/","description":"I joined Geultto Cohort 10 for the community, the writing, and the growth. Less overtime than Cohort 9, so I set goals for a final cohort with more room.","pubDate":"Sun, 30 Mar 2025 06:14:21 GMT","category":["Developer","Geultto Cohort 10","Final Geultto","Blog"]},{"title":"Is Your Memory Healthy?","link":"https:\/\/pythonstrup.com\/blog\/java-memory-leak\/","guid":"https:\/\/pythonstrup.com\/blog\/java-memory-leak\/","description":"A healthy production system can slow down and fail from one overlooked line. How a small memory-management mistake becomes an outage.","pubDate":"Sun, 16 Mar 2025 08:55:50 GMT","category":["java","memory","Spring","Memory Leak"]},{"title":"Between Technology and Management: My Nexters Cohort 26 Retrospective","link":"https:\/\/pythonstrup.com\/blog\/nexters-26-retrospective\/","guid":"https:\/\/pythonstrup.com\/blog\/nexters-26-retrospective\/","description":"I submitted a Nexters idea before I knew the program. As PM I wanted to lead from the center of the team and grow by doing the hard parts.","pubDate":"Sun, 02 Mar 2025 05:04:47 GMT","category":["Nexters","PM","Developer","Nexters Cohort 26"]},{"title":"2024 Retrospective","link":"https:\/\/pythonstrup.com\/blog\/2024-retrospective\/","guid":"https:\/\/pythonstrup.com\/blog\/2024-retrospective\/","description":"Looking back on 2024: a one-commit-a-day streak that now records daily work, Geultto Cohort 10, an open-source award, Toss Runner's High, and a turn as PM.","pubDate":"Sun, 02 Feb 2025 05:50:03 GMT","category":["Developer","Retrospective"]}]}}