mirror of
https://github.com/hanzoai/papers.git
synced 2026-10-30 14:58:42 +00:00
The prior-work section describes the 2022 backend by category, and the comparison table and production section cover the systems Base is measured against. hanzo-stack-comparison and hanzo-datastore drop one reference each. hanzo-base.pdf had no source in the repo and is superseded by hanzo-base-runtime. Committed PDFs rebuilt with make. Co-authored-by: Hanzo Dev <[email protected]>
48 lines
2.1 KiB
TeX
48 lines
2.1 KiB
TeX
\section{Comparison to Existing Systems}
|
|
|
|
\label{sec:comparison}
|
|
% ============================================================================
|
|
|
|
\begin{table}[H]
|
|
\centering
|
|
\small
|
|
\begin{tabular}{lcccc}
|
|
\toprule
|
|
\textbf{Feature} & \textbf{Base} & \textbf{Firebase} & \textbf{Supabase} &
|
|
\textbf{Convex} \\
|
|
\midrule
|
|
Single binary & \checkmark & $\times$ & $\times$ & $\times$ \\
|
|
Offline-first & \checkmark & $\times$ & $\times$ & $\times$ \\
|
|
Encrypted at rest & \checkmark & $\times$ & \checkmark & $\times$ \\
|
|
Field-level encryption & \checkmark & $\times$ & $\times$ & $\times$ \\
|
|
CRDT sync & \checkmark & $\times$ & $\times$ & $\times$ \\
|
|
Plugin runtime & \checkmark & \checkmark & \checkmark & \checkmark \\
|
|
Chain anchoring & \checkmark & $\times$ & $\times$ & $\times$ \\
|
|
Self-hostable & \checkmark & $\times$ & \checkmark & $\times$ \\
|
|
Federated auth & \checkmark & \checkmark & \checkmark & \checkmark \\
|
|
User-controlled keys & \checkmark & $\times$ & $\times$ & $\times$ \\
|
|
\bottomrule
|
|
\end{tabular}
|
|
\caption{Feature comparison. Base is the only system that combines offline-first
|
|
operation, encrypted local storage, CRDT sync, and chain anchoring.}
|
|
\label{tab:comparison}
|
|
\end{table}
|
|
|
|
\paragraph{Firebase.} Google's BaaS. No self-hosting. No offline-first for
|
|
arbitrary data (Firestore offline mode is a cache, not a source of truth). No
|
|
user-controlled encryption keys. Data belongs to Google's infrastructure.
|
|
Firebase is a tenancy agreement, not a runtime.
|
|
|
|
\paragraph{Supabase.} PostgreSQL-based BaaS. Self-hostable in theory, but
|
|
requires PostgreSQL, PostgREST, GoTrue, Kong, and a storage service---five
|
|
processes minimum. No offline-first. No CRDT sync. Encryption at rest is
|
|
PostgreSQL's, not field-level. Supabase is a cloud-first system with a
|
|
self-hosting escape hatch.
|
|
|
|
\paragraph{Convex.} Reactive TypeScript backend. Cloud-only, no self-hosting.
|
|
Strong developer experience for realtime applications, but no offline support,
|
|
no encryption, no user-controlled keys. Convex is a better Firebase, not a
|
|
sovereign runtime.
|
|
|
|
% ============================================================================
|