Karan
banner
kmj007.bsky.social
Karan
@kmj007.bsky.social
your friendly neighborhood nerd

https://blog.karanjanthe.me
I cried for this kind of latency cause I was confused what was wrong 😭😭

from 5seconds to direct 500ms

Finally figured out I don't have to wait for some tasks to be completed, I can give a response when durability is taken care of!
December 4, 2025 at 7:28 AM
today i got to know there is something as green threads
December 3, 2025 at 10:58 AM
it's very hard to get zero copy right, it just looks cool!
December 2, 2025 at 7:53 PM
December 2, 2025 at 6:00 PM
I introduced a metadata file so I can reduce the request to s3 so my vector db can work fast for bruteforce WAL search, but now, because the metadata file is another round trip, end-to-end latency is the same, and for most it is worse!

now i need to think about caching the cache, aahahahahahaahahah
December 2, 2025 at 2:35 PM
whole time i was thinking there was something wrong with my code, why my own database is taking a whole 3seconds to complete the query, found out the s3 provider was taking the 3s, my code was just taking µs

always profile, don't assume things when it comes to systems engineering
December 2, 2025 at 6:03 AM
Can anyone send me an invite for lobste.rs , I want to post blogs and engage with the community
Lobsters
lobste.rs
December 1, 2025 at 6:28 AM
Okay I am finding new bands which are great
November 26, 2025 at 8:55 AM
Vector embeddings are not one-way hashes.

There seems to be a lot of myth and a communication gap
November 24, 2025 at 11:22 AM
clippy is my friend
November 21, 2025 at 2:01 PM
how it feels to show your database to someone, but the pain behind it is only understood by the magician
November 21, 2025 at 12:30 PM
there are so many things one needs to get right when building a database, even for the toy database :/
November 19, 2025 at 11:30 AM
मोहब्बत तुझे
खुसरो ही ना कर दे
तो क्या मोहब्बत है..!!
November 17, 2025 at 3:25 PM
I thought Tigris S3 read latency is going to be under 200 ms or something, and I learned my lesson, don't believe in what they say, believe but verify also!
November 17, 2025 at 9:15 AM
rkvy is good
November 15, 2025 at 11:38 AM
Andoy Pavlo is OG when it comes to databases,

And I am just discovering slowly
November 14, 2025 at 6:10 PM
I thought building a vector DB was going to be easy, but I found myself confused as hell!
November 14, 2025 at 11:50 AM
lol there exists ball tree
November 14, 2025 at 10:58 AM
Modern software is broken. Dependencies are not dependable. Most software is orders of magnitude more complex than it needs to be.
November 14, 2025 at 6:56 AM
PID controller is so cool
November 10, 2025 at 7:37 AM
I thought it was just going to be a simple program in Zig, and here I am finding myself editing sprites in Photoshop
November 1, 2025 at 6:10 PM
My bytebeat was not working on the web because I was parsing the expression on every sample rate, like 8000 times per second, and it was slow for generating the value for audio buffers, which is why audio was cracking up, but running great in the desktop app

I actually used arena allocator properly
October 31, 2025 at 10:27 AM
So the size of a struct is padded to a multiple of its alignment, which is defined as the largest alignment requirement of any of its fields
October 30, 2025 at 7:40 AM