logo

Building High-Throughput Applications with Bulk Messaging in Dapr

2023-04-19

Authors:   Shubham Sharma


Summary

Dapper is a tool that simplifies the process of building microservices by providing a set of building blocks that handle common tasks such as service discovery, state management, and pub/sub messaging.
  • Dapper allows developers to focus on writing business logic instead of worrying about infrastructure
  • Dapper provides a set of building blocks that handle common tasks such as service discovery, state management, and pub/sub messaging
  • Dapper's bulk API allows for improved latency and faster communication between applications and the Dapper control plane
  • Dapper's SDKs make it easy to write code that interacts with Dapper's building blocks
  • Dapper can be used with Kubernetes to simplify the process of deploying and managing microservices
During the presentation, the speaker demonstrated how easy it was to switch a component from using Redis to using Kafka by simply updating an environment variable. They also showed how Dapper's bulk API could be used to publish multiple events at once, improving latency and reducing the number of requests needed. Finally, they demonstrated how easy it was to write code that interacts with Dapper's building blocks using the JavaScript SDK.

Abstract

Pub/Sub is a core building block of Dapr that enables developers to create event-driven applications. With the v1.10 release, Dapr has introduced a new set of capabilities to the pub/sub building block - Bulk Publish and Bulk Subscribe. This presentation will include an introduction to the pub/sub building block, different messaging patterns supported by Dapr, and strategies for achieving high throughput in applications using the Bulk APIs, along with performance benchmarks.

Materials:

Post a comment

Related work