Repository navigation
v1.1.0
What's in v1.1.0 — cheaper ingest, and devices outside the cluster connect over MQTT
- Upgrade in place from v1.0.0 with
dcctl install, then onedcctl upgradeper instance; two appended migrations each add a table and rewrite no row, and nothing is removed. Two behavior changes to check first. Platform service logins can no longer authenticate over MQTT (only theevent-sourceslogin can; devices are unaffected), so a script that connected to the MQTT listener with one needs a device credential. And re-runningdcctl bootstrapnow keeps the broker certificate authority instead of minting a new one.DeviceState.inactivityAlarmTimeis deprecated in favor oflastDisconnectTimeand is removed in the next major release. - Ingest costs less per event. On a mixed load of about 6,200 events per second on GKE, platform CPU per event is 21% lower than on the last build before the writer changes (2.60 to 2.06 CPU-seconds per 1,000), the relational database is 40% cheaper, the event store 49% and
device-state58%, with the 99th-percentile persist latency down from 167 ms to 107 ms. The event writers now fill their batches, and thedevice-statebatch cap defaults to 64. - Devices outside the cluster can connect over MQTT.
dcctl bootstrapanddcctl upgradetake--mqtt-exposure gateway|loadbalancer --mqtt-host <name>to publish the broker's TLS listener on port 8883, with TLS ending at the broker and plaintext MQTT never published. It is off by default, and--broker-max-connectionsbounds a connection flood. - Event envelopes are available as an opt-in, off by default: several events of one tenant travel in one stream message. On a local cluster at 1,500 events per second, both switches on cut broker messages per event by about 41% and total CPU per event by about 12%.
dcctl upgraderefuses to move below v1.1.0 while they are on. - The event streams are sized by outage runway:
streamDesignRateandstreamRunwayMinutesset how many minutes of events they hold at a design rate, and the chart defaults leave today's ceilings unchanged. Lowering a ceiling below what a stream holds is refused unless you pass--allow-ceiling-shrink. - It is easier to see what is wrong: events the platform refuses can be listed (
dcctl events failed, and an Ingest failures view in the console), measurement keys dropped at resolution are recorded per device, a device page shows a presence timeline,kubectl get dcireports the observed status of an instance (its columns changed), and the broker certificate's expiry is reported and alerted on.
Full upgrade notes for v1.1.0 →
Changelog
- fdfb95c: Record which device and metric key lost data at resolution (#2132) (@derekadams)
- 1a3a0a3: alerts: JetStreamReplicaPeersDegraded reads online peers, lag gets its own alert (#2119) (@derekadams)
- 7f6b4ca: build(broker): return to upstream nats-server (TLS coalescing showed no in-cluster gain) (#2151) (@derekadams)
- 6314c83: build(broker): run a patched nats-server that coalesces small TLS writes into one record (#2145) (@derekadams)
- 5d3ec00: build(dotnet): move to .NET SDK 8.0.427 (runtime 8.0.33) for GHSA-p3jp-9v83-76w9 (#2161) (@derekadams)
- 58bf0b9: build(hack): local A/B performance rig for per-event costs on kind (#2162) (@derekadams)
- df98e4a: chore(ci): bump oras-project/setup-oras (#2123) (@dependabot[bot])
- 2db4bb8: chore(deps): bump distroless/static in /backend/k8s (#2121) (@dependabot[bot])
- 0cd4445: chore(deps): bump golang from
f20d83ato2920bb1in /backend/k8s (#2120) (@dependabot[bot]) - 1b5c236: chore(deps): bump the npm-minor-patch group across 2 directories with 8 updates (#2122) (@dependabot[bot])
- 39d27e4: chore(deps): go minor/patch updates (supersedes #2124) (#2128) (@derekadams)
- 2727eae: ci(release): publish the website manifest to public/releases.json (layout-aware, branch and verify-URL inputs) (#2175) (@derekadams)
- 0d15957: ci(release): publish the website manifest with a deploy key, not a PAT (#2174) (@derekadams)
- 5722a62: detect: pin how a single-sample pulse maps to rising edges (#2117) (@derekadams)
- e1b7149: docs(lwm2m-ingest): the object allowlist is fixed by the build, say so (#2166) (@derekadams)
- ac12893: docs: add the v1.0.0 sixty-minute mixed-load row to Measured throughput (#2127) (@derekadams)
- 4286ad8: docs: freeze the 1.0 snapshot and version the site (#2118) (@derekadams)
- 1e71731: docs: give the docs site a social card (#2171) (@derekadams)
- cefa589: docs: post-1.0 staleness pass (CLAUDE.md, READMEs, docs) (#2170) (@derekadams)
- b0c537c: docs: v1.0.0 upgrade notes name --cluster and the sim run port-forward (#2116) (@derekadams)
- 6a785c3: docs: v1.1.0 release notes (en, es, zh-CN) (#2167) (@derekadams)
- 95e6df7: feat(cli): admit the profiler switches to the operator-tunable values (#2140) (@derekadams)
- fb16bb2: feat(cli): dcctl attr set/get/unset for facet values (#2146) (@derekadams)
- a89476b: feat(cli): dcctl events failed (#2147) (@derekadams)
- 08f5b49: feat(cli): dcctl sim create --tier-config makes the tier a load run names (#2160) (@derekadams)
- 9fa45a9: feat(core): event envelope wire format (E1) (#2156) (@derekadams)
- 1eb5653: feat(deploy): first-class MQTT exposure for devices outside the cluster (#2172) (@derekadams)
- 7917eae: feat(device-management): resolved envelopes behind envelopes.resolved (E3) (#2164) (@derekadams)
- c27ac65: feat(event-management): index failed-events and serve it to tenant admins (#2131) (@derekadams)
- f472b7e: feat(event-processing): DETECT duplicate-event guard and dcctl downgrade pre-check (E4a) (#2165) (@derekadams)
- 18175fe: feat(event-sources): inbound envelopes behind envelopes.inbound, HTTP group commit, DM 1:1 (E4b) (#2168) (@derekadams)
- 6bc14be: feat(operator): write observed Instance status; kubectl get dci shows Ready/Running (#2149) (@derekadams)
- 58532b8: feat(operator,cli): broker TLS certificate expiry condition and alerts (#2152) (@derekadams)
- 1ec760f: feat(perf): instrument readiness for the ingest profiling round (P0) (#2133) (@derekadams)
- 6453285: feat(rdb): column-array UPSERT mode for ColumnTable (ingest-writer batching S3) (#2143) (@derekadams)
- e0170e9: feat: readers of the inbound and resolved streams accept event envelopes (E2) (#2157) (@derekadams)
- de944c3: fix(chart,cli): MQTT exposure needs the broker's TLS confirmed (dcctl upgrade --mqtt-exposure was refused outright) (#2177) (@derekadams)
- 49edbf1: fix(cli): broker rebalance fails to find the broker administrator's login (#2137) (@derekadams)
- b96cf92: fix(cli): heal a stuck Barman Cloud plugin Certificate during install (#2159) (@derekadams)
- 0464bfc: fix(dcctl): sim create/destroy present the instance host to the Gateway when --server is an address (#2173) (@derekadams)
- 756edee: fix(deps): pin minimatch to >=11.0.1 in the frontend workspace (GHSA-g3hv-75wg-m249) (#2129) (@derekadams)
- d59e981: fix(device-state): retire presence fields that existed in name only; add the presence timeline (#2169) (@derekadams)
- a44a4b2: fix(event-sources): a platform stall no longer sheds a tenant within its ingest ceiling (#2163) (@derekadams)
- 6762a90: fix(hack): perf-analyze runs pprof with relative paths so Git Bash for Windows works (#2158) (@derekadams)
- 34a2af5: fix(helm): a broker-roll blip no longer takes DeviceX509IssuerPinUnavailable PENDING (#2148) (@derekadams)
- d07ee66: fix(loadtest): page the command probe's final read (#2139) (@derekadams)
- 15c744a: fix(monitoring): run node-exporter on tainted node pools (#2138) (@derekadams)
- 7473b9d: fix(natsauth): let the broker administrator read the consumers a rebalance moves (#2150) (@derekadams)
- 777465a: fix(natsauth,cli): the broker administrator can read the envelope streams, so the downgrade guard and off-marks work (#2176) (@derekadams)
- e57958e: fix(perf): collector and analyzer fixes found by the first real round (r25) (#2136) (@derekadams)
- 1d88f0d: fix(streams): size the per-event streams by outage runway, not a flat byte count (#2155) (@derekadams)
- 6876e4f: perf(device-state): batched upserts through the column-array UPSERT (ingest-writer batching S4) (#2144) (@derekadams)
- 298ba56: perf(device-state): default projection.maxBatch 64; multi-tenant paced arms (#2153) (@derekadams)
- cd33be4: perf(event-management): direct event-id bytes and plain-first batch inserts (#2154) (@derekadams)
- 0e9515e: perf(ingest): serialize collection across a pod's writers; paced writer benchmarks (#2142) (@derekadams)
- 13df196: react lanes test: give the dead-letter-once test an ack-wait that clears the reader's fetch poll (#2125) (@derekadams)
- a5ec3db: release: drop the pre-1.0 warning from the release-notes header (#2126) (@derekadams)
- 6f13107: test(event-management): regression guard for a refuted hypothesis - store hold vs deliveries of unbeaten messages (F1) (#2141) (@derekadams)
- b49c050: test(messaging): give stream-creating test brokers a fixed JetStream store ceiling (#2134) (@derekadams)
- 1a81155: test(messaging): pin why shared durables stay on explicit acks (#2135) (@derekadams)