By removing network latency, a major bottleneck for databases like Postgres, SQLite avoids Amdahl's Law. The single writer allows for easy batching, enabling it to handle over 100,000 transactions per second with serializable isolation in benchmarks, outperforming a networked database in this scenario.
100000 TPS over a billion rows: the unreasonable effectiveness of SQLite
#HackerNews #SQLite #TPS #effectiveness #database #performance #scalability
Building a Durable Execution Engine with SQLite
https://www.morling.dev/blog/building-durable-execution-engine-with-sqlite/
#HackerNews #Building #Durable #Execution #Engine #SQLite #HackerNews #TechBlog #Database
SQLite concurrency and why you should care about it
https://jellyfin.org/posts/SQLite-locking/
#HackerNews #SQLite #Concurrency #SQLite #Performance #Database #Management #Tech #Insights
What if Django had an automatic ORM feature matrix — showing which features each database really supports, straight from the code? 🧩
I’ve shared some ideas (with demo data!) on how it could work and why it’d be great for Django’s docs 💡
https://www.paulox.net/2025/10/06/django-orm-comparison/
CC @django
#Django #Python #ORM #OpenSource #Database #PostgreSQL #SQLite #MariaDB #MySQL
What if Django had an automatic ORM feature matrix — showing which features each database really supports, straight from the code? 🧩
I’ve shared some ideas (with demo data!) on how it could work and why it’d be great for Django’s docs 💡
https://www.paulox.net/2025/10/06/django-orm-comparison/
CC @django
#Django #Python #ORM #OpenSource #Database #PostgreSQL #SQLite #MariaDB #MySQL
It’s been a long time since I wrote a blog post rather than a talk - but in architecting Fermyon Wasm Functions and our Wasm platforms to run “anywhere” - I spent a lot of time thinking about “minimal” platform footprints… and made some interesting discoveries. Mostly that #SQLite is still pretty awesome.
It’s been a long time since I wrote a blog post rather than a talk - but in architecting Fermyon Wasm Functions and our Wasm platforms to run “anywhere” - I spent a lot of time thinking about “minimal” platform footprints… and made some interesting discoveries. Mostly that #SQLite is still pretty awesome.
Simple tech stacks are great for resilient and maintainable systems. Why reach for #Valkey / #Redis when you can avoid introducing another dependency by implementing caching with #SQLite triggers?
This was a fun #WebDev experiment and made me even more impressed with how capable this database is for mid-sized websites and apps.
What's your favourite example of #Minimalist#Tech?
https://samuelplumppu.se/blog/using-sqlite-triggers-to-boost-performance-of-select-count
🚨 SurrealDB is sacrificing data durability to make benchmarks look better
「 TL;DR: If you are a SurrealDB user running any SurrealDB instance backed by the RocksDB or SurrealKV storage backends you MUST EXPLICITLY set SURREAL_SYNC_DATA=true in your environment variables otherwise your instance is NOT crash safe and can very easily corrupt 」
Unlike me from 10 years ago, I don't place a lot of value on "cutting-edge" tech anymore.
Something that works reliably and stays stable for decades without significant changes or re-learning required is what I appreciate now.
Bonus points for performance and security improvements under the hood without changing the interface.
We are VERY excited about all the features landing in the next release! However, we’re also introducing one big breaking change—and that’s the purpose of this post. WE ENCOURAGE EVERYONE USING BADGEFED TO CREATE A DATABASE BACKUP BEFORE UPGRADING.
(GO, do it now, we will wait for you and then continue reading this post.)
Don’t worry: if you forget, chances are you won’t lose data, but recovery may be trickier. If you can, please back up first.
Summary (read before upgrading)
- Database filenames now match your domain, for example:
mydomain.db. The previous single default filename is no longer used by default. - Back up your existing SQLite file NOW. You can also download a backup from the admin portal: Admin > Database > Download Backup.
- After upgrading to 0.1.1, the app uses a per-domain database. Use the import utility to migrate from your backup—or copy your backup into the data directory and rename it to the domain-based filename.
- Prefer one shared database? Set the environment variable
SQLITE_DB_PATHto your desired (or current) filename (for example,badgefed.db).
If you already upgraded without preparing
- Your previous database was not replaced or deleted. Locate your old
badgefed.db(or backup), copy it to the data directory, and rename it to the new domain-based filename.
The 0.1.1 release and full release notes are coming soon!
Badge up!
You can read the article "BadgeFed 0.1.1 — Breaking change: per-domain database filenames" by @mapachehere as well.
#badgefed #fediverse #openbadges #update #activitypub #sqlite #federationHey Fediverse! 👋
We’ve been quiet… but not idle. Forget waiting for long blog posts, time for micro updates.
Today’s news:
We’ve got a few BadgeFed instances live and federating! 🏅
To make it happen, we did a hardcore backend rewrite to support multiple domains on a single machine.
For most, it’s a niche cost-saving move, but it might be useful for others too. Under the hood: each domain runs its own SQLite DB, with backups in place.
But this isn’t just about the tech, the fun part is seeing multiple BadgeFed servers talking to each other (!!). Follow them, check the thread, boost it, and watch for more as they come online!
You can read the article "BadgeFed Update: Multiple Instances Online!" by @mapachehere as well.
#badgefed #fediverse #openbadges #update #activitypub #sqlite #federation