DEV Community

Cover image for Meson Network enhance Arweave
Meson Network
Meson Network

Posted on

Meson Network enhance Arweave

How to use Meson Network to enhance Arweave

Upload a file to Arweave network and get dataTxId.

{“name”: “Top Gun Maverick 2021 New Trailer Paramount Pictures_1080p.mp4”, “size”: 27433229, “lastModifiedDate”: 1624960183753,“dataTxId”: “-ZW0S2kqxYSRUHQW5AbBp046gLILFCZmxf37HoP1K4k”, “dataContentType”: “video/mp4”}
Enter fullscreen mode Exit fullscreen mode

Open it in official gateway:

Now, let’s use Meson Network to optimize the global delivery for this file.

The format: + ‘arweave_file_id’
Enter fullscreen mode Exit fullscreen mode

The link jumps to a specific node to serve the request, dekiekbbhkceexx is the hash of node.
Enter fullscreen mode Exit fullscreen mode

The difference between the storage layer and cache layer
The design philosophy of the storage layer and cache layer in blockchain world is quite different. The storage layer contains these principles at least:

Data Integrity: Take a proactive stance to protect referential integrity and reduce instances of redundancy or potential for inconsistency.

Consistency: The data consistency model specifies a contract between programmer and system, wherein the system guarantees that if the programmer follows the rules, storage will be consistent and the results of reading, writing, or updating storage will be predictable.

Confidentiality: Clients that desire for their data to be stored privately.

As for the cache layer, focus more on the experience while delivering the data to users, e.g. choose and optimize a better router, the load for the transfer system, the life cycle of the files stored in nodes.

Meson Mechanism

We have the file-TXID in storage layer(e.g. arweave). The TXID will be mirrored to some meson nodes on the first user request. And if the requests for TXID increase, the TXID will be mirrored to more meson nodes. The auto-scaling mechanism will bring a very fast and good user experience.

About Meson Network

Meson Network is committed in creating an efficient bandwidth marketplace on Web3, using blockchain protocol model to replace the traditional labor based sales models, consolidating and monetizing idle bandwidth from long-tail users with low cost. Meson is the foundation of data transmission for decentralized storage, computation and the emerging Web3 dapp ecosystem.


Top comments (0)