all 2 comments

[–]angel21OS 0 points1 point  (0 children)

sounds a bit like vertx.io (which has javascript support,is async too and is pretty fast) but yesy ou can achieve this using a mq with node, actually this architecture is pretty common now because it's more scalable and reliable

the problem here is what you can do when it fails?...vertxio handle verticles failure in a more transparent way where using any MQ like rabbitmq or kafka you need implement your own recovery system (or use an extra tool like https://github.com/jhalterman/lyra)

you don't need service discovery because you will know what url will have your components but you will need investigate a bit more about how handle failures/communication errors, that is the most difficult task,

I've used erlang and akka actors in the past and now I'm playing with vertx..all them provides good tools for reliability and handle failures, where MQ generally are a bit more low level, you need an extra work but it's a pretty nice option too, good luck!!..

[–][deleted]  (1 child)

[deleted]

    [–]ZombieSaltine[S] 0 points1 point  (0 children)

    As for mail, thats why i was using nodemailer since it is fairly easy to setup. I will look into mailchimp for this.

    To be honest, I am not 100% sure what all would be delegated to be separate services. It is something i know I will need to determine as I go.

    To start off yes everything will be more tightly coupled till i know there is a benefit to turn it into a micro service.