Open mrkamel opened 2 years ago
Hi,
it seems the segment/total_segments options can not be used yet from within dynamoid (right?), but i think this would be a really great addition to parallelize requests:
segment
total_segments
MyTable.with_segment(3, total_segments: 16).where(some_field: 'value').delete
What do you think? Any plans adding it? Would you be open for PRs regarding it?
Hey. Agree, it may be useful. The proposed signature (with_segment(int, total_segments: int)) looks good.
with_segment(int, total_segments: int)
Hi,
it seems the
segment
/total_segments
options can not be used yet from within dynamoid (right?), but i think this would be a really great addition to parallelize requests:What do you think? Any plans adding it? Would you be open for PRs regarding it?