Skip to content

feat: add high-performance batch pushing (PUSHB) support#59

Open
addonol wants to merge 1 commit intocdrx:masterfrom
addonol:feat/push-bulk-support
Open

feat: add high-performance batch pushing (PUSHB) support#59
addonol wants to merge 1 commit intocdrx:masterfrom
addonol:feat/push-bulk-support

Conversation

@addonol
Copy link
Copy Markdown

@addonol addonol commented Apr 13, 2026

Description

Added high-performance batching support using the PUSHB command. This significantly reduces network overhead when creating many jobs at once.

Changes

  • Added push_bulk to Client with automatic chunking.
  • Added _build_job_payload helper for consistency.
  • Added comprehensive unit tests in tests/test_batch.py.
  • Added a producer_batch.py example.
  • Updated README.md with batch pushing documentation and sample links.

Fixes #37

- Implemented push_bulk method in Client with auto-chunking
- Added _build_job_payload internal helper for job consistency
- Included comprehensive unit tests for batching logic
- Updated documentation and added batch producer example

Related to cdrx#37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Batch Support

1 participant