I haven't used ZeroMQ but I've had excellent success with protocol
buffers. It's a simple way to encode whatever data you want into a binary
blob that you can easily send over a TCP channel. Depending on what you're
transferring you might even be able to fit it inside the MTU so that it
only takes one packet. Better yet, the Racket package for it
(murphy/protobuf) includes a reflection submodule
(murphy/protobuf/reflection) that allows you to introspect all the details
of a message so you can dynamically discover what you've just gotten.
Racket package docs:
On Thu, Sep 7, 2017 at 12:11 PM, Brian Adkins <lojicdot...@gmail.com> wrote:
> I'm considering having a group of programmers create micro-services in
> various programming languages to be glued together into a single
> application. I would like a communication mechanism with the following
> * Already supported by Racket, or relatively trivial to add
> * More efficient than HTTP
> * Nicer to program than raw sockets
> Someone suggested ZeroMQ, so I searched for support in Racket and found 4
> packages, but 3 of them have failing tests, and I *think* two of them
> comprise a single logical package, so one of the two has failing tests.
> Has anyone had success with any of the ZeroMQ packages?
> Is there another communication mechanism I should consider instead?
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to racket-users+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.