Hello there,
I'm currently working on a project which consists of multiple server instances on one machine (or server wide). Since all of them need to work together they need to be able to share messages in real-time. Now I'm gambling about which method would be efficient and easy. Certainly I could create a new protocol and communicate using pipes, unix-sockets or tcp-sockets. But I want to use something like a standardised message-system. For example: it would be nice to access the servers using any small applications like python scripts (so their should be librarys for different languages).
I thought about using amqp or dbus but first I want to hear some opinions from experienced devs.
So, could anyone give me some hints about how I could/should do the intercommunication?
Gameserver intercommunication
Why wouldn't pipes or TCP sockets work from Python scripts or other languages?
Anyway, for local communications, ZeroMQ is a pretty good choice. As long as you can control who gets to send messages using firewalls, it's reliable, fast, and available in many languages. It is, however, not a good choice for accepting traffic from untrusted remote senders.
Another option you can look into is Apache Thrift.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement