# A deep look into our new massive multitenant architecture

DevFeed: [A deep look into our new massive multitenant architecture](<https://devfeed.tech/articles/a-deep-look-into-our-new-massive-multitenant-architecture-5874.md>)

Original publisher: [Read original article](<https://turso.tech/blog/a-deep-look-into-our-new-massive-multitenant-architecture>)

Author: Glauber Costa

Published: 2024-10-16T00:00:00Z

Content type: article

Language: en

Sources: [Turso Blog](<https://devfeed.tech/sources/turso-blog.md>)

Topics: [Multi-tenancy](<https://devfeed.tech/topics/multi-tenancy.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [Turso](<https://devfeed.tech/topics/turso.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Security](<https://devfeed.tech/topics/security.md>), [bug](<https://devfeed.tech/topics/bug.md>)

Tags: [architecture](<https://devfeed.tech/tags/architecture.md>), [company](<https://devfeed.tech/tags/company.md>), [database](<https://devfeed.tech/tags/database.md>), [databases](<https://devfeed.tech/tags/databases.md>), [deep-dive](<https://devfeed.tech/tags/deep-dive.md>), [developers](<https://devfeed.tech/tags/developers.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [security](<https://devfeed.tech/tags/security.md>), [server](<https://devfeed.tech/tags/server.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [turso](<https://devfeed.tech/tags/turso.md>)

## AI overview

Turso describes a new massive multitenant architecture built around a serverless database forked from SQLite. The design provisions a small VM, hosts many SQLite files, supports HTTP access and replication, and scales the VM to zero when inactive to control costs. The article also discusses database isolation, security and resource-allocation limitations, and the role and limits of careful development and automated testing.

## Source excerpt

A deep dive into the reasons behind us rewriting our software stack