We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
延时时间轮,扫描message log ,是很大范围的随机读,这个有影响吗? 最近也在做类似的事情,像了解一下
The text was updated successfully, but these errors were encountered:
@Ah39
延迟消息不扫message log的
Sorry, something went wrong.
你原始的消息内容存储在哪里??
shedule log 直接存储消息内容吗??
@Ah39 schedule log里存储了消息内容,我补充了一下文档 架构概览
“第二层在内存中,当消息的投递时间即将到来的时候,会将这个小时的消息索引(索引包括消息在schedule log中的offset和size)从磁盘文件加载到内存中的hash wheel上”
根据文档里的这段话,从内存时间轮里投递消息时,难道不会频繁随机读取schedule log里的消息内容吗?
keliwang
No branches or pull requests
延时时间轮,扫描message log ,是很大范围的随机读,这个有影响吗?
最近也在做类似的事情,像了解一下
The text was updated successfully, but these errors were encountered: