Platform & Performance
What TG Filter is built on, and what it costs per message.
Two Services
TG Filter is two services with separate lifecycles. The detection engine normalises text, applies phrase signatures, checks URLs against reputation data and campaign history, and consults a semantic judge only for messages that remain ambiguous. The application service handles accounts, billing, API keys and the dashboard, and it reads the decision log without ever mutating a verdict. The two can be released, upgraded and rolled back independently, so a dashboard change cannot affect moderation.
curl https://bot.tgfilter.co/healthzDetection
Owns classification and the decision log. Exposes classify and health endpoints.
Application
Accounts, billing, API keys, and a read-only view of decisions.
Measured, Not Claimed
Numbers below come from the benchmark harness, not from estimates. Per-message classification is about 10.5 microseconds. The HTTP surface sustains roughly 66,000 requests per second at 8 clients and 97,000 at 128 clients. Batched decision writes reach 800,000 records per second. These are per-process figures on the hardware we test on, and are published so you can size a plan against your own traffic.
~10µs per message
Normalisation, rules and signature matching combined.
Bounded resources
1 MiB body cap, read and write timeouts, a fixed connection pool, and a per-account judge quota.