mirror of https://github.com/dapr/docs.git
add demo videos (#2612)
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com> Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
parent
09ee0c441f
commit
940dd4ed13
|
|
@ -37,7 +37,15 @@ At any given moment, only one instance of an application can hold a named lock.
|
|||
### Deadlock free using leases
|
||||
Dapr distributed locks use a lease-based locking mechanism. If an application acquires a lock, encounters an exception, and cannot free the lock, the lock is automatically released after a period of time using a lease. This prevents resource deadlocks in the event of application failures.
|
||||
|
||||
## Demo
|
||||
|
||||
Watch [this video for an overview of the distributed lock API](https://youtu.be/wLYYOJLt_KQ?t=583):
|
||||
|
||||
<div class="embed-responsive embed-responsive-16by9">
|
||||
<iframe width="360" height="315" src="https://www.youtube-nocookie.com/embed/wLYYOJLt_KQ?start=583" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
|
||||
## Next steps
|
||||
|
||||
Follow these guides on:
|
||||
- [How-To: Use distributed locks in your application]({{< ref howto-use-distributed-lock.md >}})
|
||||
|
||||
|
|
|
|||
|
|
@ -98,5 +98,14 @@ scopes:
|
|||
- checkout
|
||||
```
|
||||
|
||||
For more information on resiliency policies, read [Resiliency overview]({{< ref resiliency-overview.md >}}).
|
||||
For more information on topic subscriptions, read [Declarative and programmatic subscription methods]({{< ref "pubsub-overview.md#message-subscription" >}}).
|
||||
## Demo
|
||||
|
||||
Watch [this video for an overview of the dead letter topics](https://youtu.be/wLYYOJLt_KQ?t=69):
|
||||
|
||||
<iframe width="360" height="315" src="https://www.youtube-nocookie.com/embed/wLYYOJLt_KQ?start=69" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
|
||||
|
||||
|
||||
## Next steps
|
||||
|
||||
- For more information on resiliency policies, read [Resiliency overview]({{< ref resiliency-overview.md >}}).
|
||||
- For more information on topic subscriptions, read [Declarative and programmatic subscription methods]({{< ref "pubsub-overview.md#message-subscription" >}}).
|
||||
|
|
|
|||
Loading…
Reference in New Issue