You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 3b5160c
Browse filesBrowse the repository at this point in the historyBrowse files
5. Route handler — generated REST, declarative action, or custom
82
+
6. Data driver — ObjectQL compiles to SQL / Mongo query
83
+
7. Response with X-Request-Id propagated
79
84
```
80
85
81
-
Steps 4-8 typically execute in < 5ms once the kernel is warm.
86
+
The app is already resolved before the first request arrives: the
87
+
kernel is built during startup, and the process does not report itself
88
+
[ready](/docs/deploy/docker) until it is. So a served request carries no
89
+
step that decides *which* app it belongs to, and there is no per-app
90
+
warmup for a reader to plan around — what a request costs is
91
+
authentication, the permission checks, and one compiled query.
82
92
83
93
## The three layers (only matters if you're integrating)
84
94
@@ -93,9 +103,8 @@ you want to know where the artifact comes from:
93
103
94
104
If you're shipping a single app, you don't need a control plane —
95
105
compile `objectstack.config.ts → dist/objectstack.json` in your CI and
96
-
ship the JSON in the image. If you're running an internal app
97
-
marketplace with many tenants and apps, the control plane is where the
98
-
catalog lives.
106
+
ship the JSON in the image. If you publish apps that several
107
+
deployments install, the control plane is where that catalog lives.
99
108
100
109
## Boot modes
101
110
@@ -120,20 +129,28 @@ posture is [refused at startup](/docs/deploy/air-gapped).
120
129
121
130
## Performance characteristics
122
131
123
-
| Metric | Number |
132
+
**This page publishes no latency or memory figures.** What you run is a
133
+
digest-pinned image serving *your* app against *your* database, and the
134
+
only numbers worth sizing a deployment against are the ones you measure
135
+
on that. What this page can give you is the shape — where each cost
136
+
comes from, and what to measure it as.
137
+
138
+
| Characteristic | Where it comes from, and how to measure it |
124
139
|---|---|
125
-
| Cold start (process up, ready for traffic) |~1 second |
126
-
| Per-kernel warmup (first request to a project) | 50-300ms depending on capabilities |
127
-
| Warm request latency (CRUD via REST) | typically < 10ms + database latency |
128
-
| Memory footprint |~150MB base; ~10-30MB per active project kernel |
129
-
| Concurrent app kernels per instance | Bounded by the runtime's kernel cache |
140
+
|**Startup**| The process starts, builds the kernel for this deployment's app, and only then reports ready. Measure it as time to a 200 from `/api/v1/ready` on your own image and artifact; a larger app and more loaded capabilities give it more to do. |
141
+
|**Request latency**| Authentication, the permission checks, and one query compiled by ObjectQL. Nothing per-request resolves which app to serve, so the database round trip is the part that usually moves; measure it at your own percentiles, against your own data volume. |
142
+
|**Memory**| One resident copy of this deployment's metadata, plus the capabilities the app loads — they are optional plugins, so a deployment that loads fewer holds less — plus whatever your concurrency has in flight. Measure the container's RSS under your own load, not at idle. |
143
+
|**Growing past one process**| Replicas of the same process, each serving the same app. Past one replica the cluster driver and identical shared secrets stop being optional — see [Docker](/docs/deploy/docker). |
130
144
131
145
## Why this shape
132
146
133
147
-**One Node process, no sidecars** → fits in a `docker run`, fits in a
134
-
systemd unit, fits in a Lambda-like environment.
135
-
-**Per-project kernel, LRU cached** → one instance can serve many
136
-
small apps without paying the warmup cost on every request.
148
+
systemd unit, fits in a long-lived container or VM.
149
+
-**One app per deployment** → the metadata is resolved once at
150
+
startup rather than per request, so there is no cache sizing to get
151
+
right; where several organizations share a deployment, they share its
152
+
app and the isolation wall between them is enforced inside the
153
+
runtime.
137
154
-**Generated APIs on top of declared metadata** → there's no codegen
138
155
step in your CI, no client SDK to publish; the API matches your data
0 commit comments