RabbitMQ tutorial - Remote procedure call (RPC) — RabbitMQ
This tutorial assumes RabbitMQ is installed and running on localhost on the standard port (5672). In case you use a different host, port or credentials, connections settings would require adjusting. If you're having trouble going through this tutorial you can contact us through the mailing list or RabbitMQ community Slack. As with other Python tutorials, we will use the Pika RabbitMQ client version 1.0.0. In the second tutorial we learned how to use Work Queues to distribute time-consuming tasks among multiple workers. But what if we need to run a function on a remote computer and wait for the result? Well, that's a different story. This pattern is commonly known as Remote Procedure Call or RPC. In this tutorial we're going to use RabbitMQ to build an RPC system: a client and a scalable RPC server. As we don't have any time-consuming tasks that are worth distributing, we're going to create a dummy RPC service that returns Fibonacci numbers. To illustrate how an RPC service could be use
On this page Remote procedure call (RPC) (using the Pika Python client) info Prerequisites This tutorial assumes RabbitMQ is installed and running on localhost on the standard port (5672). In case you use a different host, port or credentials, connections settings would require adjusting. Where to get help If you're having trouble going through this tutorial you can contact us through GitHub Discussions or RabbitMQ community Discord . Prerequisites As with other Python tutorials, we will use the Pika RabbitMQ client version 1.0.0 . What This Tutorial Focuses On In the second tutori
Explore this link on the map →related reading
- RabbitMQ tutorial - "Hello world!" | RabbitMQrabbitmq.com
- RabbitMQ tutorial - Work Queues | RabbitMQrabbitmq.com
- GitHub - webrpc/webrpc: webrpc is a schema-driven approach to writing backend services for modern Web apps and networks · GitHubgithub.com
- Core concepts, architecture and lifecycle | gRPCgrpc.io
- RabbitMQ tutorial - Publish/Subscribe | RabbitMQrabbitmq.com
- RabbitMQ tutorial - Routing | RabbitMQrabbitmq.com
- RSC From Scratch. Part 1: Server Components · reactwg/server-components · Discussion #5 · GitHubgithub.com
- Reading 18: Message-Passing and Networkingweb.mit.edu
- JSON-RPC 2.0 Specificationjsonrpc.org
- What is an RPC node? | Alchemyalchemy.com
- The Communication Protocol · Hugging Facehuggingface.co
- rpc package - net/rpc - Go Packagespkg.go.dev