Messaging library like zeromq has in-built support...
# graviton-browser
a
Messaging library like zeromq has in-built support of encryption for security. We can choose to opt-out of it if we want. Adpaters are singleton. Say for linux one dbus adapter is registered system-wide, then n number of graviton apps can use that single adapter to communicate with native apps via dbus. For windows as there is no standard mode of communication, say to communicate with office apps via COM interop we should have one office-adapter. Similarly to communicate with media player we can have another adpter. Unfortunately list gets long for windows as I can't see a singular way to do it. These adapter can be installed as a graviton app dependencies, but if it is already installed, graviton app will reuse the adapter. For authorization we can do a very rudimentary setup if it requires, though in-machine IPC does not do authorization generally. Naming, discovery, authorization all will come with zeromq in-built. It supports several mode of communications to chose from - Synchronous Request/Response, Asynchronous Request/Response, Publish/Subscribe, Push/Pull, Exclusive Pair. It supports both broker and broker-less architecture, but in our use-case I think a broker oriented architecture would be better. I see zeromq supports great many languages and it is cross-platform which is why I think it is the ideal candidate for our use case.