Live data from Hacker News

CacheP2P – Distributed caching platform

cachep2p.com

51–60 of 63 posts

Re: CacheP2P – Distributed caching platform

#52
I just wrote a simple Wordpress plugin which utilizes http://cachep2p.com's new CacheP2P technology --> http://keplabs.me/cachep2p.zip | The simple for now (I will update this plugin to automate the rest of the functionality so no manual work is required) plugin will insert the necessary files in the footer of your Wordpress website... Cheers!

Re: CacheP2P – Distributed caching platform

#53
I just wrote a simple Wordpress plugin which utilizes http://cachep2p.com's new CacheP2P technology --> http://keplabs.me/cachep2p.zip | The simple for now (I will update this plugin to automate the rest of the functionality so no manual work is required) plugin will insert the necessary files in the footer of your Wordpress website... Cheers!

Also, please check out the non-profit I run IT for which is called The Senase Project --> https://www.thesenaseproject.org/

My absolutely beautiful, amazing and incredible wife (of one year in 3 days | 10/23/15), built a school and medical clinic in a small village in Ghana Africa called Akatim.

If you find this story/plugin helpful or interesting please say hi to my wonderful wife on Twitter sfie_1, also - please don't vote for the Donald, that's all...

Re: CacheP2P – Distributed caching platform

#54
post #24

This project, and lots of others, would really benefit from a standardized crypto Javascript API in browsers so there is an opportunity for using better hashing algorithms than are realistic to implement in Javascript. Im not saying its realistic to engineer sha1 collisions to serve up malicious content on a platform like this, but its getting closer every year.

The platform my company is working on is similar to cacheP2P. We wrote our own custom PKI implementation on top of the WebCrypto API that doesn't rely on SHA1 for hashing.

I go into more detail about our platform in this comment: https://news.ycombinator.com/item?id=12758084

Re: CacheP2P – Distributed caching platform

#56
post #32
post #23

This has made me rethink a lot of things. I think video on the web should probably use the webtorrent approach primarily. Thanks for posting... gonna go work on some interesting approaches now.

I dont think bittorrent is particularly suited for small file caching and thats how a lot of video is served these days (think about how adaptive rate streaming works, a video is split into thousands of small files containing a few seconds of video at certain bitrates).

The number of files is not an issue, the only potential issue is the total size of the content (not what you'd think: the bigger a torrent, the better). It is perfectly doable to create a single torrent for the full video with all known bitrates, and have the client progressively load data as needed, switching from bitrate to bitrate on-the-fly

Re: CacheP2P – Distributed caching platform

#57
post #32

Earlier quoted context omitted.

I dont think bittorrent is particularly suited for small file caching and thats how a lot of video is served these days (think about how adaptive rate streaming works, a video is split into thousands of small files containing a few seconds of video at certain bitrates).

I believe that bittorrent works by splitting a single file into thousands of small files, so this may, in fact, be ideal?

bittorrent doesn't split into files, it splits into pieces and chunks that are invisible to the user, so that's not something you can use as a user.

Re: CacheP2P – Distributed caching platform

#59
post #47
post #24

This project, and lots of others, would really benefit from a standardized crypto Javascript API in browsers so there is an opportunity for using better hashing algorithms than are realistic to implement in Javascript. Im not saying its realistic to engineer sha1 collisions to serve up malicious content on a platform like this, but its getting closer every year.

https://www.w3.org/TR/WebCryptoAPI/ ?

In particular, SubtleCrypto [0] seems to be what you're looking for. It's in the latest versions of FF/Chrome/Edge/Safari (and according to MDN, shipped with Edge last year and has been supported by Chrome/FF/Safari for roughly 2 years* [1]).

I can't find any support for Opera / IE, unfortunately, although Opera's been based on Chromium since 2013, so... presumably it's been supported for years, as well?

* Cross-referencing against browser release dates, that is.

[0] https://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto

[1] https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypt...

Post reply on HN