wu-sheng commented on a change in pull request #10:
URL: 
https://github.com/apache/skywalking-satellite/pull/10#discussion_r546254109



##########
File path: docs/plugins/queue/mmap/README.md
##########
@@ -0,0 +1,66 @@
+# Design
+The mmap-queue is a big, fast and persistent queue based on the memory mapped 
files. One mmap-queue has a directory to store the whole data. The Queue 
directory is made up with many segments and 1 meta file. 
+
+- Segment: Segment is the real data store center, that provides large-space 
storage and does not reduce read and write performance as much as possible by 
using mmap. And we will avoid deleting files by reusing them.
+- Meta: The purpose of meta is to find the data that the consumer needs.
+
+## Meta
+Metadata only needs 80B to store the Metadata for the pipe. But for memory 
alignment, it takes at least one memory page size, which is generally 4K.

Review comment:
       Please highlight, this is not our design, declare the original place 
very clearly.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to