# \#messages

**URL:** https://erlangforums.com/tag/messages/576.md

[Latest](https://erlangforums.com/latest.md) · [Categories](https://erlangforums.com/categories.md) · [Tags](https://erlangforums.com/tags.md)

---

## [Selective receive optimization - same-function restriction still apply today?](https://erlangforums.com/t/selective-receive-optimization-same-function-restriction-still-apply-today/3643)

<div class="topic-metadata">

**Author:** [@juhlig](https://erlangforums.com/u/juhlig)\
**Replies:** 2\
**Last updated:** [May 22, 2024, 12:44pm UTC](https://erlangforums.com/t/selective-receive-optimization-same-function-restriction-still-apply-today/3643 "2024-05-22T12:44:43Z")

</div>

There is this optimization regarding selective receives for simple request/response scenarios, going back to OTP R14something, which in a nutshell searches a message queue only from the point where a reference was create…

---

## [How to know where a message is being sent from?](https://erlangforums.com/t/how-to-know-where-a-message-is-being-sent-from/2326)

<div class="topic-metadata">

**Author:** [@SisMaker](https://erlangforums.com/u/SisMaker)\
**Replies:** 11\
**Last updated:** [February 3, 2023, 2:42am UTC](https://erlangforums.com/t/how-to-know-where-a-message-is-being-sent-from/2326 "2023-02-03T02:42:30Z")

</div>

Recently I encountered a problem that a gen\_server process would receive a message that should not have been received. The message has no information to tell where it was sent from, and the project code is complicated. I…
