> ## Documentation Index
> Fetch the complete documentation index at: https://powersync-js-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Architecture Overview

> Overview of how PowerSync works: a sync service, client SDKs, and a backend integration layer that keeps local SQLite in sync with your database.

<Frame>
  <img src="https://mintcdn.com/powersync-js-v2/f4g3B04F8TxWlgfo/images/architecture/powersync-docs-diagram-architecture-overview.png?fit=max&auto=format&n=f4g3B04F8TxWlgfo&q=85&s=4d48ac19b960381e42d574acf8f5a77a" width="1912" height="1072" data-path="images/architecture/powersync-docs-diagram-architecture-overview.png" />
</Frame>

The [PowerSync Service](/architecture/powersync-service) and client SDK operate in unison to keep client-side SQLite databases in sync with a backend source database. Learn about their architecture:

<CardGroup cols="2">
  <Card title="PowerSync Service" icon="server" horizontal href="/architecture/powersync-service" />

  <Card title="Client Architecture" icon="microchip" horizontal href="/architecture/client-architecture" />
</CardGroup>

### Protocol

Learn about the sync protocol used between PowerSync clients and the [PowerSync Service](/architecture/powersync-service):

<CardGroup cols="2">
  <Card title="PowerSync Protocol" icon="network-wired" horizontal href="/architecture/powersync-protocol" />

  <Card title="Consistency" icon="scale-balanced" horizontal href="/architecture/consistency" />
</CardGroup>
