Sebastian Korfmann

Sebastian Korfmann

@skorfmann.com
Who might that „someone“ be? 👀 #claude
• Found the problem! Look at line 163 in cached_reader.go: |
// Wait for value to be processed
time.Sleep(10 * time.Millisecond)
Every GeoIP cache miss sleeps for 10 milliseconds!
This is the bottleneck! The Ristretto cache library is asynchronous,
and
someone added a fixed time. Sleep(10ms) to
"wait for the value to be processed." This is a terrible implementation.
Here's what's happening:
- Cache hit:
~15us (microseconds)
- Cache miss: 10ms sleep + actual
lookup time X
With your test data, many IPs are unique, so you're getting lots of cache misses - 10ms penalty per miss.
Sebastian Korfmann

Sebastian Korfmann

@skorfmann.com
Just built a skill for Claude to estimate Pub/Sub cost in GCP - it contains the actual pricing data and a python script to do accurate calculations. This is pretty cool stuff!
Sebastian Korfmann

Sebastian Korfmann

@skorfmann.com
Need something like this 🤖
Sebastian Korfmann

Sebastian Korfmann

@skorfmann.com
Claude Code starts getting fancy
Sebastian Korfmann

Sebastian Korfmann

@skorfmann.com
Are the new macbooks any good? Or would one just get an ipad pro and a remote vm to run Claude Code?
Sebastian Korfmann

Sebastian Korfmann

@skorfmann.com
Have a Google cloud project which I’m working on recently, and I must say it’s a quite nice experience overall so far
Sebastian Korfmann

Sebastian Korfmann

@skorfmann.com
Turns out I was running my external hard-drive on the wrong port on my Mac Studio 🤪 And who fixed it? Claude Code.
Sebastian Korfmann

Sebastian Korfmann

@skorfmann.com
Buckle up, I'm gonna use "terraform test" 😅
Sebastian Korfmann

Sebastian Korfmann

@skorfmann.com
At this point, ignoring agentic coding tools is like refusing to use Git because you prefer manually tracking file versions in folders named 'final_v2_ACTUAL_final'