Vinayak's Blog
- Recent writing
-
BPE Tokenizer Simulator →
· 1 min read
Train a byte-pair encoding tokenizer one merge at a time, then use the learned vocabulary to encode and decode text. The simulator runs …
-
Making spring boot integration tests fast →
· 8 min read
A Spring Boot service with Kafka and MongoDB integration tests (Testcontainers) took 3m14s to run. Removing @DirtiesContext had been …
-
A Rolling Update, an Autoscaler, and a Missing Environment Variable: Anatomy of a Production Outage →
· 13 min read
Rolling updates are supposed to be the safe way to ship. Kubernetes brings up new pods, waits for them to become healthy, and only then …
-
Why 2.5 MB Mongo Document Became a 5.3 MB Kafka Message in Debezium →
· 5 min read
Here is what we were running when we hit this: Debezium 2.7.4.Final Debezium MongoDB connector, with the MongoEventRouter outbox SMT …
-
The AWS S3 client fix that caused a new bug →
· 7 min read
I recently chased down a slow memory leak in a Java service. The fix was simple and it worked. But it also uncovered a second problem …
- See all posts... →
- projects
- rss