Back

Performance

Server-side filtering for MongoDB CDC

MongoDB database-wide change streams apply database and collection filters before events are decoded, cutting unnecessary change-stream traffic.

MongoDB database-wide change streams now apply configured database and collection filters before Artie decodes events, rather than relying only on a later client-side guard. The client-side check remains as a second layer.

Why this matters

  • Cut unnecessary change-stream traffic for pipelines that watch only part of a database
  • Preserve behavior for pipelines already relying on the existing client-side check