B7.5.3 · dive 3 of 3 · module B7.5
The bank, the pool, and the rake.
Each prize game holds a BNK escrow, a pool the all-pay attempts fund; the house takes a published, transparent rake rather than seating hidden players, and the remainder pays the top entrants as diamonds at the close.
The idea
codemojex · the bank, the pool, and the rakeEach game with a prize has a bank, a BNK escrow that holds its pool for the life of the game. In a paid room the pool is what the attempts fund: every all-pay charge adds to it, which is why a blind room can settle on the stakes it has gathered rather than on a fixed purse. The bank belongs to the game, not to a player, until it is paid out.
The house takes its share through a rake, and the design choice is to make that rake explicit. A published cut — a known percentage, or a capped or guaranteed pool stated up front — lets a player see exactly how the pool becomes the prize before they enter. At the close the rake is taken and the remainder is paid to the top entrants as diamonds, the prize currency.
There is a tempting alternative the reference design declines: seating undisclosed house players that can win prizes back from paying users. That is a hidden rake wearing a costume, and depending on the jurisdiction it can cross into deceptive or unlawful practice. The candid levers — a published rake, a minimum-participant threshold, a guaranteed floor — do the same economic work in the open, and the question of any house participation is left flagged for the chief architect and legal rather than wired in.
The doors
the sibling coursesEchoMQ — the protocol, in depth
The bus B3 narrates, taught rung by rung: the keyspace, the Lua inventory, and the 3.0 Stream Tier — XADD, XREADGROUP, XACK — with conformance on Valkey.
Redis Patterns Applied
The substrate patterns under the bus: sorted sets, atomic Lua moves, locks, and streams — the judgement layer.
/echo-persistenceEcho Persistence — the durable floor
Beneath the volatile tiers: the Graft page engine built twice, the commit-LSN loop, and the stream archive on Tigris. Where Part I says state lives somewhere, this says where it lives durably.
References
sources · relatedSources
- All-pay auctions — every bid is paid, the standings decide the prizethe bank a paid room’s attempts fund, a pool paid out after the rake
- Easley & Kleinberg — Networks, Crowds, and Markets, ch. 9the rake and the pool a sealed settlement pays the top entrants from
- Helland — Life Beyond Distributed Transactions (CIDR 2007)a wallet and a bank as durable entities, the ledger as the record of truth
Related
- BCS — the course homethe law, the id anatomy, the chapter map
- Echo Persistencethe durable floor beneath the bus