C++ 中的 JGroups 等效库
在工作中我们一直在使用 JGroups,我不得不说我真的很喜欢它,但是,在家里我主要使用 C/C++ 进行构建。
我想知道是否有人知道 JGroups 到 C++ 的任何良好/可靠的端口或任何其他等效的 C++ 软件库。我有兴趣了解各种图书馆的优缺点。
虽然这不是必需的,但我最熟悉 SDL 的 SDL_net,因此它是 SDL_net 周围的一个很好的包装类将是对我最有利的。
at work we have been using JGroups and I have to say that I really like it, however, at home I primarily build with C/C++.
I'm wondering if anyone knows of any good/solid ports of JGroups to C++ or any other equivalent software library for C++. I'm interested in hearing pros/cons of various libraries out there.
Though this isn't a requirement, I am most familiar with SDL's SDL_net so a nice wrapper class around SDL_net would be the most favorable to me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不知道 JGroups 到 C++ 的任何端口。有些人将 JGroups 作为守护进程运行,然后通过协议从其他语言与其进行通信。我最近创建了一个 STOMP 协议,它允许 JGroups 处理用不同语言编写的客户端发送的消息,并允许这些客户端接收消息。
回复:本机堆栈,您可以看看 Spread (www.spread.org)。
I don't know of any ports of JGroups to C++. Some folks run JGroups as a daemon and then talk to it from other languages via a protocol. I recently created a STOMP protocol, which allows for messages sent by clients written in different languages to be processed by JGroups, and for those clients to receive messages as well.
Re: native stacks, you could take a look at Spread (www.spread.org).
您可能想查看 0mq。它非常快速且易于使用。
You might want to check out 0mq. Its pretty fast and easy to use.