Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • cameo cameo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 40
    • Issues 40
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Cameo
  • cameocameo
  • Wiki
  • JZMQ or JeroMQ?

Last edited by yannick legoc Mar 03, 2020
Page history

JZMQ or JeroMQ?

JZMQ or JeroMQ?

Cameo provides three Java projects and a C++ project. ZeroMQ is written in C and using it in Java projects can be done:

  • Use the Java binding JZMQ.
  • Use the pure Java implementation JeroMQ.

Cameo can use both as they follow the same interface, so that they can be easily replaced. However some differences exist:

  • JZMQ has better performances than JeroMQ.
  • JZMQ is more difficult to configure as the dynamic library of ZeroMQ must be accessible.
  • JZMQ must be as stable as ZeroMQ as it is only a binding.
  • JeroMQ seems to be less stable than JZMQ. Some Cameo tests block with JeroMQ.
  • JZMQ is no longer developped. It is thus preferrable to use JeroMQ if no blockings are encountered.

JZMQ compilation

JeroMQ does not require any compilation because the jar is downloaded from a Maven repository. However if the JZMQ Java jar is downloaded from a Maven repository, the C dynamic library must be compiled if not accessible from a package.

  • On Debian, we compiled and installed JZMQ using the source package. We did not run autogen.sh but directly the command autoreconf in autogen.sh.
  • On Windows 7 64bits, we compiled JZMQ using Visual Studio 2015 as explained in this page but we needed to add the configuration x64 for the project JZMQ.

JeroMQ issues

The socket can block in extreme environments (rapid creation and destruction of sockets) which is not explained.

Clone repository
  • Cameo 2.0
  • Configure a server
  • Control the apps
  • Developments
  • First example
  • Implementation
  • Installation
  • JZMQ or JeroMQ?
  • Linux examples
  • Linux tests
  • Make the apps communicate
  • Synchronization
  • Test all the components
  • Windows compilation
  • Windows tests
View All Pages