Visitar URL original
Replace experiment pipeline with an explicit batch by aisk · Pull Request #46 · aisk/python-memcache · GitHub
Skip to content

Replace experiment pipeline with an explicit batch - #46

Merged
aisk merged 2 commits into
masterfrom
rename-pipeline-to-batch
Oct 6, 2026
Merged

aisk merged 2 commits into
masterfrom
rename-pipeline-to-batch

Conversation

@aisk

@aisk aisk commented Oct 6, 2026

Copy link
Copy Markdown
Owner

The user-facing pipeline() in memcache.experiment groups independent operations and fans them out per server with no ordering across servers, so it is a batch rather than a pipeline. It is now cache.batch() returning Batch / AsyncBatch, and the with block is replaced by an explicit execute(), since commit-on-exit reads like a transaction the batch never was. Pipeline naming stays only in the connection layer, where it describes the actual wire behavior.

@aisk
aisk merged commit d0ddebe into master Oct 6, 2026
5 checks passed
@aisk
aisk deleted the rename-pipeline-to-batch branch October 6, 2026 16:33
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.

1 participant