Answer Overflow
09/08/2025, 10:47 AMstrock77
09/08/2025, 10:47 AMjs
const dataset = await Dataset.open('default');
await dataset.pushData(item);
Is it safe for N processes to push to the same dataset concurrently with storage-local (no corruption/partial writes)? Any guarantees about atomicity / ordering?
If not recommended, what’s the best pattern?
• per-worker datasets then merge?
Any flags/settings I should use to make this robust? Thanks!Miny
09/08/2025, 3:45 PMstrock77
09/08/2025, 8:26 PM