Comments (4)
@adelpro They are different things. A CDN is there to distribute files over HTTP; speed and reliability are of vital importance, especially when doing things like streaming audio or video.
IPFS is a peer to peer file sharing protocol - it can't serve as a CDN. Even if it (and here I mean multiple nodes as a single one alone would never be reliable enough) were to be used as a data source for an HTTP proxy (to achieve the desired effect you would also need many of these) that cached as a CDN, in a real peer to peer network there is no guarantee about the uptime or bandwidth of the peers, so it would defeat the purpose.
BTW I am unable to download audio from your website. Links like https://share.ipfs.io/#/QmPuR954yoKXWjoCr5ChsJZPjGZa819i7ePuy5QfbZ2nxz get stuck at loading file list.
from alquran.cloud.
Thats the point @meezaan , peers not peer, when more peers join the project these files will become more reliable and beter then a CDN distributed from one server.
The project Quranipfs is a proof of concept and IPFS is on the early stage of development,
How much cost distribuing files over CDN?!! And how mach data can we serve over CDN?!!
The inverse, how much cost distribuing files over IPFS and how much bandwidth and data can we serve?
IPFS is the future of file sharing especially with more and more modern browsers are adapting it by default eg Brave and Opera.
from alquran.cloud.
Thats the point @meezaan , peers not peer, when more peers join the project these files will become more reliable and beter then a CDN distributed from one server. The project Quranipfs is a proof of concept and IPFS is on the early stage of development, How much cost distribuing files over CDN?!! And how mach data can we serve over CDN?!!
What makes you think a CDN runs on one server? Almost all commercial CDNs allow specification of multiple origins, and the Islamic Network CDN is no different. The assumption that more peers will make things more reliable and better is simply incorrect. It depends, like I said before, on the reliability and connectivity of each peer. Peer to peer networks do not guarantee consistent performance. Besides, this idea of when is a fairy tale - any problem needs to be solved here and now, not at some point in the future. I don't have any problems using an IPFS network to share stuff, but using it as a CDN would be plain wrong.
The inverse, how much cost distribuing files over IPFS and how much bandwidth and data can we serve?
How would the cost of operation be any different? Everyone has to pay for servers they provide to join the network and everyone has to pay for bandwidth. Then to actually be able to use IPFS as a CDN, someone still needs to pay for GeoDNS, failover, etc. etc. If anything, you could save money on bandwidth because you would not have to pay money to sync files all the time across your origins. This cost is something you would only be aware of at scale. The amount of data you distribute over a CDN or IPFS network is no different. You are restricted only by the CPU and memory required to serve HTTP requests and the network pipe.
Cost of storage - IPFS will be more expensive as it requires block storage. Object storage is 5 times cheaper than block storage at providers like Linode, Digital Ocean and Vultr, but it can't be used with IPFS.
IPFS is the future of file sharing especially with more and more modern browsers are adapting it by default eg Brave and Opera.
File sharing and a CDN are 2 different things. I think you need to understand that first. It's like comparing a ream of linen (IPFS, which a protocol) to jalabiya stitched of cotton (CDN, which is a finished product ready to use but uses a different protocol from IPFS - HTTP).
from alquran.cloud.
I'll close this issue now as GitHub is not really the place for this discussion. Happy to continue it on Discord or https://community.islamic.network.
from alquran.cloud.
Related Issues (20)
- How to access your API HOT 2
- Question HOT 1
- getting Audio File path with API HOT 1
- CDN sending null responses. HOT 9
- QURAN TEXT ISSUE showing small Mim (إقلاب ميم) in wrong places HOT 21
- highlighter on verses in image of quran HOT 2
- Showing Wrong Translation of Aya 8:64 HOT 2
- Missing Metas
- Kitab Font: علامات الترقيم HOT 2
- Suggestion to change home page text
- The URL is not en.asad edition but the descriptions is HOT 2
- Add font download button to the "arabic font edition tester" page
- Separate basmalah and first verse
- GraphQL API HOT 2
- Unterminated quote in 2:113 HOT 2
- Tajweed Quraan in indopak font/text HOT 1
- Add server side rendering for Calendar
- Arabic text is inconsistent data[0].ayahs[0].text HOT 1
- Data issue in quran-wordbyword HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from alquran.cloud.