GsZMQ

Description

Binding of the ZMQ library against Gemstone/S under Linux

Details

Source
GitHub
Dialect
gemstone (25% confidence)
Created
Oct. 15, 2021
Updated
Nov. 17, 2021

Categories

Serialization

README excerpt

# GsZMQ
Binding of the ZMQ library (https://github.com/zeromq) against Gemstone/S under Linux. Here a small bash script to download the ZMQ library and compile it and install it. The script also compiles libsodium (cryptography support).

The ZMQ library is one of the brightest network library I've seen so far, the documentation, the quality. Congratulations. We use the library as a base for our language independent event service. We do not use Gemstone as ZMQ server - this is simply due to license restrictions of some versions of Gemstone. If you have a 2-core license its a waste to use a Gemstone process to service a ZMQ service. Instead we create an external server, which talks to Gemstone (via e.g. REST) on demand.

## Installation (Linux)

```Bash
wget https://download.libsodium.org/libsodium/releases/libsodium-1.0.18.tar.gz
tar xvf libsodium-1.0.18.tar.gz
cd libsodium-1.0.18
./autogen.sh
./configure
make check
sudo make install
sudo ldconfig
cd
rm -rf libsodium-1.0.18
#
# We download a newer version from github and translate from source code
#
cd
rm -rf zeromq-4.1.6
wget https://github.com/zeromq/zeromq4-1/releases/download/v4.1.6/zeromq-4.1.6.tar.gz
tar xvf zeromq-4.1.6.tar.gz
cd zeromq-4.1.6
./configure
make
sudo make install
sudo ldconfig
cd
rm -rf zeromq-4.1.6
```

## Installation (Gemstone/S)

You can load GsZMQ using Metacello

```Smalltalk
Metacello new
  repository: 'github://feldti/GsZMQ:main/repository';
  baseline: 'ZMQ';
  load
```
← Back to results