# We rewrote large parts of our API in Go using AI: we are now ready to handle one billion databases

DevFeed: [We rewrote large parts of our API in Go using AI: we are now ready to handle one billion databases](<https://devfeed.tech/articles/we-rewrote-large-parts-of-our-api-in-go-using-ai-we-are-now-ready-to-handle-one-billion-databases-6100.md>)

Original publisher: [Read original article](<https://turso.tech/blog/we-rewrote-large-parts-of-our-api-in-go>)

Author: Avinash Sajjanshetty

Published: 2025-05-29T00:00:00Z

Content type: article

Language: en

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

Topics: [API](<https://devfeed.tech/topics/api.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>), [Turso](<https://devfeed.tech/topics/turso.md>), [Scalability](<https://devfeed.tech/topics/scalability.md>), [SQLite](<https://devfeed.tech/topics/sqlite.md>), [Go Language](<https://devfeed.tech/topics/go-language.md>), [Cloud](<https://devfeed.tech/topics/cloud.md>), [Serverless](<https://devfeed.tech/topics/serverless.md>), [Local-First](<https://devfeed.tech/topics/local-first.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [cloud](<https://devfeed.tech/tags/cloud.md>), [databases](<https://devfeed.tech/tags/databases.md>), [go](<https://devfeed.tech/tags/go.md>), [local-first](<https://devfeed.tech/tags/local-first.md>), [scalability](<https://devfeed.tech/tags/scalability.md>), [serverless](<https://devfeed.tech/tags/serverless.md>), [sqlite](<https://devfeed.tech/tags/sqlite.md>), [turso](<https://devfeed.tech/tags/turso.md>)

## AI overview

The article explains how Turso rewrote large parts of its Turso Cloud API in Go, using AI, to address scalability problems and prepare to host one billion SQLite databases. It describes Turso Cloud's hosted, serverless SQLite architecture, synchronization with mobile and server-side SQLite files, and the high-volume database creation patterns that motivated the rewrite.

## Source excerpt

How we rewrote large parts of the Turso Cloud API in Go using AI, applying string interning and streaming to get ready to host one billion SQLite databases.