📰 Dev.to · Bill Tu
Articles from Dev.to · Bill Tu · 24 articles · Updated every 3 hours · View all reads
All
⚡ AI Lessons (9097)
ArXiv cs.AIDev.to · FORUM WEBForbes InnovationOpenAI NewsDev.to AIHugging Face Blog

Dev.to · Bill Tu
1d ago
Shareable Diagnostics: Generating HTML Reports From Production Profiling
You've just diagnosed a production performance issue. loop-detective told you that processPayload at...

Dev.to · Bill Tu
1d ago
Profiling the Threads You Forgot About: Worker Thread Diagnostics in Node.js
You've profiled your Node.js server. The main thread looks healthy. CPU usage is low. Event loop lag...

Dev.to · Bill Tu
1d ago
Why One Second Wasn't Enough: Adding Retry Logic to a Diagnostic Tool
For the first seven releases of node-loop-detective, connecting to a target process looked like...

Dev.to · Bill Tu
1d ago
Giving Kafka-Style Topics the Routing Power of RabbitMQ
One of the most common complaints about Kafka is its routing model. You have topics. You have...

Dev.to · Bill Tu
2d ago
When the Patient Dies on the Table: Handling Target Process Exit During Profiling
You're profiling a Node.js process that's been crashing intermittently. You attach loop-detective,...

Dev.to · Bill Tu
2d ago
Not All Requests Are Equal: Adding Variable Cost to a Node.js Rate Limiter
Rate limiters typically treat every request the same. One request, one token. But in the real world,...

Dev.to · Bill Tu
2d ago
Writing 89 Tests for a Quantitative Trading Framework: Strategy and Trade-offs
Adding a test suite to an existing codebase is a different exercise than writing tests alongside new...

Dev.to · Bill Tu
2d ago
Who Should Own the Order ID? Moving ID Generation Inside the Matching Engine
Order IDs seem trivial. Every order needs one, they need to be unique, and they show up in every...

Dev.to · Bill Tu
2d ago
Less Is More: Why We Added a Flag to Disable Our Best Feature
We spent three releases building async I/O tracking into node-loop-detective. HTTP request timing....

Dev.to · Bill Tu
3d ago
The Invisible Network Calls: Tracking fetch() and dns.promises in Node.js
You've instrumented your Node.js app with I/O tracking. You're catching slow HTTP requests, slow...

Dev.to · Bill Tu
3d ago
From O(n log n) to O(log p): Rebuilding the Order Book for Performance
When we first built MatchEngine, the order book used a sorted slice. Every time an order was...

Dev.to · Bill Tu
3d ago
From Terminal to Flame Graph: Exporting CPU Profiles From Production
loop-detective gives you a text-based diagnostic report in your terminal. It tells you which...

Dev.to · Bill Tu
3d ago
Lessons from Fixing 8 Bugs in a Quantitative Trading Framework
QuantFlow is an open-source quantitative trading system written in Python. After the initial release,...

Dev.to · Bill Tu
3d ago
Four Bugs We Found in Our Node.js Rate Limiter (And How We Fixed Them)
We recently shipped node-rate-limiter-pro, a high-performance rate limiter for Node.js with Token...

Dev.to · Bill Tu
3d ago
Five Bugs That Would Have Killed TitanMQ in Production
We recently ran a deep audit of TitanMQ's codebase and found five bugs that ranged from "data loss on...

Dev.to · Bill Tu
3d ago
Four Bugs That Would Break a Matching Engine in Production
MatchEngine is an open-source order matching engine written in Go. After the initial release, we...

Dev.to · Bill Tu
4d ago
Debugging Node.js in Docker and Kubernetes Without Restarting
There's a Node.js service running in a Kubernetes pod. It's slow. You need to figure out why. But you...

Dev.to · Bill Tu
4d ago
7 Bugs That Taught Us How to Build Better Diagnostic Tools
We shipped node-loop-detective v1.1.0 with a feature we were proud of: slow async I/O tracking. It...

Dev.to · Bill Tu
4d ago
Why We Replaced float64 With Decimal in Our Matching Engine
Every financial system eventually faces the same question: can we trust floating-point arithmetic...

Dev.to · Bill Tu
4d ago
Beyond the Event Loop: Tracking Slow I/O in Production Node.js
Your Node.js service is slow. You run a profiler. CPU usage is low. The event loop isn't blocked....

Dev.to · Bill Tu
5d ago
Detecting Event Loop Blocking in Production Node.js — Without Touching Your Code
You're on call. Alerts fire. Your Node.js service is responding slowly — or not at all. You suspect...

Dev.to · Bill Tu
5d ago
Building a Trade Matching Engine from Scratch in Go
Every exchange — whether it trades stocks, crypto, or commodities — has a matching engine at its...

Dev.to · Bill Tu
5d ago
Building QuantFlow: An Event-Driven Quantitative Trading Framework in Python
Quantitative trading systems sit at the intersection of finance, statistics, and software...

Dev.to · Bill Tu
3w ago
Building a High-Performance Rate Limiter for Node.js: Architecture, Algorithms, and Benchmarks
Rate limiting is one of those things every production API needs but few teams get right. Most reach...
DeepCamp AI