Thursday 18 January 2018

Need some help on choosing a method of running groups of async operations as singular jobs in Node. App is a simple crypto trading platform.

A group of async operations to fulfill a trade would be something like:fetch trades from dbapply a matching algorithmcreate and update multiple db entriesnotify connected users via websocketsWhat technology makes the most sense to this? It needs to be fast (users should only have to wait a few seconds to get a confirmation), it needs atomicity, and it needs to have reliable ordering.I'm looking at 1) using something lightweight like bull or kue or 2) using something heavier like rabbitmq or amazon sqs. Anyone have experience doing something similar with these services?I'm new to node and the ecosystem is still unfamiliar to me! Am i missing a better or simpler option?

Submitted January 18, 2018 at 04:07PM by antique_swordfish

No comments:

Post a Comment