Тёмный

NodeJS Microservices | Implementing a Microservice using RabbitMQ in NodeJS 

Mano Sriram
Подписаться 3,3 тыс.
Просмотров 23 тыс.
50% 1

In this video, I talk about microservices and implement a very basic microservice using NodeJS and RabbitMQ.
Github Repo: github.com/manosriram-youtube...
Don't forget to Subscribe!
Share your ideas for my next video: request.manosriram.com
Find pair-programming partners: www.mydevfriend.com
FOLLOW ME HERE:
Website: manosriram.com
Github: github.com/manosriram
LinkedIn: / manosriram
My Blog: blog.manosriram.com
Twitter: / _manosriram
📻 Join the Discord Server: / discord

Опубликовано:

 

19 янв 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 52   
@tranquillityEnthusiast
@tranquillityEnthusiast 3 года назад
This channel should have million subscribers...
@pepecalixto2790
@pepecalixto2790 2 года назад
Excellent channel! Straight to the point! Keep on going man!
@manosriram
@manosriram 2 года назад
Thank you :)
@adedejiibrahim7
@adedejiibrahim7 3 года назад
God bless you for this video. Simple and straight to the point
@manosriram
@manosriram 3 года назад
Thank you, Means a lot 🙂
@swain7836
@swain7836 2 года назад
it's basic but you explain it very well. Thanks
@khawarqureshi8858
@khawarqureshi8858 Год назад
perfect. to the point. informative
@FerShibli
@FerShibli Год назад
you're awesome, this was pretty straightforward
@vishal.shetty
@vishal.shetty 2 года назад
Wow! Amazing.
@angzar
@angzar Год назад
nice basic explanation
@msainikitha
@msainikitha Год назад
i learn from your videos. Thanks 😊
@manosriram
@manosriram 8 месяцев назад
Thanks a lot!
@igorbrasil8066
@igorbrasil8066 Год назад
excellent!!
@ratnakiduniya8138
@ratnakiduniya8138 Год назад
Bro your explanation is really good...please make videos...make one series kind of thing if possible...
@guruprabakaran5168
@guruprabakaran5168 2 года назад
It's really helpful. Could you please help me to achieve this approach in Python or Flask python?
@ayyappa244
@ayyappa244 3 года назад
Please share the git repo, so that it is easy for bingers. Nice explanation
@manosriram
@manosriram 3 года назад
Its in the video description. You can take a look at it.
@tipsmooc
@tipsmooc 3 года назад
Tks Bro. Please help me fix error: "Socket closed abruptly during opening handshak". I think the installation with docker seems to have a problem.
@prakashkumargupta5498
@prakashkumargupta5498 Год назад
how to insert data in mysql database using rabbitmq please tell me
@milon27
@milon27 Год назад
how to design database in microservice
@geek.with.a.camera
@geek.with.a.camera 3 года назад
I have started learning RabbitMQ recently and going through their documentation and watching another tutorial video on youtube (using Java) I learnt that it uses Exchange and and is binded to queues through some routing key. But here I see it used totally different (directly interacting with queue without the need for exchange and routing key). Does it have a different implementation in Nodejs or am I missing something?
@nickihlljack7366
@nickihlljack7366 3 года назад
No the implementation is the same..I believe this tutorial is simple to show just the idea behind microservices communication in Node using RabbitMQ..For a production implementation the Exchange , binding and routing keys are necessary for Publish/Subscribe
@ferin_patel
@ferin_patel 3 года назад
I have one question over here. Let's Assume my one service is located on different server and another service on another server. Then how i am going to connect them with RabbitMQ. In this example you simply used local-host for both services but in real situation this would not be the case. Please help me out here.
@phoehtaung
@phoehtaung 3 года назад
I am thinking you would host the RabbitMQ on a cloudVM (e.g AWS EC2) or you could even use managed RabbitMQ service like CloudAMPQ
@tropikalGG
@tropikalGG 2 года назад
so... good tutorial but how do you deploy this?
@alessiorizzolo8709
@alessiorizzolo8709 2 года назад
Is there a way to inform he publisher that a message has been successfully delivered to the consumer?
@maxinitin
@maxinitin 3 года назад
How do you connect with rabbitmq cluster with mutliple nodes? how the connection string looks like then?
@gordonfreimann
@gordonfreimann 2 года назад
Google?
@bushranikhat2326
@bushranikhat2326 3 года назад
How to make connection between mongodb and rabbitmq.? Means ,I want to fetch data from mongodb and send it to rabbitmq ..
@manosriram
@manosriram 3 года назад
Will make a video on it very soon.
@mitulpatel6436
@mitulpatel6436 3 года назад
Getting Socket closed abruptly during opening handshake error. Are we not mentioning rabbit mq credential while connecting?
@manosriram
@manosriram 3 года назад
Is the rabbitmq docker container running in the background?
@moylababa8196
@moylababa8196 2 года назад
why did you write app.get instead of app.post into service 1? since it's sending data, shouldn't it have been app.post ?
@mukeshkumar-gd2vk
@mukeshkumar-gd2vk 3 года назад
Sir if service 1 is queing a message and service 2 has acknowledged it then how service 3 will get msg. Also provide help to run rabbitq on docker. Great video for understanding
@manosriram
@manosriram 3 года назад
In that case, you can create consumer groups (which is a set of subscribers of a specific channel) and consume from that channel. By doing this, you will be notified of events to multiple services.
@mukeshkumar-gd2vk
@mukeshkumar-gd2vk 3 года назад
@@manosriram thanks sir, one more question if service 1 is updating some data and has to sync same data on service2 but rabbitq is not working for some reason at that time then how to sync data across microservices.
@mukeshkumar-gd2vk
@mukeshkumar-gd2vk 3 года назад
Sir kindly help. How to configure rabbit mq with database to use it in our production. What will be the cost.
@manoharmano9434
@manoharmano9434 2 года назад
docker command used in the tutorial shows as not recognized, can i know how to install docker in windows for rabbitmqq running
@manosriram
@manosriram 2 года назад
You can download docker from www.docker.com/get-started
@chihabahmed5207
@chihabahmed5207 3 года назад
excellent bro, can you make a quick to tutorial on vim and some keyboard shortcut that you use because it will help us immense . also, do you think its a good idea to start my project with a microservice as I am going to build a small social network and I am expecting, a messaging system, moderation system , login etc etc. I am following a tutorial in udemy on how to implement this using event driven / busses, just like rabitmq but not sure if If its a good idea to start my project in this manner because I would need to handle some moderation to my content and possible third party ai that would flag contents so later I could manually review them and reject or approve them. thanks
@manosriram
@manosriram 3 года назад
Thank you. I already have a video on Vim, do check it out. Monolith or Microservice, I think it depends on your preference. If you're going to have a huge application or you don't want to risk downtime, it is better to go with microservices
@chihabahmed5207
@chihabahmed5207 3 года назад
​@@manosriram oh you have a video already? I will check your channel.
@ishasharma744
@ishasharma744 Год назад
installing docker is mandotary? or there is another command to do the same thing?
@manosriram
@manosriram Год назад
you can install rabbitmq without docker also, but docker is the easiest way to start the rabbitmq server. You can download it here: www.rabbitmq.com/download.html
@StarDust_2077
@StarDust_2077 3 года назад
Can this be done without docker?
@manosriram
@manosriram 3 года назад
Yes, it can be done without docker too by installing it on your system.
@windwardhive7363
@windwardhive7363 3 года назад
can you please share repo link for this video?
@manosriram
@manosriram 3 года назад
Here it is: github.com/manosriram-youtube/node-microservice
@windwardhive7363
@windwardhive7363 3 года назад
@@manosriram thanks
@chrishanthacosta4093
@chrishanthacosta4093 3 года назад
hi, brother, every thing fine except elon musk, cause I think elon is not a role model or someone we need to have some honour of. he married 3 times. has forgotten basic human values like family, common good of humanity etc. As an archetypal american entrepreneur he focuses on profit and profit only. See how many poor people in his own country. he is not going to solve that problem but trying to setup a space business. Moreover he is getting support from american government for all his business ventures while americans preach to other countries stay away from private enterprise.. this is enough..
@SD-dv8zw
@SD-dv8zw Год назад
Dude you are at very begining level you have to study more. Try to make videos after doing lots of study. You seems very confused while making video.
@manosriram
@manosriram Год назад
Sure brother, do have a look at my new videos.
Далее
What are Message Queues? | BullMQ Queues NodeJS
44:12
КРАСИМ ДЕНЬГИ В РОЗОВЫЙ!
01:01
Просмотров 592 тыс.
RabbitMQ on Kubernetes for beginners
20:49
Просмотров 42 тыс.
Intro To RabbitMQ
54:06
Просмотров 94 тыс.
NodeJs Microservices using RabbitMQ (Message Queueing)
40:38
Introduction to Kafka + NodeJS
26:52
Просмотров 10 тыс.
The RabbitMQ Tutorial
38:09
Просмотров 11 тыс.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Просмотров 75 тыс.