omq 0.15.4 → 0.15.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3357d4050a4f44b5c440026bc6ec9100cd34a64307f04fe8eab88ab219617cbc
4
- data.tar.gz: b507113e3df663fbb27b805370be466795d00f0fd483e62a7936156a74047a5e
3
+ metadata.gz: a3c8e182cc758212708988bb4c88a7d374c63f06053e3be829c3a98620e23450
4
+ data.tar.gz: da1bdea2c47ec1c0a8e5e15d0b4ea69c9af642cd7fc67eae4b0931209314eac3
5
5
  SHA512:
6
- metadata.gz: 7d8dbffe8678966f753c0679543b7933cfe986dfd0fb7cb15be2aa824b99064f7a42e45fe73dd1e9d63e59fbaeeafe8b03f14e7a75078858d4f80d636cb3001e
7
- data.tar.gz: 4ff71015d8434c0199b5c0f55312d8ee55defa7b2ae1d8dd526c6938cb20c77332a207848fbeae3e383a7d832cc305bd3030e2d36685c65483ddc1155e58bea3
6
+ metadata.gz: 6d56451299b8e3cfc500ea145826d8e1bc251edf814dc0e4fea6846428ff546bd3f7f66005e4c41b55d9b4b54c6e536f62619de6086311cdd538a16080e2802e
7
+ data.tar.gz: 1f5b9061e5eae37357c4d6e1dc828bac2778f68ba6a10072faecc4d049b9517e2044b66bc4771b1a16dc38717583e7689cb74b9e653b0df15171e0723bd1150a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.15.5 — 2026-04-08
4
+
5
+ - **`max_message_size` now defaults to `nil` (unlimited)** — previous
6
+ default of 1 MiB moved into omq-cli.
7
+ - **Benchmark suite: calibration-driven measurement.** Each cell auto-sizes
8
+ `n` from a prime burst + doubling warmup, then runs `ROUNDS=3` timed
9
+ rounds of `ROUND_DURATION=1.0 s` (override via `OMQ_BENCH_TARGET`) and
10
+ reports the fastest. Full suite runs in ~3 min.
11
+ - **Benchmark suite: dropped `curve` transport and the `pair` /
12
+ `dealer_dealer` pattern scripts from the default loop.** Files stay in
13
+ place for ad-hoc runs.
14
+ - **`bench/push_pull/omq.rb`** now runs `peer_counts: [1, 3]`.
15
+ - **`bench/report.rb --update-readme`** regenerates the PUSH/PULL and
16
+ REQ/REP tables in `bench/README.md` from the latest run in
17
+ `results.jsonl`, between `<!-- BEGIN … -->` / `<!-- END … -->` markers.
18
+
3
19
  ## 0.15.4 — 2026-04-08
4
20
 
5
21
  - **Lazy routing initialization** — the routing strategy is now created on
@@ -15,7 +31,7 @@
15
31
  of an unbounded queue, preventing memory growth when verbose monitoring
16
32
  can't keep up with message rate.
17
33
 
18
- ### Unreleased
34
+ ## 0.15.3 — 2026-04-08
19
35
 
20
36
  - **Auto-freeze on bind/connect** — `#bind` and `#connect` now call
21
37
  `OMQ.freeze_for_ractors!` automatically, freezing `CONNECTION_LOST`,
data/README.md CHANGED
@@ -147,7 +147,7 @@ end
147
147
 
148
148
  ## Socket Types
149
149
 
150
- All sockets are thread-safe. Default HWM is 1000 messages per socket. Default `max_message_size` is **1 MiB** — frames larger than this cause the connection to be dropped before the body is read from the wire. Set `socket.max_message_size = nil` to disable the limit or raise it as needed. Classes live under `OMQ::` (alias: `ØMQ`).
150
+ All sockets are thread-safe. Default HWM is 1000 messages per socket. `max_message_size` defaults to **`nil` (unlimited)** — set `socket.max_message_size = N` to cap inbound frames at `N` bytes; oversized frames cause the connection to be dropped before the body is read from the wire. Classes live under `OMQ::` (alias: `ØMQ`).
151
151
 
152
152
  #### Standard (multipart messages)
153
153
 
data/lib/omq/options.rb CHANGED
@@ -24,7 +24,7 @@ module OMQ
24
24
  @heartbeat_interval = nil # seconds, nil = disabled
25
25
  @heartbeat_ttl = nil # seconds, nil = use heartbeat_interval
26
26
  @heartbeat_timeout = nil # seconds, nil = use heartbeat_interval
27
- @max_message_size = 1 << 20 # bytes (1 MiB default)
27
+ @max_message_size = nil # bytes, nil = unlimited
28
28
  @conflate = false
29
29
  @sndbuf = nil # bytes, nil = OS default
30
30
  @rcvbuf = nil # bytes, nil = OS default
data/lib/omq/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OMQ
4
- VERSION = "0.15.4"
4
+ VERSION = "0.15.5"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omq
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.4
4
+ version: 0.15.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrik Wenger