Payment platforms
Card testing attacks are spotted by velocity counters within seconds and blocked before the next attempt.
Score every payment in the request path with velocity counters, known-bad lists, card frequency and model features, read from one server.
One counter per card per minute, given a one-minute expiry after the first increment.
An animated walkthrough with real HotKV commands and example replies. Click any step to jump to it.
Fraud checks have to happen before a payment is approved, within the latency budget of a checkout. The signals that matter, such as how many attempts this card made in the last minute or whether this device is on a blocklist, are hard to compute quickly from a transactional database.
HotKV keeps the signals ready. Counters with short expiries track velocity, a Bloom filter answers whether a card or device is known to be bad, a Count-min sketch estimates how often a card has been used across the day, and the feature store serves the risk model's inputs. A rules engine or model combines them before the payment goes through.
One counter per card per minute, given a one-minute expiry after the first increment.
INCR velocity:card:4f1a:mA Bloom filter of known-bad devices in constant memory.
BF.EXISTS blocked:devices dev:8812A Count-min sketch estimates card usage across millions of cards without a counter per card.
CMS.QUERY cards:today card:4f1aAccount age, usual country and average basket for the risk model.
FEATURE.GET risk_features account:42High velocity on a three-day-old account. The payment is sent to review instead of the provider.
XADD fraud:review * card 4f1a account 42 score 0.91Card testing attacks are spotted by velocity counters within seconds and blocked before the next attempt.
New accounts with unusual baskets and devices on a blocklist are sent to manual review.
Coupon abuse is caught by counting redemptions per device and payment method.
INCR with an expiry per time bucket, down to nanosecond precision.
INCREXPIRENEXPIREBloom filters for cards, devices and emails.
BF.ADDBF.EXISTSCount-min sketches for usage across huge key spaces.
CMS.INCRBYCMS.QUERYTyped features for the risk model.
FEATURE.GETIt can report a false positive at the error rate you configure, so use it to trigger extra checks rather than a hard decline.
In your own service. HotKV provides the signals quickly so your rules or model can decide inside the checkout's latency budget.
Counters and probabilistic structures work on every plan. The feature store is part of the Performance and Scale plans.
HotKV speaks the Redis protocol, so you can point an existing client at it and run these same commands.