SQLite database development
SQLite is the most deployed database in the world and it runs inside the application rather than beside it. On mobile, on the edge and in tests, that is exactly the right shape.
SQLite, explained simply
SQLite is a small database that lives inside the app itself as a single file, with no separate server, used in phones, browsers, devices and test suites.
Most databases run as a separate service that the application calls over a network. SQLite does not. It is built into the application and keeps everything in one ordinary file. Think of the difference between a library across town and a notebook in your pocket. The notebook holds less and only you can write in it at once, but it is always there, even with no signal. SQLite is already on almost every phone and in every major web browser.
When the app needs to save something, such as a draft message or a list of downloaded items, it writes directly to the SQLite file on the device. There is nothing to connect to and no password to manage. Reading is very fast because the data is right there. On mobile, the app keeps working offline and later sends its changes to your main server when the connection returns, following rules agreed in advance for what to do when two edits clash.
In mobile app development for iOS and Android, SQLite is the standard choice for apps that must work without a connection, and it costs nothing to run. It also speeds up QA and test automation, and suits small websites with few people changing data at once. It is not the right choice when many servers or many users write at the same time; that is when a server database such as PostgreSQL takes over. The real effort in offline apps is the syncing logic, not SQLite itself.
Words you’ll hear
- Embedded database
- A database that runs inside the application rather than as a separate server it has to connect to.
- Offline-first
- An app designed to work fully without a connection, saving locally and syncing with the server later.
- Sync conflict
- When the same data was changed in two places while offline, and a rule is needed to decide which version wins.
- WAL mode
- A SQLite setting that lets the database be read while it is being written to, which helps busier applications.
Where we use SQLite
SQLite is part of the stack on these 2 services. Each page covers how we work, what you get and what it costs to start.
SQLite in practice
SQLite runs inside the application rather than beside it, so there is no server, no connection pool and no network hop. It is the most widely deployed database in the world — in every phone, browser and countless embedded devices — and its test suite is famously more thorough than most software’s.
On mobile it is how offline-first apps work. In test suites it turns a slow integration run into a fast one. And with WAL mode it is increasingly viable for small production web applications, though multi-writer concurrency remains the point where a client-server database takes over.
What we build with SQLite
Local persistence and offline-first behaviour on iOS and Android, where the data has to survive with no network.
On-device storage where running a database server is not an option.
Fast, disposable databases for test suites, so a full run takes seconds rather than minutes.
Is SQLite right for you?
Ask usA good fit when
- Local storage in mobile apps, including offline-first behaviour
- Embedded and IoT devices with no room for a server
- Test databases, where speed and disposability matter
- Small web applications with low write concurrency
Probably not when
- Multiple application servers needing shared writes
- High write concurrency from many clients
- Datasets requiring horizontal scaling
What we run alongside SQLite
The rest of the setup, and why each piece is there. We keep this list short on purpose — every dependency is something someone has to maintain.
- WAL mode
- Concurrent readers alongside a writer — the setting that makes production use plausible.
- Room or Core Data
- The platform-idiomatic layers over it on Android and iOS.
- Litestream
- Continuous replication to object storage, which gives durability without a server.
- A sync strategy
- The hard part of offline-first: agreed conflict resolution, decided before the first sync.
Why SQLite
Start your projectZero operations
A file on disk — nothing to provision, secure, back up separately or keep patched.
Genuinely fast locally
No network hop and no connection pool, which makes local reads faster than any client-server database can be.
Extremely well tested
Its test suite is famously exhaustive, which is why it ships in phones, browsers and aircraft systems.
What we get called in to fix
Get a second opinionDatabase locked errors
Concurrent writes without WAL mode or a sane busy timeout.
No migration strategy on mobile
Schema changes that lose user data on upgrade, which is discovered in reviews.
Sync conflicts resolved by accident
Offline edits silently overwriting each other because no rule was ever agreed.
Unbounded local growth
Caches on device growing until the app is the largest thing on the phone.
SQLite or the alternative
The comparisons we are actually asked to make, answered the way we would answer them on a call.
SQLite when the database lives inside the application. Postgres the moment several processes or servers must write.
Realm is more object-oriented and pleasant on mobile. SQLite is portable, universal and has no vendor dependency.
For low write concurrency, yes, especially with Litestream. Not for a multi-instance application behind a load balancer.
SQLite works well with:
The new backend data structures were implemented, and the existing production data was migrated and validated against the new models.
Planning a project with SQLite? Let’s talk.
Tell us the short version
This could be the first step towards a new and successful collaboration. A one-line idea and a finished spec are both fine — tell us the problem, the deadline you’re working to and what’s in your way.
We reply within one working day.
- A free intro call, no obligation
- A rough budget and timeline within 48 hours
- A free second opinion on your existing code
Rather talk it through first?
- Sales & Consulting:
- Cluj-Napoca & London
- Delivery Center:
- Cluj-Napoca
Explore our technologies, services and work
Questions about SQLite Database Development
For low write concurrency, yes — increasingly so with WAL mode. For multi-writer workloads we use PostgreSQL.
Yes. Local-first storage with a sync layer is the standard pattern for apps that must work without a connection.
With an explicit strategy agreed up front — last-write-wins, server authority or per-field merge, depending on the data.
Yes — it is among the most rigorously tested software in existence. Data loss on mobile is nearly always a migration bug, not the engine.
With an explicit conflict strategy agreed up front — server authority, last-write-wins or per-field merge — depending on what the data can tolerate.


















