A recurring problem in multi-service backends is storing user-defined filter rules in a database (feature flags, webhook routing, promotion eligibility, alert filters) and then evaluating those same rules in memory across different runtimes.
One service is in Ruby, a worker is in Go or Python, and the admin UI previews the rule in TypeScript before saving it. Without a shared matcher, teams either invent a custom JSON DSL and maintain three slightly different interpreters, or spin up a database round-trip for data that is already sitting in RAM.
Most developers already know MongoDB's query syntax ( $and , $or , $in , $elemMatch , dot paths).β¦