Can you tell us a bit more? Like:
- How big is your app
- Are you using the Mongo Oplog
- What usage type is your app (does it require realtime. Is it used for chat / blogging / Graphs. Is it used a lot by a few users or occasionally by a lot of users. Does it have a steady resource usage or are you dealing with spikes of users logging in at the same time?)
- Are you using performance monitoring tools like kadira / pm2 etc? They might give you some information about where the bottleneck is. It might be a matter of indexing.
You can easily hook its event stream to Meteor’s pub/sub system by using Meteor’s lower level publication API. Just keep in mind that Dynamo might not solve your performance issues. Its a similar type of database compared to MongoDB (both nosql / document based). However, by doing some quick comparison searches. You might find if dynamo will or will not solve your problem: https://optimalbi.com/blog/2017/03/15/dynamodb-vs-mongodb-battle-of-the-nosql-databases/
In the end it boils down to the size of your app. With Mongo, you get the API and all optimizations / glue from Meteor for free. With dynamo you’ll basically have to reinvent the wheel (partially) by hooking on your own publication behaviors. Main advantage of Dynamo if you ask me? Really fast reads (if done correctly and if it fits to your app’s use-case)
Here’s a lib that might help you with dynamodb streams