Skip to content

Commit

Permalink
Update actors-timers-reminders.md
Browse files Browse the repository at this point in the history
  • Loading branch information
yaron2 authored Mar 1, 2024
1 parent 9df3476 commit 1446389
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ If an invocation of the method fails, the timer is not removed. Timers are only

Actor reminder data is serialized to JSON by default. In Dapr v1.13 onwards supports a protobuf serialization format for reminders data which, depending on throughput and size of the payload, can result in significant performance improvements, giving developers a higher throughput and lower latency. Another benefit is storing smaller data in the actor underlying database, which can result in cost optimizations when using some cloud databases. A restriction with using protobuf serialization is that the reminder data can no longer be queried.

{{% alert title="Note" color="primary" %}}
Protobuf serialization will become the default format in Dapr 1.14
{{% /alert %}}

Reminder data saved in protobuf format cannot be read in Dapr 1.12.x and earlier versions. Its recommended to test this feature in Dapr v1.13 and verify that it works as expected with your database before taking this into production.

{{% alert title="Note" color="primary" %}}
Expand Down Expand Up @@ -179,4 +183,4 @@ To use protobuf serialization for actor reminders on self-hosted, use the follow
## Related links

- [Actors API reference]({{< ref actors_api.md >}})
- [Actors overview]({{< ref actors-overview.md >}})
- [Actors overview]({{< ref actors-overview.md >}})

0 comments on commit 1446389

Please sign in to comment.