Skip to content

Releases

Highway 3.0.0 — storage and replication on SystemD.Crystal

Choose a tag to compare

@net-wise net-wise released this 30 Oct 13:13

Description:

Highway 3.0 moves the broker's storage and replication to SystemD.Crystal 1.0, and brings protocol 5.0, storage format 4 and a failover that does not split under load.

3.0 is a breaking release. A 2.x client cannot talk to a 3.x broker, 2.x and 3.x nodes never replicate with each other, and 2.x data is not migrated. Upgrade side by side with the upgrade runbook; the public client API is unchanged.

Highlights

  • Storage and replication on SystemD.Crystal. Crystal is Highway's backend storage system: Highway's data lives in Crystal boxes, and every command commits one atomic batch. Replication comes with Crystal: batched WAL shipping on its own port, snapshot bootstrap, epochs and fencing, offline compaction. Highway's own storage engine and replication are removed; Highway keeps its failover policy.
  • Faster. Under the same load harness on the same machine, compared with Highway's previous storage engine: RPC handling p50 2.3 ms against 3.4 ms (about 30 % faster), and queue end-to-end p50 20 ms against 48 ms.
  • Failover that does not split under load. The herd hard-kill test passes 20/20 with a starved thread pool. A new standby is syncing, and never eligible to take over, until it has caught up. A client's wave of failures shares one failover search, so calls in flight converge together.
  • Protocol 5.0 and storage format 4. One work path for RPC and queues with claim tokens, a declarative session per node, and every queue, group and service in its own box.
  • One server directory per major version. The archive unpacks as server/3/, so 3.x installs beside 2.x with its own data, and rolling back means reinstalling the old line.
  • Server archives for Linux and Windows, with a systemd unit and a Windows service. highways --compact works again.

Install

Linux

sudo mkdir -p /opt/highway
sudo tar -xzf highway-3.0.0-linux-x64.tar.gz -C /opt/highway
sudo nano /opt/highway/server/3/config/highway.json
sudo bash /opt/highway/server/3/scripts/install-service.sh

Windows: unzip into C:\highway and run server\3\scripts\install-service.bat.

Ports: 6500 RESP, 7500 dashboard / /health / /ready, and 6501 (RESP + 1) for replication in a replica set. Open both RESP and replication ports between nodes.

Client packages (nuget.org):

dotnet add package Highway.Abstractions --version 3.0.0
dotnet add package Highway.Client --version 3.0.0

Also Highway.Client.Hosting and Highway.LocalServer (in-process tests).

Highway 3.0.0-rc.4 — storage and replication on SystemD.Crystal

Choose a tag to compare

@net-wise net-wise released this 23 Oct 11:13

The first public release candidate of Highway 3.0. It is a pre-release: test it before production.

3.0 is a breaking release. A 2.x client cannot talk to a 3.x broker, 2.x and 3.x nodes never replicate with each other, and 2.x data is not migrated. Upgrade side by side with the upgrade runbook; the public client API is unchanged.

Highlights

  • Storage and replication on SystemD.Crystal 1.0. Highway's data lives in Crystal boxes, and every command commits one atomic batch. Replication comes with Crystal: batched WAL shipping on its own port, snapshot bootstrap, epochs and fencing, offline compaction. Highway's own RocksDB store and WAL-shipping replication are removed; Highway keeps its failover policy.
  • Faster. Under the same load harness on the same machine, compared with 3.0's earlier RocksDB store: RPC handling p50 2.3 ms against 3.4 ms (about 30 % faster), and queue end-to-end p50 20 ms against 48 ms.
  • Failover that does not split under load. The herd hard-kill test passes 20/20 with a starved thread pool. A new standby is syncing, and never eligible to take over, until it has caught up. A client wave of failures now shares one failover search, so calls in flight converge together.
  • Protocol 5.0 and storage format 4. One work path for RPC and queues with claim tokens, a declarative session per node, and every queue, group and service in its own box.
  • One server directory per major version. The archive unpacks as server/3/, so 3.x installs beside 2.x with its own data, and rolling back means reinstalling the old line.
  • Server archives for Linux and Windows, with a systemd unit and a Windows service. highways --compact works again.

Install

Linux

sudo mkdir -p /opt/highway
sudo tar -xzf highway-3.0.0-rc.4-linux-x64.tar.gz -C /opt/highway
sudo nano /opt/highway/server/3/config/highway.json
sudo bash /opt/highway/server/3/scripts/install-service.sh

Windows: unzip into C:\highway and run server\3\scripts\install-service.bat.

Ports: 6500 RESP, 7500 dashboard / /health / /ready, and 6501 (RESP + 1) for replication in a replica set. Open both RESP and replication ports between nodes.

Client packages (pre-release, on nuget.org):

dotnet add package Highway.Client --version 3.0.0-rc.4
dotnet add package Highway.Abstractions --version 3.0.0-rc.4

Also Highway.Client.Hosting and Highway.LocalServer (in-process tests).

Known limits

  • Replication is asynchronous. A hard kill of the primary can lose writes acknowledged in the last ~10–16 ms; a planned highways --goodbye handover loses none.
  • No published benchmark suite. The figures above are relative, from one machine.
  • Tested on Windows, with the full suite of more than 1,800 tests. The Linux archive is smoke-tested: single node and a replicated pair.

Full details: CHANGELOG · Server guide · Guarantees

Checksums (SHA-256)

36fa1b68d0e6e71fc8e0dd41176d54aeb92d184364d61e06db8dee36372c43fd  highway-3.0.0-rc.4-linux-x64.tar.gz
e8a2ab99054146ad65ba49c04aec4960a9a4a10d0ec870757cae23b05f307a4f  highway-3.0.0-rc.4-win-x64.zip

v2.5.1

Choose a tag to compare

@net-wise net-wise released this 22 Sep 15:31

Full Changelog: v2.5.0...v2.5.1

v2.5.0: Highway 2.5.0

Choose a tag to compare

@net-wise net-wise released this 18 Sep 23:37

Highway 2.5.0

Two machine-facing observability channels, a bigger default message size, and a
first-class Linux build. All wire changes are additive — existing 2.0.0+ clients
keep working unchanged
against a 2.5.0 broker.

Highlights

📊 Metrics — OpenTelemetry, no dependency

Highway now emits System.Diagnostics.Metrics from two meters, the same posture as
its Activity spans — Highway defines the instruments, your app wires the exporter:

  • Highway.Server — replication role/epoch/lag, promotions/demotions/fences,
    queue depth/bytes/dead-letters, RPC throughput/latency/errors, connections,
    recorder drops.
  • Highway.Client — RPC latency/outcome and a failovers counter.

No OpenTelemetry package is taken on, and it costs nothing when nothing is listening.

services.AddOpenTelemetry().WithMetrics(m => m
    .AddMeter("Highway.Server")   // or "Highway.Client"
    .AddPrometheusExporter());

Highway Server release

Choose a tag to compare

@net-wise net-wise released this 17 Sep 15:44

Replication and failover behavior is implemented as per protocol.

Release 2.0.0

Choose a tag to compare

@net-wise net-wise released this 16 Sep 10:24

Highway introduce replication, Garnet dependency is removed.

Highway Server

Highway Server Pre-release
Pre-release

Choose a tag to compare

@net-wise net-wise released this 19 Aug 09:52
v1.0.0-preview.1

Highway 1.0.0-preview.1 — first published packages