Echt Datenbank-Agnostisch
Native, produktionsreife Unterstützung für MongoDB, PostgreSQL, MariaDB und SQLite via Drizzle ORM.
All four database adapters are production-ready with verified benchmark suites. Switch databases by changing one config variable — zero application code changes required.
Four Databases. One Config Variable.
Start with SQLite for edge/local dev, scale to MongoDB or PostgreSQL for production — no code changes.
MongoDB
✅ ProductionWire-level zstd/snappy compression, optimised connection pooling, flexible schemas.
PostgreSQL
✅ ProductionNative JSONB + GIN indexing. Geographic read-replica routing via x-svelty-region header.
MariaDB
✅ ProductionRelational integrity, TTL-based self-cleanup. Active driver validation eliminates false positives.
SQLite
✅ Production7 PRAGMAs (WAL, mmap=256MB, cache=64MB), LRU statement cache. Ideal for edge and local dev.
Verified Performance (SQLite Adapter)
Verified by the SveltyCMS Audit 2.0 engine — Intel Ultra 9 275HX, 24 cores, Bun 1.3.11. Run bun run benchmark --db sqlite to reproduce.
| Operation | Avg Latency | p95 | RPS |
|---|---|---|---|
| INSERT | 0.086 ms | 0.100 ms | 11,660 |
| FIND ONE | 0.055 ms | 0.064 ms | 18,218 |
| FIND MANY (50) | 0.104 ms | 0.116 ms | 9,617 |
| UPDATE | 0.104 ms | 0.125 ms | 9,619 |
| TX Commit | 0.040 ms | 0.060 ms | 25,312 |
Unified ACID Transaction Engine
Same API surface across all 4 adapters
Single-trip mutations eliminate redundant SELECT queries, reducing mutation latency by ~40%. Competitors require separate round-trips or lack cross-DB transaction support entirely.
0.040ms
TX Commit avg
0.035ms
TX Rollback avg
25,312
TX Commits / sec
Why Others Fall Short
Strapi
Multiple DB support via ORM, but N+1 query problems and >1-second response times under complex nested queries are well-documented.
Payload CMS
MongoDB + PostgreSQL only — no SQLite or MariaDB. 45-second load times reported for 400k files. Performance requires significant manual tuning.
Directus
SQL-only (no MongoDB). Complex permission queries generate 4,000+ line SQL WHERE clauses. No unified transaction API across adapters.
SveltyCMS
All 4 adapters production-verified with the same benchmark suite. Start on SQLite for edge, scale to MongoDB — zero code changes, same ACID transaction API throughout.