Skip to content

Spillway Capabilities and Limitations ​

Experimental Alpha

Spillway is an experimental alpha. Its configuration, behavior and storage formats may change in future releases.

This page lists in one place what Spillway does, what it does not do yet and what it will not do, with the limits an operator plans around. It is a summary: each row links to the page that explains it. The design overview, deltafi-spillway/docs/design-overview.md in the repository, explains how Spillway works.

Features in This Release ​

This release runs one Spillway instance on Docker Compose, in DeltaFi's own stack or in a standalone stack (see Deployment).

AreaWhat Spillway does
DeploymentOne instance, in either of two modes: inside DeltaFi's Compose stack (deltafi.spillway.enabled), or standalone with its own s3proxy, VictoriaMetrics and Grafana, including an airgap bundle. Any number of channels.
Inbound formatsHttpEgress, DeltaFiEgress and FlowfileEgress (FlowFile v1 and v3, one FlowFile per request), each discovered from the request itself. POST and PUT only, over HTTP/1.1 (see Supported Egress Formats).
Inbound securityinternal mode, plain HTTP on DeltaFi's network, and mtls mode, where a client certificate SAN maps to a source name and each channel lists the sources it accepts.
Pass-throughA file whose consumer answers within passThrough.maxTime goes straight through with no committed disk write and no S3 call. Files up to memoryBytes pass through a memory buffer, so a consumer failure still ends in a local commit and a 200. Larger files stream. In auto mode Spillway predicts the consumer's time from its latency and bandwidth. A large file whose pass-through failed spills on its resend.
Local tierFiles committed to the local volume with a 1 ms group commit, kept in one-minute buckets, with retry and a dead-letter queue (DLQ). Startup loads buckets lazily, and a volume lock keeps a second Spillway off the volume. Bounded mode (storage.local.maxBytes) limits Spillway's own bytes on a shared filesystem.
Fair shareChannels on one volume share it equally with nothing to set (see Channels Sharing a Volume).
S3 tierDemotion packs the oldest data into segments in S3, and promotion brings it back ahead of delivery, in parallel. Works on Spillway's own s3proxy or on AWS S3. Includes a startup store probe, a sweeper for orphaned objects, S3 age-off per segment and control objects for pause, resume and connection caps.
DeliveryOldest-first delivery with adaptive concurrency, a circuit breaker, failure classes, retry with backoff and a DLQ. Live arrivals can bypass a young backlog, and reserved slots keep room for them.
AuditAn audit journal shipped to S3, with a terminal row for every accepted file, and age-off on both tiers guarded against clock skew.
MonitoringMetrics pushed to VictoriaMetrics, projections for catch-up and capacity exhaustion, a Grafana dashboard and alert rules (see Monitoring).
Admin APIThe single-instance subset: channel status, pause, resume, connection cap, force-demote, DLQ replay and purge, DID lookup and volume reset (see Admin API).
ReloadsConfiguration reloads live where a setting allows it. Outbound credentials reload from their files within about 20 seconds, with no restart (see Configuration).
DeltaFi integrationspillway resume-policies renders the DeltaFi auto-resume policies each Spillway-backed sink needs (see Resume Policies).
Test toolingspillway-sim, a staging simulator with a consumer, a load generator and a reconciliation ledger.

Planned for V1 ​

V1

These items are part of V1 and are not in this release. Where a setting for one exists, this release refuses a value other than its default.

ItemIn this release
DID header from DeltaFi's egress actions, read before discoverySpillway discovers each file's DID from the request's body or metadata header.
Kubernetes StatefulSet in the DeltaFi chart, with durability profiles and graceful shutdown for KubernetesDocker Compose only.
Several instances sharing one bucket, with heartbeats, adoption of a lost instance's S3 backlog (instance.adoptAfter, /admin/instances, spillway adopt-local) and inbound connection recycling across instancesOne instance. Its S3 backlog waits for it to return.
Duplicate identity detection (duplicate_identity, unadopted_s3_backlog_bytes)Two instances with one instance.id and instance.cluster are not detected.
Hot reload of inbound and admin certificatesA certificate change needs a restart.
Encrypted outbound client key (passphrase)An encrypted key is refused.
A memory limit and GOMEMLIMIT for the Spillway container, sized from a measured RSSNeither the Compose service nor the process sets a memory limit; memory grows with the channels and the workload.
Full gauge set, SOPs exercised in a game day, upgrade and version rulesThe shipped gauges and alerts. The SOPs are written, and exercising them in a game day is V1 work.
Sizing above one instanceA site above the single-instance target needs a sizing run of its own (see Single-Instance Target).
A bundled and an external object-store profileSpillway's own s3proxy, or AWS S3.

Deferred and Future ​

Two groups of work have no date. Deferred work waits for a measurement. Future work starts when its trigger appears.

Deferred itemWaits for
Simpler stream control for promotion, where streams = min(pool − 1, credit ÷ segmentTargetBytes)The Gate 1 G3 run. Tier and promotion rules are frozen until the G2 and G3 runs report.
Promotion freeing more room than a channel under its share needs, and a channel holding no bytes counting as a holderThe same work package.
Future itemTrigger
Sizing recommender, a plan command and what-if analysis from VictoriaMetrics historyObserved data from two or three sites
DeltaFi TUI, UI and Central integrationOperators running more than a few buffers
Relay between buffers (hop headers, loop limit)A consumer reachable only from another region. Chaining to another buffer's URL already works, with retention restarting at each hop.
Bulk cross-region transferAn evacuation larger than relay can move in a window
Continuous production ledger on a sample of DIDsA site that requires ongoing reconciliation
Total connection cap across instancesA consumer whose limit is below instances × a useful per-instance cap
Replicated local tierA site that needs host-loss durability without network volumes
Non-blocking DeltaFi egress actionDeltaFi egress threads become the limit despite tuning
Automatic sink configuration from DeltaFiMany sinks routed through buffers
Distroless image, image signing, FIPS buildA site that requires them
DeltaFi events for age-off and DLQOperators who need them beyond alerts
Fewer local-tier disk operations per file (local segments exploration)The Gate 1 IOPS measurement shows per-file overhead dominating EBS cost at a site's file-size mix

Non-Goals ​

Spillway does notBecause
Deliver in orderFiles may reach the consumer in any order.
Deliver exactly onceDelivery is at least once. Consumers dedupe on (DID, data sink) for at least retentionHours (assumption A3 in the overview).
Transform data, or route beyond channel selection by URL pathA channel is one path from DeltaFi to one consumer. Transformation and routing stay in DeltaFi.
Keep a databaseState lives in local files and S3 objects.
Bound the loss of a local volume in softwareLocal durability is the volume's (assumption A2). Choose a durability profile for the loss you must survive (see Durability Profiles).
Follow redirects, or accept methods other than POST and PUTA consumer's 3xx is not followed, and any other inbound method gets 405.

Limits and Defaults ​

Every row is per instance and per channel unless it says otherwise. A link in the last column goes to the setting's reference.

AreaLimitDefaultSetting
AdmissionRequest headers64 KiB, then 431Built in
AdmissionFlowFile attributes64 KiBBuilt in
AdmissionLargest file10 GiB, then 413channels[].maxFileSize, see Channels
AdmissionConcurrent inbound requests per channel32, then 503 stream capchannels[].maxStreams, see Channels
AdmissionInbound connections for the instance4 × the sum of maxStreams over channelsDerived from channels[].maxStreams
AdmissionInbound connection lifeClosed after 1,000 requests or 5 minutesBuilt in
Pass-throughLongest predicted consumer time50 mschannels[].passThrough.maxTime, see Channels
Pass-throughMemory-path size1 MiB, at most 16 MiB and at most maxFileSizechannels[].passThrough.memoryBytes, see Channels
Pass-throughWait for the consumer after the body ends8 s, and it must be below DeltaFi's 10 s timeoutchannels[].responseBudget, see Channels
Pass-throughOutbound idle timeout5 s, and it must be below responseBudgetchannels[].passThrough.idleTimeout, see Channels
Pass-throughSpill on resend after a failed large pass-through1 hchannels[].passThrough.spillNextTtl, see Channels
Pass-throughLive bypass of a backlogA backlog younger than 1 hchannels[].passThrough.bypassMaxAge, see Channels
Pass-throughDelivery slots kept free for live arrivalsThe smaller of 2 and maxConnections − 1channels[].passThrough.reservedSlots, see Channels
Local storageSoft limit, where demotion starts50%storage.local.softLimitPct, see Local Storage
Local storageHysteresis, where demotion stops5 points below the soft limitstorage.local.hysteresisPct, see Local Storage
Local storageHard limit, above which arrivals that would be stored get 503 hard limit80%, at most 95%storage.local.hardLimitPct, see Local Storage
Local storageFair-share admission bandFrom the hard limit minus the hysteresis to the hard limit: 75% to 80%Derived from the two settings above, see Channels Sharing a Volume
Local storageUsage measureThe larger of the byte fraction and the inode fraction of the filesystem; with storage.local.maxBytes set, Spillway's own bytes against that budgetBuilt in, see Local Storage
Local storageGroup commit window1 msBuilt in
DeliveryOutbound connections per channel8channels[].outbound.maxConnections, see Channels
DeliveryAdaptive limit halves above this consumer latency500 mschannels[].outbound.adaptive.latencyTarget, see Channels
DeliveryConnect, idle and response timeouts2 s, 60 s and 60 schannels[].outbound.timeouts, see Channels
DeliveryResponse body read after the statusAt most 2 s and 1 MiBBuilt in
DeliveryBreakerOpens after 5 consecutive consumer failures, stays open 30 s, then probes every 30 schannels[].outbound.breaker, see Channels
DeliveryEntries added to memory per step of a bucket load16,384Built in
RetryAttempts before the DLQ10channels[].outbound.retry.maxAttempts, see Channels
RetryBackoff30 s doubling to 1 hchannels[].outbound.retry.backoff, see Channels
RetryRetry entries held in memory per channel4,096; the rest stay on diskBuilt in
SegmentsTarget size64 MiB, at most 1 GiBstorage.s3.segmentTargetBytes, see Advanced: Packing and Transfers
SegmentsMembers and time spanAt most 1,024 files, received within 60 minutesBuilt in
SegmentsUploadMultipart above 5 GiB, with parts of max(16 MiB, size ÷ 9,000)Built in
SegmentsSize of one demotion jobAbout 64 segments or 65,536 filesBuilt in
SegmentsConcurrent uploads and promotion jobs across channels8, from 1 to 64storage.s3.transferParallelism, see Advanced: Packing and Transfers
SegmentsPromotion credit ahead of deliveryThe larger of one segment and 30 s of the channel's delivery rate, or of its spare consumer capacity when that is higherBuilt in
RetentionTime before an undelivered file ages off336 h (14 days)channels[].retentionHours, see Channels
RetentionLateness of S3 age-off, which works per segmentUp to 1 hBuilt in
AuditJournal rotationAt 64 MiB or 5 minutesBuilt in
AuditUnshipped journal on the local volume, above which arrivals that would be stored get 503 audit backlog10% of the volumeaudit.maxLocalBytes, see Audit
AuditShipped audit objects kept in S390 daysaudit.retentionDays, see Audit
ClocksOffset to the object store's clockAlert above 5 s; above 60 s, or unknown, age-off and the audit sweeper's deletes are suspendedBuilt in
StartupFirst store probeVerdict within 10 sBuilt in
StartupOpen filesThe budget in Open-File Budget; one channel at its defaults needs 8,654Derived from maxStreams, maxConnections and transferParallelism
AdminDID lookupOne at a time, then 429; ends within 2 minutesBuilt in, see DID Lookup
AdminDLQ purge by DIDAt most 1,000 DIDs per requestBuilt in, see DLQ Purge by DID

The single-instance target, about 965 files/s normal and 4,847 files/s in a 600 s burst on one c8gn.4xlarge with a 369 GB gp3 volume, about 16.7 TB/day at a 200 KB mean file, is under Single-Instance Target. On that volume a burst during a consumer outage reaches the hard limit in about 138 s from a steady outage state, or 308 s from empty, because one instance cannot demote at burst rate.

Durability Limitations ​

Spillway makes the guarantees in Guarantees. These limits sit outside them.

LimitationWhat it meansWhat to do
A1: pass-through audit is best effort on host failureA kernel panic or power loss of the Spillway host can lose the audit rows of the last few milliseconds of pass-through files. It loses an audit row only, never a transmission. A process crash loses nothing.Nothing; DeltaFi's own DeltaFile records the egress.
A2: local files are as durable as the local volumeLosing an unmirrored volume loses its local backlog, its DLQ entries and its unshipped audit journal.Use a mirrored disk or a reattachable network volume (see Durability Profiles).
s3proxy does not fsyncIf the host running Spillway's own s3proxy loses power, data just demoted to it can be lost. Spillway has deleted its local copy, so the files are gone without an audit record of the loss.Use AWS S3 or another resilient store (see Choosing an Object Store).
Local NVMe is supported at the site's own riskInstance-store NVMe is lost when the instance stops or its host fails. Gate 1 measures gp3 only.Size from the gp3 figures and accept the risk, or use a network volume.
Consumers see duplicatesEvery crash window and budget expiry resolves to a duplicate delivery, never a loss.The consumer dedupes on (DID, data sink).

Operational Caveats ​

CaveatDetail
Default directories share DeltaFi's filesystemspool_dir and s3_dir default under DeltaFi's data directory. deltafi up refuses both on one filesystem unless storage.local.maxBytes is set, and a spool that shares DeltaFi's disk counts DeltaFi's own data as local usage (see Enabling Spillway).
Alerts reach no one by defaultDeltaFi's Grafana and the standalone Grafana have no contact point until you add one (see Alerts).
internal mode has no authenticationAnything on the deltafi network can send files to the inbound listener and call the admin API (see Security).
One channel per DeltaFiEgress sinkDeltaFiEgress names no data sink, so two sinks sending one DID to one channel look like duplicates (see Supported Egress Formats).
metadataKey must matchA sink whose HttpEgress metadataKey differs from the channel's gets 400 missing did. A channel delivering to DeltaFi's egress-sink needs metadataKey: DeltafiMetadata (see Pointing a Data Sink at Spillway).
Resume policies are requiredWithout the DeltaFi auto-resume policies a 503 from Spillway leaves the file errored in DeltaFi (see Resume Policies).
The plugins key must be unencryptedA channel's client certificate key with a passphrase fails to load (see Enabling Spillway).
Identity defaults are the same everywhereEvery install's default instance.id and instance.cluster are identical, and duplicates are not detected in this release. Set your own before the first start (see Before the First Start).
instance.cluster cannot change laterChanging it orphans the data stored under the old value (see Instance).
A degraded volume stops backlog deliveryWhile the volume is degraded, Spillway sends no backlog deliveries. Arrivals that would be stored get 503 degraded, and every admin mutation except volume reset and force-demote is refused (see Local volume degraded).
Consumer-scoped failures do not spend retriesA failure that blames the consumer counts toward opening the breaker and leaves the file's attempt count alone. Only file-scoped failures count toward maxAttempts.
HttpEgress holds a DeltaFi thread for each responseDeltaFi's send rate is closed-loop on Spillway's response time, and threads are shared by every sink of the action class (see DeltaFi Thread Coupling).
A hard-limit episode is visible in DeltaFiWhen the volume is full, DeltaFi sees 503 hard limit and retries through its resume policies until demotion and delivery make room.

Qualification Status ​

Gate 1 is the check that the single-instance release works on its target hardware. deltafi-spillway/test/gate1/README.md maps each check to how it is proved, and the results go in the Gate 1 record, docs/superpowers/plans/2026-11-11-spillway-gate1-record.md. As of 2026-11-21 the record holds these results, and no Gate 1 row has a recorded verdict.

Gate 1 checkRecorded result
Ledger clean across the failpoint, kill -9 and power-loss suitesmake crash-test and make powerloss-test passed on 2026-11-17 on commit 5c8c01b02's tree. The record lists both to run again after a fix round to the suites, and holds no rerun.
Pass-through adds under 5 ms p99No recorded run. Smoke runs on a laptop only.
Spill rate and IOPS on gp3 (runs G1, G2 and G3)No recorded run. Targets are written. No Linux run of the benches has been made.
Single-stream promote throughput on gp3No recorded gp3 run. A laptop smoke run measured 130.5 MB/s a stream on one stream against a same-host s3proxy.
DeltaFi throughput at the default 4 egress threadsNo recorded run.
Slow, intermittent, down and large-file-failing consumers, 24 h eachNo recorded run.
S3 outage with the consumer downNo recorded drill. Phase 1 of the end-to-end test ran with Spillway's s3proxy stopped and reached the hard limit.
Short retention, age-off on both tiersNo recorded drill.
End-to-end DeltaFi: full episode and Spillway killPassed on 2026-11-17 against a local Compose, DeltaFi 2.68.1-SNAPSHOT, commit 07b6cb808: 4,000 of 4,000 DeltaFiles COMPLETE, none in ERROR, in 208 s.
Restart time with a full local tierNo recorded run. Smoke runs on a laptop only.
One pilot channel in a Compose deploymentNo run. The site and channel are not named.
Power reset and dm-flakey drills on a real VMNo recorded run.
Fluid simulation rerunsThe spec records reruns on 2026-11-11, 2026-11-17 and 2026-11-19.
Largest minute bucket per channel (290,820 files)Developer-machine figures only; no recorded run on the G3 host.

A figure on this page that depends on a run listed as not recorded is a planning value from the sizing rules, not a measurement.

Contact US