fmq-core


License

License

MIT
GroupId

GroupId

io.github.irevive
ArtifactId

ArtifactId

fmq-core_2.12
Last Version

Last Version

0.4.1
Release Date

Release Date

Type

Type

jar
Description

Description

fmq-core
fmq-core
Project URL

Project URL

https://github.com/iRevive/fmq
Project Organization

Project Organization

io.github.irevive
Source Code Management

Source Code Management

https://github.com/iRevive/fmq

Download fmq-core_2.12

How to add to project

<!-- https://jarcasting.com/artifacts/io.github.irevive/fmq-core_2.12/ -->
<dependency>
    <groupId>io.github.irevive</groupId>
    <artifactId>fmq-core_2.12</artifactId>
    <version>0.4.1</version>
</dependency>
// https://jarcasting.com/artifacts/io.github.irevive/fmq-core_2.12/
implementation 'io.github.irevive:fmq-core_2.12:0.4.1'
// https://jarcasting.com/artifacts/io.github.irevive/fmq-core_2.12/
implementation ("io.github.irevive:fmq-core_2.12:0.4.1")
'io.github.irevive:fmq-core_2.12:jar:0.4.1'
<dependency org="io.github.irevive" name="fmq-core_2.12" rev="0.4.1">
  <artifact name="fmq-core_2.12" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.github.irevive', module='fmq-core_2.12', version='0.4.1')
)
libraryDependencies += "io.github.irevive" % "fmq-core_2.12" % "0.4.1"
[io.github.irevive/fmq-core_2.12 "0.4.1"]

Dependencies

compile (3)

Group / Artifact Type Version
org.scala-lang : scala-library jar 2.12.10
org.typelevel : cats-effect_2.12 jar 2.1.3
org.zeromq : jeromq jar 0.5.2

provided (1)

Group / Artifact Type Version
org.scala-lang : scala-reflect jar 2.12.10

test (2)

Group / Artifact Type Version
org.scalatest : scalatest_2.12 jar 3.1.1
co.fs2 : fs2-io_2.12 jar 2.3.0

Project Modules

There are no modules declared in this project.

ƒMQ

Build Status codecov Maven Version

Functional bindings for ZeroMQ built-in on top of cats-effect and JeroMQ.

Quick Start

To use ƒMQ in an existing SBT project with Scala 2.12 or a later version, add the following dependency to your build.sbt:

libraryDependencies += "io.github.irevive" %% "fmq-core" % "<version>"

Usage Guide

Check the official guide for additional information.

Supported protocols

  • TCP
  • InProc

Sockets matrix

Socket Can publish Can receive
Pub true false
Sub false true
XPub true true
XSub true true
Pull false true
Push true false
Rep true true
Req true true
Router true true
Dealer true true

Benchmarks

ƒMQ provides a great message throughput comparing to the native implementation.

ƒMQ msgs/s:

Message size (bytes) Throughput
128 1960737
256 1511724
512 862353
1024 498450

ØMQ msgs/s:

Message size (bytes) Throughput
128 3885802
256 2689235
512 1598083
1024 867274

Hardware:
MacBook Pro (15-inch, 2016)
2,6 GHz Quad-Core Intel Core i7
16 GB 2133 MHz LPDDR3

Versions

Version
0.4.1
0.4.0
0.3.4
0.3.3
0.3.2
0.3.1
0.3.0
0.2.1
0.2.0
0.0.1