A leaderboard with a scheduled reset
Rank from a summary table rather than the raw ledger, snapshot the winners before you clear, and pay from the snapshot.
8 entries
Rank from a summary table rather than the raw ledger, snapshot the winners before you clear, and pay from the snapshot.
A daily rotating hash and a unique index. Honest numbers, nothing personal stored, and no consent banner needed for it.
Server-held session state, one destination at a time, dwell enforced on the server. The core of a traffic exchange in one table and two functions.
Four queries — earnings concentration, shared visitor keys, signup velocity, payout-to-activity ratio — that surface abuse without a fraud engine.
Numbered SQL files, a table of what has run, and a splitter that does not break on semicolons inside strings.
Pick a creative that matches the slot size, prefer one the visitor has not already been paid for today, and never leave the slot empty.
GROUP BY date skips days with no rows, which makes every chart lie. This fills the gaps before the data reaches the chart.
No Redis, no extension, no cron. One table and one function that caps any action per key within any window, and fails open so an outage never locks the site.