Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Big time! Almost all of my interesting knowledge came from toy projects I made to solve my own problems (or zero problem solved but it was fun so I did it anyway).

For example, I wanted to know if I can make 1 Kubernetes cluster span multi region, multi cloud. So I slapped TailScale for networking, replaced etcd with multi-region PostgreSQL Aurora, and span the Kubelets between my Raspberry Pi, Digital Ocean VMs, and AWS EC2. And then as the "customer app", I run CockroachDB, rqlite, and tiDB on it (one at a time, I don't want to burn money for this).

It was janky, zero SLA, I likely mis-tuned all the databases, and cost a bit of money :(. But it totally worked, all the db nodes can discover each other. I was satisfied and that's enough.

Another example would be writing my own Raft-backed database, similar to the ToyDB Rust project posted here. Is the DB useful? No. But it is so much fun and I learned a lot.

My AWS S3 bucket and private Git repo are a graveyard full of toy projects. My own Dropbox clone, Pinterest clone, Delicious clone, subset of Google Maps clone, etc. etc. are all RIP in there.



rqlite[1] creator here, happy to answer any questions.

If you're interested in writing Raft-backed databases you might be interested in my talk at GopherCon 2023. It walks through doing exactly that, step by step: https://www.youtube.com/watch?v=8XbxQ1Epi5w

[1] https://rqlite.io


>I wanted to know if I can make 1 Kubernetes cluster span multi region, multi cloud

Can I ask what you had running on that cluster?


As of right now? Nothing important. If I want to use it day-to-day, then I have to care about SLA, then I have to be the sysadmin of that thing.

Not exactly fun :)

What's interesting is that the TailScale network allows the local daemon be exposed on the internet with small settings change. Pretty revolutionary for personal/home IoT projects.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: