ama.bloom

Probabilistic data structures engineer

Probably yes. Definitely no.

See the sketches →Open to data infrastructure projects

Ama Mensah·Data infrastructure

work

Small answers, big data

Eight systems where an approximate answer in memory beat an exact one on disk. Each card sets its own three bits.

Ingest dedup−92% duplicate writes
Streaming

Ingest dedup

Ride-hailing platform

A rotating Bloom filter that drops repeated events before they reach the warehouse.

2025
Catalogue lookups1 disk read
Search

Catalogue lookups

National library

Per-segment filters so a missing title never touches the disk.

2024
Unique reach3 kB per campaign
Analytics

Unique reach

Media group

HyperLogLog sketches for daily reach that merge into any date range.

2024
Cache shield−70% DB load
Caching

Cache shield

Mobile money service

A filter in front of the cache that stops lookups for keys that don't exist.

2023
Fraud netp99 4 ms
Risk

Fraud net

Payments company

Count-min sketches spotting cards used too often, in real time.

2023
Heavy hitterstop-k in 2 MB
Observability

Heavy hitters

Telecom operator

The busiest endpoints across a billion requests a day, without storing them.

2022
Similar listings10× faster
Recommendations

Similar listings

Property marketplace

MinHash signatures that find near-duplicate listings across countries.

2022
Log retention−61% storage
Storage

Log retention

Cloud provider

Quantile sketches that keep latency percentiles after the raw logs are gone.

2021
services

Counting, gently

Sketches, filters and approximate answers for data too big to count exactly — with the error bars written down.

Filter design

From · $9k — Bloom, cuckoo and quotient filters sized for your keys and false-positive budget.

Streaming analytics

From · $14k — Distinct counts, top-k and percentiles over live streams.

Pipeline dedup

From · $8k — Exactly-once-ish ingest with windows, filters and replay tests.

Data review

Fixed · $3k — A week with your pipelines and queries, and where sketches would pay off.

hyperloglog lab

Count a million in a few kilobytes

Two days of app events — 200,000 a day from a skewed crowd of users. How many different people came? A HyperLogLog sketch hashes each user, keeps only the longest run of leading zeros per register, and estimates the count from that. Change the precision and the crowd and watch the estimate track the truth.

how I work

From seed to bloom

  1. Ask the question

    What you need to know, how fast, and how wrong you can afford to be.

  2. Pick the sketch

    Filters, counters or samples, sized on your real data.

  3. Prove the error

    Shadow runs against exact answers until the bounds hold.

  4. Watch it grow

    Fill and error dashboards so sketches are resized before they saturate.

Ama Mensah
Ama Mensah · Data infrastructure
about

I trade a little certainty for a lot of memory.

I'm Ama, a data-infrastructure engineer in Accra. For ten years I've built streaming pipelines and analytics systems for payments, telecom, media and mobility companies across Africa and Europe.

Most questions about big data don't need every row: did we see this before, how many people, which items are hottest. I pick the sketch, size it, and write down the error so nobody is surprised.

Bloom & cuckoo filtersHyperLogLogKafka · FlinkRust · JavaClickHouse
10 yrsin data infrastructure
4 Bevents a day, largest pipeline
1%typical sketch error
what they counted

In their own words

Our warehouse stopped filling with duplicates the week Ama's filter went live.
Kofi BoatengHead of data, ride-hailing platform
Reach numbers that used to take an overnight job now come back in a second, and they agree.
Lena HartmannAnalytics lead, media group
She wrote the error bars on every dashboard. Finance finally trusted them.
Adaeze OkaforCTO, mobile money service
clients

Fewer bytes, same answers

  • Ride-hailing platform
  • National library
  • Media group
  • Mobile money service
  • Payments company
  • Telecom operator
  • Property marketplace
  • Cloud provider

talks & awards

2025Probably correct, provably cheapTalk · data engineering conference
2024Sketches for streamingWorkshop · developer festival, Accra
2023Data infrastructure awardPan-African tech awards
2021MaintainerOpen-source sketch library
contact

Tell me what you're counting

Describe the data, its size and the question you can't answer fast enough. I reply within a day.

Based in
Accra, Ghana · remote
Phone
+233 30 000 0029
Local time
· local
Elsewhere
InstagramBehanceDribbbleLinkedIn
I'm looking for
Start

Made withSitesfareReport