No video

RabbitMQ - RPC with NodeJs (request-reply pattern)

  Рет қаралды 8,036

Computerix

Computerix

Күн бұрын

Пікірлер: 31
@basemmostafa3307
@basemmostafa3307 Жыл бұрын
This is KZfaq's hidden treasure that's just waiting to be found! In-depth RabbitMQ content is very scarce on KZfaq, and message brokers in general, and you did a signifacnt job on explaining it. Impressive work and effort, bro! Can't wait for this to blow up.
@Computerix
@Computerix Жыл бұрын
Thank you for the lovely comment !
@t-distributedkid3825
@t-distributedkid3825 9 ай бұрын
I couldnt find one proper video explaining RPC with node... Finally found this
@Computerix
@Computerix 9 ай бұрын
I'm glad my video helped !
@theunfilteredcomment5656
@theunfilteredcomment5656 Жыл бұрын
I can see your channel growing quickly. You're giving the people what they need 👍💪
@farzadforuozanfar5786
@farzadforuozanfar5786 Жыл бұрын
Thank you for this very good and professional course that is available for free
@LawZist
@LawZist Жыл бұрын
Subscribed :), one thing you can add is to remove the event listener from once the response came back
@Computerix
@Computerix Жыл бұрын
Thank you! Great suggestion
@BilalKhan-sx9eu
@BilalKhan-sx9eu 11 ай бұрын
Best explanation so far
@anonymoususer1087
@anonymoususer1087 Жыл бұрын
Your content is truly invaluable! If you have the time, would it be possible for you to create a video or series on building a mini ecommerce or social media backed application using multiple services, such as authentication, user management, order management, product management, and cart management, while adhering to best practices? This would greatly benefit learners looking to expand their knowledge in this area.☺
@Computerix
@Computerix Жыл бұрын
Thanks for the feedback! I'm glad the video was helpful. And great idea, will make sure to add it to the video ideas list :)
@hassanmhassan5500
@hassanmhassan5500 Жыл бұрын
Amazing bro, thank you for sharing such precious knowledge
@Computerix
@Computerix Жыл бұрын
You're welcome ! Glad you enjoyed the video.
@andrewananenko797
@andrewananenko797 4 ай бұрын
Great video man! I would want to know how you did this magic on 19:31? (check available props of object) - which is hotkey for that? I'm looking forward new videos about RabbitMQ ! Thanks
@Computerix
@Computerix 4 ай бұрын
Ctrl + space (Windows) cmd + I (Mac, I believe?) Thanks for the feedback!
@ShubhamSharma717
@ShubhamSharma717 3 ай бұрын
Thanks for the tutorial you saved my a$$
@NOName-ge8iu
@NOName-ge8iu 10 ай бұрын
such nice man you are , such nice tutorial
@juliusngwu
@juliusngwu 10 ай бұрын
Good job. Thanks
@user-ws3zi4vg5p
@user-ws3zi4vg5p 6 ай бұрын
Thank you for the Tutorial, may I ask why we created two channels each for a producer and a consumer, Can't we connect both producer and consumer to a single channel on the client side and similarly connect producer consumer to only one channel on server side, so in total we have two channels on RabbitMQ?
@Computerix
@Computerix 6 ай бұрын
I'm glad you enjoyed! It is recommended to use different channels when producing / consuming for performance reasons and to avoid issues. (www.cloudamqp.com/blog/the-relationship-between-connections-and-channels-in-rabbitmq.html check the last 2 points)
@bikramgyawali7292
@bikramgyawali7292 Жыл бұрын
this is really awesome content about RabbitMQ ever seen . I got good knowledge from this and your other video about rabbitmq , Can you provide me the source code link ? Thankyou again
@Computerix
@Computerix Жыл бұрын
Thank you so much for the feedback! Here is the repo : github.com/charbelh3/RabbitMQ-RPC-Example
@bikramgyawali7292
@bikramgyawali7292 Жыл бұрын
@@Computerix thankyou for providing the source code .
@user-kg2gv2bl6d
@user-kg2gv2bl6d Жыл бұрын
How to manage rollback mechanism.? for example if my 1st service have update some data after update completed based on 2nd service add some data, if 2nd service failed i want to rollback 1st service execution, how i can achive multiple micro-service in nodejs.?
@Computerix
@Computerix Жыл бұрын
Before updating the data, you can wait for the second service to complete its task successfully. So using await, you wait for the second service to return a success response (and a potential result), and once this is returned, you update the data in the first, if an error occurs or the results aren't returned, you throw an error in the first service (or do some other task) instead of updating the data that depends on the outcome of the second service
@user-kg2gv2bl6d
@user-kg2gv2bl6d Жыл бұрын
okay thankyou for your answer.!@@Computerix
@user-kg2gv2bl6d
@user-kg2gv2bl6d Жыл бұрын
can i use same request-replay-pattern with kafka.? can you please create video about request-replay-patter with kafka in nodejs with typescript.?
@Computerix
@Computerix Жыл бұрын
Yes, this can be done in kafka as well. I will add the idea to my list, thank you
@wymvlogs
@wymvlogs 8 ай бұрын
how can i connect to you 👋
@hoangofficial8021
@hoangofficial8021 Жыл бұрын
hi, what if a service acts as both a client and server?
@Computerix
@Computerix Жыл бұрын
Hello! In that case, both of them also play the role of a consumer and a producer (just like in this scenario), but you would need a reply queue for each of the two, and you would need to consume messages from 2 different queues in each of the 2 different services (so each service would have a reply queue, to get the response from the other service, and another queue to receive messages , to get the request from the other service(s))
SILHOUETTE vs AKUMA's REVENANT - Silhouette Carry
40:28
JustKimi
Рет қаралды 502
NestJs - Controllers [02]
20:32
Computerix
Рет қаралды 1,4 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 94 МЛН
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 12 МЛН
The Joker kisses Harley Quinn underwater!#Harley Quinn #joker
00:49
Harley Quinn with the Joker
Рет қаралды 19 МЛН
What are Message Queues? | BullMQ Queues NodeJS
44:12
Piyush Garg
Рет қаралды 31 М.
NestJs Microservices with RabbitMQ
23:21
Computerix
Рет қаралды 11 М.
NodeJs Microservices using RabbitMQ (Message Queueing)
40:38
Computerix
Рет қаралды 37 М.
NestJs - Best Practices + Implementations
22:26
Computerix
Рет қаралды 5 М.
Node.js is a serious thing now… (2023)
8:18
Code With Ryan
Рет қаралды 642 М.
Kafka + Microservices + Event Driven Architecture with NodeJS
34:01
Mahesh Kariya
Рет қаралды 37 М.
这三姐弟太会藏了!#小丑#天使#路飞#家庭#搞笑
00:24
家庭搞笑日记
Рет қаралды 94 МЛН