wiki/_next/data/Ie9t5zutrXP6Of75Cb5xF/web.protocols.ipfs.json
2022-07-29 15:41:17 +00:00

1 line
2.3 KiB
JSON

{"pageProps":{"metadata":{"date":"\"2021-05-13 16:41:26 +08:00\"","date_modified":"\"2021-08-08 20:05:20 +08:00\"","language":"en","source":""},"title":"IPFS protocol","hast":{"type":"root","children":[{"type":"element","tagName":"nav","properties":{"className":"toc"},"children":[{"type":"element","tagName":"ol","properties":{"className":"toc-level toc-level-1"},"children":[]}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"A project that aims to power the next generation of the web (Web 3.0).\nThe core component is a protocol (also called IPFS protocol) that aims to replace HTTP.\n"}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"In order to understand what sets IPFS apart, we need to discuss a bit on the current way of delivering content.\n"}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"Currently, 99% of the web today are delivered through HTTP.\nIt is primarily delivered through "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"location-based addressing"}]},{"type":"text","value":".\nThat is, in order to get what the client needs, they need to send a request to the server that has that content wherever they are.\n"},{"type":"text","value":"\nProblems can come through if the server is located in another country or continent, even, which will result in slower requests.\nFurthermore, it will create a bottleneck for that server especially if it's a popular site like Facebook, YouTube, and Twitter.\n"}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"IPFS addresses this problem by settling into a different approach: "},{"type":"element","tagName":"strong","properties":{},"children":[{"type":"text","value":"content-based addressing"}]},{"type":"text","value":".\nIn this protocol, when the client requests for the content, it will crawl through the network searching for the node that has the content.\n"}]},{"type":"element","tagName":"p","properties":{},"children":[{"type":"text","value":"For content-based addressing, they make content hashes as the central component for that as a way to identify the content.\nBut since cryptography is not perfect and can always be broken, content IDs can come in multiple format.\n"}]}]},"backlinks":[]},"__N_SSG":true}