# Cluster singleton actor lost message stealthily

**URL:** <https://discuss.akka.io/t/cluster-singleton-actor-lost-message-stealthily/9919>\
**Category:** Akka Libraries\
**Tags:** akka-cluster\
**Created:** [August 19, 2022, 4:22am UTC](https://discuss.akka.io/t/cluster-singleton-actor-lost-message-stealthily/9919 "2022-08-19T04:22:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TopSpoofer](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/topspoofer/32/955_2.png) [@TopSpoofer](https://discuss.akka.io/u/TopSpoofer)\
**Post date:** [August 19, 2022, 4:22am UTC](https://discuss.akka.io/t/cluster-singleton-actor-lost-message-stealthily/9919/1 "2022-08-19T04:22:15Z")

</div>

![image](https://us1.discourse-cdn.com/flex020/uploads/discuss_lightbend/original/2X/f/f9aacb0abb1e0c7fd4bfc939fb3484085a2a4f05.png)  
my cluster have 2 node in one machine，when i tell some message to actor ‘a’ (singleton actor at Node2) continually at Node1，in my test，i found send 5k message will lost 800+！！！！all config is default, and the actor a just count the message amount and do nothing.

---

<div class="post-metadata">

**Author:** ![SattaiLanfear](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/sattailanfear/32/287_2.png) [@SattaiLanfear](https://discuss.akka.io/u/SattaiLanfear)\
**Post date:** [August 23, 2022, 1:20am UTC](https://discuss.akka.io/t/cluster-singleton-actor-lost-message-stealthily/9919/2 "2022-08-23T01:20:30Z")

</div>

Akka actor messages are inherently unreliable, this is intentional design.

> **[Message Delivery Reliability • Akka Documentation](https://doc.akka.io/docs/akka/current/general/message-delivery-reliability.html#discussion-why-no-guaranteed-delivery-)**
>
> Akka message delivery semantics, at-most-once delivery and message ordering.

---

<div class="post-metadata">

**Author:** ![patriknw](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.akka.io/patriknw/32/89_2.png) [@patriknw](https://discuss.akka.io/u/patriknw)\
**Post date:** [August 23, 2022, 6:38am UTC](https://discuss.akka.io/t/cluster-singleton-actor-lost-message-stealthily/9919/3 "2022-08-23T06:38:49Z")

</div>

It also depends on how you test this. For example, if you send 5k messages in one go you will probably overflow some buffers and messages will be dropped. If you don’t have any other failures, such as restarting Node 2 and you send them in “normal” pace there will not be any lost messages.
