You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2023/03/24 07:04:18 UTC

[GitHub] [pulsar] tianshimoyi created a discussion: Does pulsar delayed index use Heap Memory or Direct Memory?

GitHub user tianshimoyi created a discussion: Does pulsar delayed index use Heap Memory or Direct Memory?

pulsar version:  2.9.4

GitHub link: https://github.com/apache/pulsar/discussions/19916

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] tianshimoyi added a comment to the discussion: Does pulsar delayed index use Heap Memory or Direct Memory?

Posted by GitBox <gi...@apache.org>.
GitHub user tianshimoyi added a comment to the discussion: Does pulsar delayed index use Heap Memory or Direct Memory?

@mattisonchao Thank you for your help, the official document has too little introduction to the delay message, I would like to ask the next few questions
1. Does every subscription broker maintain a delayed index?
2. Is there a limit to the size of the delayed index?
3. After the message expires, is the message transferred from the temporary storage space to the persistent storage for consumers to consume?

GitHub link: https://github.com/apache/pulsar/discussions/19916#discussioncomment-5414528

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] mattisonchao added a comment to the discussion: Does pulsar delayed index use Heap Memory or Direct Memory?

Posted by GitBox <gi...@apache.org>.
GitHub user mattisonchao added a comment to the discussion: Does pulsar delayed index use Heap Memory or Direct Memory?

Direct. : ) 

Link: https://github.com/apache/pulsar/blob/master/pulsar-common/src/main/java/org/apache/pulsar/common/util/collections/TripleLongPriorityQueue.java

GitHub link: https://github.com/apache/pulsar/discussions/19916#discussioncomment-5414436

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org


[GitHub] [pulsar] tianshimoyi deleted a comment on the discussion: Does pulsar delayed index use Heap Memory or Direct Memory?

Posted by GitBox <gi...@apache.org>.
GitHub user tianshimoyi deleted a comment on the discussion: Does pulsar delayed index use Heap Memory or Direct Memory?

@mattisonchao Thank you for your help, the official document has too little introduction to the delay message, I would like to ask the next few questions
1. Does every subscription broker maintain a delayed index?
2. Is there a limit to the size of the delayed index?
3. After the message expires, is the message transferred from the temporary storage space to the persistent storage for consumers to consume?

GitHub link: https://github.com/apache/pulsar/discussions/19916#discussioncomment-5414528

----
This is an automatically sent email for commits@pulsar.apache.org.
To unsubscribe, please send an email to: commits-unsubscribe@pulsar.apache.org