Does Hazelcast have a distributed priority queue implementation?

别说谁变了你拦得住时间么 提交于 2019-12-08 03:33:24

问题


We need to implement a distributed priority queue within Hazelcast at the moment and the only documentation we can find on the matter is this: https://blog.hazelcast.com/priority-queueing-using-spi/, which is not a production ready implementation.

It references MigrationAwareService and BackupAwareOperation interfaces and provides a basic example for how to implement them, but after inspecting Hazelcast's own QueueService it doesn't look like these examples will suffice. Is it better to use QueueService as guidance instead?

On top of this, it looks as though there is no documentation or examples to make this custom distributed object adhere to Hazelcast's client-server protocol.

Does Hazelcast have any plans to implement this object in the near future? I've discovered OperationQueue - is this a distributed priority queue implementation we can use?

来源:https://stackoverflow.com/questions/50119755/does-hazelcast-have-a-distributed-priority-queue-implementation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!