by Nican · 3y ago · 0 comments
Last I remember, Z-Library was having an issue scaling the DHS to handle the number of files [1]. Did those issues get resolved? How is it going now? Also, is there anything being done to ensure every file has seeders?
The security was also a concern, and the scaling had issues. Pinning millions of small items got so slow it would not function. Then I ended up having concerns over hashed based addressing being easy to censor with the architecture IPFS was using (more hub & spoke than anything, given signaling and relay servers were centralized).
I could go on but I ran into so many issues I ended up implementing my own solution that did everything I wanted. Wanted to squeeze even more performance, I’ve been converting that solution to Rust.
This was a couple years ago so maybe things have changed since I used it. Last I checked, they seemed busy on Filecoin.
The idea of IPFS is great and I want to see it succeed, but I think that they got so caught up in their jargon and modularity, the project lost track of some fundamentals.
Their intentions seemed good to me they just have an ungodly amount of financing while perhaps lacking a core vision & understanding of what is at stake.
Put another way, seems more like an academic building something rather than a seasoned industry pro.
In any case, I don’t want to disparage their project. I learned a lot from their code & concepts. We are all on our own roads towards brilliance, contributing to each other in all kinds of ways.
ConsenSys is a company formed by Ethereum co-founder. He has sold out to the big banks, in the opinion of some Consensys shareholders.
https://finance.yahoo.com/news/consensys-shareholders-readyi...
"Falls says he believes both MetaMask and Infura - what he calls "the crown jewels" of ConsenSys - could have been decentralized and tokenized, and that their projected use is "completely anathema" to the peer-to-peer principles of the space.
Meanwhile, a number of teams are looking to bring "institutional DeFi" - with its known counterparties and compliant custody arrangements - to the marketplace.
"Forget about the shareholders for a minute," Falls said. "Think about the consequences of the change in the influence over these infrastructure pieces.""
Out of curiosity I was looking at the evolution of IPFS hashes. They have gotten more complex. IPFS now uses base58btc exclusively. That's "btc" as in Bitcoin. Something like rhash, which has traditionally supported hashes used in peer-to-peer protocols, has no support for base58btc.
People are now trying to associate IPFS with "Web3". For example, check out this paper published a couple of weeks ago.
"Studying the workload of a fully decentralised Web3 system: IPFS"
That's blatantly wrong. IPFS supports 25 different base representations (https://github.com/multiformats/multibase/blob/master/multib...).
In fact, recently, two community members decided to implement a new base encoding with emojis for fun:
https://cid.ipfs.tech/#%F0%9F%9A%80%F0%9F%AA%90%E2%AD%90%F0%...
https://github.com/multiformats/multihash supports at the very least SHA1 SHA2-256 SHA2-512 SHA3/Keccak Blake2b-256/Blake2b-512/Blake2s-128/Blake2s-256 Blake3 and Strobe. Hashes in IPFS are being standardised through the IETF and W3C https://www.ietf.org/id/draft-multiformats-multihash-05.html.
If you need rhash, you are welcome to submit a PR! We also have a grants program you can use to be rewarded for this.
https://consensys.net/blog/press-release/consensys-raises-65...
https://www.reuters.com/technology/blockchain-firm-consensys...
https://consensys.net/blog/press-release/protocol-labs-colla...
"In CIDv0, hashes are always encoded with base58btc. Always."
https://web.archive.org/web/20200810110206/https://proto.sch...
"Converting CID versions
You can convert any CIDv0 to CIDv1, because the implicit prefixes from v0 become explicit in v1. However, because CIDv1 supports multiple codecs and multiple bases and CIDv0 does not, not all CIDv1 can be converted to CIDv0. In fact, only CIDv1 that have the following properties can be converted to CIDv0:
multibase = base58btc multicodec = dag-pb multihash-algorithm = sha2-256 multihash-length = 32 (32 bytes, equivalent to 256 bits)"
https://proto.school/anatomy-of-a-cid/06/
Thank you @2color for the correction.
> People are now trying to associate IPFS with "Web3". For example, check out this paper published a couple of weeks ago.
IPFS has been used to host dApps for a long time — eg the Uniswap frontend. This isn't a recent thing.
It is true that Base58 is named for its original implemention in bitcoin but other than the name it has nothing to do with bitcoin.
The difference from Base64: It excludes non-alphanumeric characters and visually similar characters (I, l; O, 0) to make the output more human-friendly[0].
The problem it attempts to solve: Making bitcoin addresses more human-readable. That is likely also why IPFS uses it.
ConsenSys was founded by Joe Lubin, and is the corporate entity behind MetaMask, Infura, etc. It counts MasterCard and JP Morgan as investors.
Protocol Labs was founded by Juan Benet and is the primary sponsor of IPFS and the dev team behind Filecoin. They're funded primarily from the private token sales of FIL.
Agree with the sibling comment that the focus on modularity and solving "all of the things" rather than focusing on adoption seems to be a pattern with Protocol Labs, though I'm a big fan of what they're trying to build.
The #1 lesson they failed to learn from Bittorrent and Tox: your DHT must be sessionless.
QUIC is not a solution to this particular problem. Although QUIC uses UDP, it still creates and manages sessions. This is incompatible with decentralized scaling. At the scale of Bittorrent and DNS you cannot manage this kind of session state without centralization.
I'm not 100% certain what you mean by the DHT being sessionless.
> At the scale of Bittorrent and DNS you cannot manage this kind of session state without centralization.
You don't have to route content via the public DHT. Depending on what kind of data you're publishing, you can use a private DHT swarm, or delegated routing with HTTP.
> This is incompatible with decentralized scaling.
Your ideas are intriguing to me and I wish to subscribe to your newsletter!
(I really would appreciate any pointers to additional info on something that actually works...)
Until then, what I’m building unfortunately doesn’t seem to have a peer. So I will keep at it. If it gets to a point where I believe it can be useful to others, I will share it freely.
It sounds very useful already.
I’d love to see the code even if it’s not in a quite working state yet.
Please reach out if it fits your use case.
Hackernoon released a blog post comparing the two projects.
https://hackernoon.com/whats-the-difference-between-ipfs-and...