We have hosted the application mfs javascript implementation in order to run this application in our online workstations with Wine or directly.


Quick description about mfs javascript implementation:

JavaScript implementation of the IPFS Mutable File System. The code published to npm that gets loaded on requires is an ES5 transpiled version with the right shims added. This means that you can require it and use with your favorite bundler without having to adjust the asset management process. The mfs works by storing a reference to the root node's CID in LevelDB. LevelDB does not support concurrent access so there are read/write locks around bits of the code that modify the the root node's CID. A lock is kept on the main thread and any requests to read/write from workers or the main thread itself are queued pending release of the lock by the existing holder. Reads are executed together, writes are executed sequentially, and prevent any reads from starting. If you are using IPFS in a single process or with the node cluster module this should be completely transparent. If you are using Web Workers there is no way to globally listen to messages sent between workers and the main thread.

Features:
  • Use in a browser with browserify, webpack or any other bundler
  • Use in a browser using a script tag
  • Use in Node.js
  • Reads are executed together, writes are executed sequentially and prevent any reads from starting
  • If you are using IPFS in a single process or with the node cluster module this should be completely transparent
  • Ensure the right message transports are set up to allow requesting/releasing the locks


Programming Language: JavaScript.
Categories:
File Sharing

Page navigation:

©2024. Winfy. All Rights Reserved.

By OD Group OU – Registry code: 1609791 -VAT number: EE102345621.