B+ trees power databases, but I couldn’t find an implementation tutorial, so I built my own 🌳
Learned how splits keep it balanced.
Scope: insert + lookup.
Everything is handwritten except this tweet and the tests.
Check it out: https://t.co/j65k37Tx2l
Adding streaming support to the LLM proxy was the easy part, testing it deterministically was actually harder. Feel free to look at the test scripts in https://t.co/aEEZ0NvB0m
stay tuned to see how I support distributed token counting for circuit breaking.
I thought running a local LLM for testing would be a pain.
Turns out it’s ridiculously easy now.
I set up llama3.2:1b with Ollama on my GTX 1660 Ti (6GB VRAM) and now I can hammer my LLM proxy test bench locally without burning API money.
It’s not the smartest model, but for testing? Perfect.
LLM apps don’t break only because of bad prompts. They break because the infra around model calls is invisible.
That’s why I’m building an OpenAI-compatible LLM sidecar proxy.
So far:
- FastAPI /v1/chat/completions
- smart mock + real provider support
- tracing with X-Trace-ID / X-Span-Name
- SQLite persistence
- output-token quotas
- circuit breaker + 429 blocks
- demo script + tests
Next P0:
- streaming support
- stress testbench to overwhelm the sidecar
Building this in public:
https://t.co/Nqnx9m3Icu
@Decathlon Customer service has gone downhill. Staff used to be helpful and non-intrusive. Now they’re either uninterested in answering questions or overly intrusive, discouraging customers from trying products while pushing them to buy. Disappointing.
Can your taps turn land green? This Diwali join us to plant a plant and watch the blank space prosper with your engagement.
1 like = 1 point
1 repost = 3 points
1 comment with the (hashtag) OOS16 shown below = 2 points
Do all three to get a certificate for your contribution!
Hello @dominos_india how to avail 30 mins or free if I never received any pizza at all?
Placed an order yesterday, made the payment, and did not receive any order details. Have been trying to figure out how to reach you via the in-app help but cannot move past automated responses
@Uber_India how bad is your customer support its been 12 pm and there is no customer service representative
I was shown a tentative charge of ₹330
But at trip end I had to pay ₹1728
I've been trying since the last 12 hours, to get a resolution.
Everything is transient. Instead of growing trees and sitting beside them, we now live our life in railway carriages. People keep shuffling, we keep moving from one station to another, and sometimes if we get lucky we meet again...