Joining the public network as an operator starts with the staking program.
and we’ll help you
get set up.
Prerequisites
- A machine where memory and disk match your cache plans; the gateway’s disk footprint is mostly its slice cache and its indexes.
- A reliable Solana RPC endpoint.
- A wallet with SOL and enough TAPE to stake past the network’s access threshold, the voted minimum stake storage nodes require before they’ll serve a peer (why stake gates reads). See Tapenet funding.
Install
Install Tapedrive on the machine that will run the gateway.Stake
A gateway registers and stakes like a node but never joins the committee. It holds no spools, casts no votes, and owes no storage. The stake is what opens reads from storage nodes.join-committee. Registered and staked without joining is exactly what a gateway is.
Stake activates over two epochs. Check the current access threshold before you size your stake.
Configuration
The samenode.yaml drives the gateway; the gateway section is where its own behavior lives:
http to the world, and firewall the https peer side the same way you would a storage node’s. Size the cache to your working set; the gateway caches slices, so cached content costs about what the decoded objects would (how gateway caching works).
Rate limits and access tiers are yours to set. The defaults match Tapenet’s hosted public
tier; loosen or tighten them to match the service you’re running
(rate limits).
Run
Serving under load
At saturation the gateway sheds load at the edges instead of buffering without limit. Queues and connection counts are capped, so latency degrades predictably and memory stays flat. The knobs that matter when tuning: the cache budget, the concurrent-request caps, and the per-IP metering.Fronting with a CDN
For public content at web scale, put a CDN in front. Tapedrive content caches unusually well, and the integration pattern, cache policies, and caveats live on the CDN page.Metrics
A build with themetrics cargo feature serves /v1/metrics on the HTTP listener (telemetry lists every identifier). The alerts worth paging on: