damianiandrea / mongodb-nats-connector

A connector that uses MongoDB's change streams to capture data changes and publishes those changes to NATS JetStream.
MIT License
49 stars 7 forks source link

What is the connector performance? #22

Open dangelowiz opened 9 months ago

dangelowiz commented 9 months ago

Hi, I have a question. Do you have any benchmark or data related to the Connector's performance? How many messages per second can it send to NATs, and ways to tweak the configuration to maximize the throughput? Thank you!

damianiandrea commented 9 months ago

Hi @dangelowiz , thanks for the question!

The answer is no, I haven't tested the performance of the connector yet as I've been focusing on correctness, but it is in my plans to do so.

In fact that's probably the next thing that I'll do! :)

gedw99 commented 1 month ago

this is related in that its benchmarking code in goalng between nats and redis

https://github.com/yakuter/redis-vs-nats/issues/1

The blog post wants dto show how NATS can replace redis. Looks like it's about 50% faster with nats.

SO I was thinking how it will be a decent basis to also extend with mongoDB. Maybe it is useful. dont know ...