On demand video App without external CDN

Hello Everyone,
We are building a video-based application like YouTube but it requires CDN for global content delivery, recently I found out about Storj and its decentralized nodes across the globe, which makes me wonder, may be we don’t need a CDN anymore if we use Storj’s Video storage and streaming solution. if anyone has any experience and knowledge please reply in the comments

1 Like

Here are a few links that might point you in the right direction:

5 Likes

Here are some sample links of some videos streaming from Storj DCS:
Storj Final.mp4 | Storj DCS
Fireplace 10 hours full HD.mp4 | Storj DCS
Sintel.2010.1080p.mkv | Storj DCS
And some more links and discussion on streaming videos in this thread: Performance got worse? and here:
How it works video suggestions

2 Likes

And I just noted that you can replace the dcs1 in that link either with

where eu1 gives me the best performance and streams without rebuffering. So streaming to endusers might require some kind of logic to figure out the best suited satellite for them.

2 Likes

I belong to India maybe I should go for Asia Pacific, but I’ll try EU too !

Oh yes, I am from the EU that’s why it suits best for me I guess.
Maybe at the end Storj would need to setup some more regional satellites to optimize worldwide coverage for such a usecase. :thinking:

Some of the above videos that you sent are taking quite a time to load even though they are just 70MBs, but when I talked to Storj’s Sales they sent me this video which was around 1 GBs but still loaded much faster, see if this is the same case with you, also it is on US nodes.

Bunny Video

I think they might have used fastly CDN for this video for sales purpose who knows. Let me know how this streams at your end.

EU1 streams best for me again. I tried with US1 and AP1 and both keep rebuffering.

How do I change it to EU or AP, It’s only streaming with US1 on my side

You change the link part to you liking:

https://link.us1.storjshare.io/s/jwwlss3g44lwvp5etxkxcn6oo6ya/newdemo/Big%20Buck%20Bunny%20Demo.mp4

2 Likes

Confirming we don’t use a CDN for any demos, it’s all real. EU1 currently has the most capacity for streaming. Larger files of course have more nodes holding segments. More nodes equals better performance.

64MB = 80 Pieces
128MB = 160 Pieces
256MB = 320 Pieces
512MB = 640 Pieces

3 Likes

This thread got recently bumped, so this might be a good moment to mention our linksharing and S3 services got massive upgrades over the last year in terms of capacity. We’ve seen video streaming use cases successfully done on top of our S3 gateway.

We recommend using our global endpoints. Instead of using
https://link.ap1.storjshare.io/s/…mp4, use https://link.storjshare.io/s/…mp4., and instead of using gateway.ap1.storjshare.io, use gateway.storjshare.io. This will always route your users to the nearest (and fastest, in terms of latency and bandwidth) server.

5 Likes

The latter should be
https://link.storjshare.io/s/jwwlss3g44lwvp5etxkxcn6oo6ya/newdemo/Big%20Buck%20Bunny%20Demo.mp4
Correct?

Correct @jammerdan, thanks, I’ve updated my message!

1 Like