-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
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
Implement the segment caching feature of Sequencer API #158
Comments
This task will be assigned to @ZLBer |
建议给sequencer增加是否支持segment的方法,现在GetSegment方法功能不够单一, 在写catch的时候发现有时候只想查看sequencer是否支持segment,并不想直接申请一段。 |
@ZLBer 本来考虑过加个isSupportCache() 后来改成GetSegment了 |
这样啊 怪怪的 |
是有点 |
现在实现的话可以先写GetSegment(0) 后面真要改成supportSegment也简单 |
fine |
This issue has been automatically marked as stale because it has not had recent activity in the last 30 days. It will be closed in the next 7 days unless it is tagged (pinned, good first issue or help wanted) or other activity occurs. Thank you for your contributions. |
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as pinned, good first issue or help wanted. Thank you for your contributions. |
What would you like to be added:
Implement the segment caching feature of Sequencer API
You can refer to Leaf to do double buffer optimization
The function to be implemented is at https://github.com/mosn/layotto/blob/main/pkg/runtime/sequencer/cache.go
The design doc(in chinese) is at https://mosn.io/layotto/#/zh/design/sequencer/design
Why is this needed:
The text was updated successfully, but these errors were encountered: