You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 12, 2024. It is now read-only.
In the recent months of developing js-ipfs we had some issues with various parts of the different versions of node-streams. Some of the major ones were
Hard to control error handling, especially as we pipe and wrap streams many times from module to module
Issues with flushing data, write streams don't give guarantees about when data has been written to the underlying data source, for example disk. This resulted in some very problematic race conditions (ref Error: ENOENT: no such file or directory #351)
Behaviour different depending on the module. Given the complicated history it is not always clear when combining streams from core and multiple modules in which mode they are currently and why they are not behaving as expected.
In light of these issues we are exploring different alternatives to replace the stream based code inside js-ipfs
Currently I have identified two possible alternatives