I’m announcing this new project that I have been working on for a little while now called KeyData.
KeyData is a key-value store (similar to Redis) that I am building from scratch using golang.
#buildinpublic#100DaysOfCode#coding#backend#golang#redis
@tmaiaroto@zekramu Yeah I was going to say the same thing. Usually these startups are running on lower funds. The infrastructure they have won’t be well suited for hiring ex faang employees that are used to large corporations with a bureaucratic process.
@Davidmicdan_ Trust me the backend development world gets even more deep when you start learning about performance optimizations for your application like caching and paging.
@davidcorto Definitely saving for later. Would you say that pprof can be used in a test environment or should we make a macro benchmarking suite to get a good idea of CPU usage etc?
Backend Bytes #3:
Database transactions can fail. Know how your ORM handles those failures.
ORMs like Django and Prisma don’t automatically retry failed transactions.
Instead, they raise an exception and expect your application to handle the failure..
#backend#databases
Backend Byte #2
t.Fatal() vs t.Error()
t.Error() marks the test as failed but continues execution.
t.Fatal() marks the test as failed and stops execution immediately.
Use t.Fatal() when the rest of the test depends on that step succeeding.
#golang#testing#backend
@carrotdev_ I’m wondering how safe is mutating existing keys when concurrency is involved. Sounds like you still need to have a mutex variable or only one go routine to handle changes to the map.
Backend Bytes #1:
Writing file I/O tests in Go?
Use t.TempDir().
It creates a fresh temporary directory for your test and automatically cleans it up when the test finishes. No custom cleanup code required.
#golang#backend
🚨 do you understand what happened to your right to protest..
The FBI just invented a new domestic extremism category called "anti-tech violent extremism" - and it doesn't exist in any public document.
WIRED got 1000+ leaked pages proving they're already using it to track AI critics and data center protesters.
What the leak exposed:
- Photographing a data center is now officially "suspicious behavior" in Virginia
- Fusion centers are surveilling town halls where residents complain about water
- 61% of Americans believe AI will destroy more jobs than it creates
- Even Marjorie Taylor Greene snapped: "how dare the peasants complain"
They built a new extremist category for you before they told you it exists.
@yegor256 I swear post like these make me excited for the future boom in software consulting that is going to happen when these companies crash and burn.
@Jeremieca I’m actually building a key value store from scratch using SSTables and LSM trees. So all of file write operations are being handled at a low level.
I’m announcing this new project that I have been working on for a little while now called KeyData.
KeyData is a key-value store (similar to Redis) that I am building from scratch using golang.
#buildinpublic#100DaysOfCode#coding#backend#golang#redis