Skip to content

gsogol/Freelance-ZeroMq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Why?

Using http for internal services may not be the most efficient way to communicate. There are many protocols like thrift, zeromq and others that make communication over tcp much faster.

This is a sample that shows the throughput of a single-threaded server.

Features

Installation

  • get zeromq. no really, it may help.
  • then build it:
$ brew install pkg-config
$ brew install automake
$ brew install autoconf
$ ./autogen.sh
$ ./configure
$ make
$ make install
  • set the VM arguments to -Djava.library.path=/usr/local/lib

Usage

  • run the Server
  • run the the jUnit test. Very elaborate, I know.

Note: the built zmq.jar is already referenced in the lib.

Issues

Welcome any feedback

About

Shows a freelance pattern from the ZeroMq Guide

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages