Skip to main content

Valkey/Redis backend extension for SimpleBroker

Project description

simplebroker-redis

Valkey/Redis backend extension for SimpleBroker.

This package exposes the public SimpleBroker backend name redis. It targets Valkey 7.x and Redis 7.x and the test suite runs against Valkey.

Durability depends on the server configuration. A Valkey or Redis deployment without AOF/RDB persistence can lose messages on restart. Use SQLite or Postgres when you need storage durability from the broker stack by default.

Regular broker commands use a redis-py BlockingConnectionPool owned by the process-local Redis runner. Pub/Sub wake hints use a separate dedicated connection because subscribed Redis connections cannot serve normal commands.

Pool defaults:

  • max_connections = 50
  • pool_timeout = BROKER_BUSY_TIMEOUT / 1000

The defaults can be overridden in project backend options:

[backend_options]
namespace = "simplebroker_redis_v1"
max_connections = 50
pool_timeout = 5.0

Pool exhaustion is bounded by pool_timeout and surfaces as an operational error from broker operations.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

simplebroker_redis-1.1.1.tar.gz (18.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

simplebroker_redis-1.1.1-py3-none-any.whl (24.6 kB view details)

Uploaded Python 3

File details

Details for the file simplebroker_redis-1.1.1.tar.gz.

File metadata

  • Download URL: simplebroker_redis-1.1.1.tar.gz
  • Upload date:
  • Size: 18.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for simplebroker_redis-1.1.1.tar.gz
Algorithm Hash digest
SHA256 e8379d523b51a02d63366478cd8cea7ba180ed189c6f9486ad1af6d6888c0668
MD5 9629b8ef441c69e379fab6858af55c65
BLAKE2b-256 95cb9a5afc0ade42c49a545fb1df7c43ec827b0d5b065449d2e6a42020631032

See more details on using hashes here.

File details

Details for the file simplebroker_redis-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: simplebroker_redis-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 24.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for simplebroker_redis-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a56c8f593181dfdf840d3f6981956a4670943832bf3a1380a784cf10d14e1be4
MD5 a8bd1ea252ff0e6210012515b7ca9bfb
BLAKE2b-256 9a66c1b287a93075a013d0616b57ee2077f8f845474debadc47230d6c1aaa11e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page