GeezerVison is showing github.com — id: design: currency autoscaling design (from #5676) · Issue #5825 · developing-today/code
id: design: currency autoscaling design (from #5676) #5825DescriptionSummary
Follow-on design ticket from #5676 — its decomposition sketch names this as a separate design, and the parent's acceptance requires these tickets to be filed and linked. Filed in the 2026-11-04 gap pass (WS-F) so the design work exists and can be prioritised on its own merits; implementation timing is a separate decision, possibly months out.
What this design must settle
Stateless front-end scaling, hot-account mitigations, and the scaling triggers — what measurement moves the service, and what never auto-scales.
Context from the parent
The parent design fixes the staged currency scaling path — Redis hot store, multi-Turso sharding, TigerBeetle — and the invariants every stage must preserve. The parent issue carries the surrounding decisions this ticket must not re-decide; where this ticket's answer would change a parent decision, record that explicitly rather than silently forking it.
Decision record expected
Close this design with a recorded decision (on this issue or in a doc/ record linked from it): the chosen shape, the alternatives rejected and why, and the invariants implementation must hold. If the design splits further, file the splits and link them here rather than growing this issue.
Relations
Parent: #5676. Programme: epic #2056. Filed by WS-F (2026-11-04 ID design gap & expansion pass). Activitydeveloping-today commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 5, 2026 🤖 Agent note · triage findings (task 10228, lane code-u, direct lane)
Verdict: VALID design ticket, correctly filed and linked — ORDERED BEHIND ITS PARENT'S DECISION RECORD AND THE STAGE A DESIGN. Not superseded, not yet actionable.
Evidence (fresh, 2026-11-05):
- Issue id: design: currency autoscaling design (from #5676) #5825 is a follow-on design ticket from issue id: design: Currency scaling — autoscaling service, Redis → multi-Turso → TigerBeetle path #5676's decomposition sketch, filed in the 2026-11-04 WS-F gap pass; programme epic epic: ID platform expansion — apps, comms, currency, hosting, boards (2026-10-28 directive, LIST 6–15) #2056 (open).
- Parent issue id: design: Currency scaling — autoscaling service, Redis → multi-Turso → TigerBeetle path #5676 is OPEN and was triaged today (task 10109, lane code-j, note 2026-11-05T12:35Z): a design issue with no code defect, its decomposition acceptance satisfied — every follow-on verified still open, including issue id: design: Stage A: Redis hot store + regular-store system of record (from #5676) #5824 (Stage A: Redis hot store design) and this issue id: design: currency autoscaling design (from #5676) #5825. The parent's staged path (Redis hot store → multi-Turso sharding → TigerBeetle) and its stage invariants are the frame this ticket must not re-decide.
- No autoscaling decision record exists on current main (searched
doc/ at 04f7869: currency design records cover the centralised exception and control plane, none covers autoscaling triggers / hot-account mitigations).
Ordering / blocker (recorded per triage acceptance):
This triage (task 10228) completes as triaged; issue #5825 stays open as the design ticket of record.
dezren39 commented on Nov 5, 2026 dezren39 commented on Nov 12, 2026 🤖 Agent note · blocked — dependency gate on #5676 (task 12803, lane code-c)
- Agent: queue worker lane code-c (task 12803; assignment direct)
- Gate revalidation (fresh, this shift): issue id: design: currency autoscaling design (from #5676) #5825 is OPEN with no hard-stop labels. Its two named gates: (1) Stage A design issue id: design: Stage A: Redis hot store + regular-store system of record (from #5676) #5824 — CLOSED (decision record landed: commit 5f48dd5,
docs(id): Stage A decision record — Redis hot store, regular-store system of record (#5824)), gate met; (2) parent issue id: design: Currency scaling — autoscaling service, Redis → multi-Turso → TigerBeetle path #5676's decision record — not landed: id: design: Currency scaling — autoscaling service, Redis → multi-Turso → TigerBeetle path #5676 is still OPEN (status/triaged) with the governing principles and staged path in its body, but no standalone merged parent decision record exists (doc search + git log over current main, this shift; same finding as the 2026-11-12T19:42Z verification checkpoint on task 12803).
- Action: task 12803 is dep-blocked on issue id: design: Currency scaling — autoscaling service, Redis → multi-Turso → TigerBeetle path #5676 (
--blocked-by-issue developing-today/code#5676, max TTL 3 days, broker rechecks every 15 min). When id: design: Currency scaling — autoscaling service, Redis → multi-Turso → TigerBeetle path #5676 closes (its decision record landed), the broker returns this task to the queue automatically; the claiming lane then produces the id: design: currency autoscaling design (from #5676) #5825 autoscaling design record per the packet.
- Why not write the record now: the packet's gate is explicit — the id: design: currency autoscaling design (from #5676) #5825 record must build on the parent's chosen shape; drafting it before id: design: Currency scaling — autoscaling service, Redis → multi-Turso → TigerBeetle path #5676 lands risks a record the parent decision contradicts. This is a dependency block, not an escalation: no Drew decision is being asked for here.
dezren39 commented on Nov 16, 2026 🤖 Agent note · blocked — dependency gate on #5676 (task 12803, lane code-g)
dezren39 commented on Nov 16, 2026 agent-note:v1
state: done
task: 12803
lane: code-c (Muse, repo-worker-code)
stage: claimed -> done (fixed_merged)
Issue #5825 is decided and CLOSED. Decision record doc/2026-11-16_design_id5825.md merged via PR #10659 (merge sha aeaf7a8).
Gate disposition (fresh check this shift): #5824 Stage A CLOSED with record merged; #5823 port contract CLOSED with record merged; #5829 envelopes merged. #5676 remains open as the umbrella by design (2026-11-14 triage, task 15274: it closes when the child designs land) — its decisions are its body principles plus the landed child records, so the design proceeded on decided inputs; the record's §0 states this and §8 records no parent-decision changes.
Decisions in brief: only the stateless front-end auto-scales; hot accounts mitigated in-stage (striping, batching, bounded queue smoothing, approximate-only cached reads, fairness); stage transitions are review-triggered at sustained ≥70% of the current stage's #5829 envelope floor (Stage A: 1,400 tps), never automatic; §5 never-auto-scale list incl. single-region strong consistency for v-next.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|