Skip to content

Releases

v0.0.3

Choose a tag to compare

@github-actions github-actions released this 01 Dec 01:51

What's Changed

  • Store Redis destinations in PostgreSQL and preserve no-AUTH on recovery by @DeoLeung in #4

Full Changelog: v0.0.2...v0.0.3

pg_redis_async 0.0.2

Choose a tag to compare

@DeoLeung DeoLeung released this 30 Nov 06:00
a3a08bf

Early beta · for development, testing and evaluation. The project is unsuitable for production use.

pg_redis_async 0.0.2 lets a PostgreSQL transaction mark a cache key dirty. Repeated changes to the same key coalesce while a native sender projects committed data to the configured Redis targets. Applications that need proof of an individual write can continue to enqueue an exact (target, seq) receipt and wait for it from another connection after commit.

  • Configure each Redis target’s connection pool, timeouts and in-flight batch limit. Independent targets can continue delivering during an outage.
  • Set retention for applied and retired receipts and enforce storage limits on queued work and receipt history. Monitoring exposes pool use, delivery latency, retries and cleanup.
  • Schema ABI 2 includes a direct upgrade from 0.0.1 that preserves pending and dead work. Pin each registered projector’s search_path, pause delivery, wait for sealing, stop the sender and remove the database from the allowlist. With PostgreSQL stopped, install the matching binary. After restart, run ALTER EXTENSION pg_redis_async UPDATE TO '0.0.2' in each database that uses the extension. Upgrade and lifecycle controls

Choose the DEB or binary tar.gz matching your server’s PostgreSQL major and CPU architecture. The packages support PostgreSQL 15.10+, 16.6+, 17.2+, 18.7+ and 19.x on Linux amd64 and arm64 with glibc 2.39+. Each combination has a BUILD.json with build provenance and a SHA256SUMS file for verification.

All ten packages were built from the merged commit a3a08bfbd256a5aaa2e6bcb192139658673d0686 in local Ubuntu 24.04 containers, with Rust 1.99.1 and pgrx 0.20.1. arm64 ran natively and amd64 ran under Rosetta emulation.

Each build passed 21 Rust tests and strict Clippy. On each extracted DEB, 272 fresh-install pgTAP assertions and 37 assertions after an offline upgrade from the published 0.0.1 binary passed. PostgreSQL 18 also passed the full two-Redis service suite on both architectures, including crash recovery and standby promotion. The amd64 suite used both Redis 8.12 and 6.0. The merge tree previously passed all ten jobs on native GitHub runners. Native CI

The independent-key throughput and admission-latency targets remain open. Workload measurements and conditions are in PR #2.

pg_redis_async 0.0.1

Choose a tag to compare

@DeoLeung DeoLeung released this 28 Nov 09:20

Initial release of pg_redis_async, a PostgreSQL extension for transactional delivery to independent Redis targets.

  • Logged transactional outbox, exact per-target receipts and projections from current committed SQL state.
  • PostgreSQL-native background processes, independent target connections, bounded retries, dead letters and replay.
  • TLS and credential references, Redis session fencing, quotas and lifecycle controls.

Packages support PostgreSQL 15.10+, 16.6+, 17.2+, 18.7+ and 19.x on Linux amd64 and arm64, built on Ubuntu 24.04 (glibc 2.39+). Select the package matching both the server major and CPU architecture.

The 40 release assets use the same format as the GitHub Actions release workflow: one DEB, binary tar.gz, BUILD.json and SHA256SUMS for each of the ten PostgreSQL/architecture combinations. Target bundles remain build inputs and are not release assets. Logo and other image files are excluded from binary release packages.

All binaries were built locally in Ubuntu 24.04 containers using Rust 1.99.1, pgrx 0.20.1 and Clang/LLVM 18, with locked Cargo dependencies. arm64 builds/tests ran natively; amd64 builds/tests ran under local Rosetta emulation.

PostgreSQL 15.20, 16.16, 17.12, 18.7 and 19.0 each passed, on both architectures:

  • Release build and Clippy with warnings denied.
  • 83 pgTAP assertions loaded from the extracted DEB payload.
  • 12 real-service acceptance groups with disposable PostgreSQL, two independent Redis 8.12.0 hosts and fault injection.
  • Package checksum, ELF architecture and archive-content checks.

The service groups cover rollback/savepoints, out-of-order commits, independent target failure and idle recovery, lost replies and late commands, TLS/identity checks, sender permissions/RLS, quotas, crash/restart recovery, inert logical restore, multi-database scheduling and promotion after old-primary isolation. The verification record retains the remaining scenario coverage limits.

GitHub Actions was blocked from starting by the account billing/spending-limit restriction. This release uses the locally built and verified packages.

See the README for installation and configuration. This is the first published version; there is no previous-version upgrade path.