Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: load the video from storj instead of cloudflare #542

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tushar-saxena-yral
Copy link
Contributor

Switches the video retrieval from cloudflare to trial account's storj bucket. All the videos that are seeded by backend are loaded into my storj bucket.

For now, to try it out:

  • switch to test/storj-backed-feed
  • keep backend image locally
  • ./local-run.sh

I can barely feel the difference, but I welcome everyone to give it a shot at least once.

I also ran some simple bench marks to get some numbers:

Average download speed reported by curl for downloading 102 files with a size
range of ~[500kb, 10mb]


Storj ====================================
	Mean: 2.07316e+06 bytes/s
	Median: 1695713.5 bytes/s
	Standard Deviation: 1426472.75 bytes/s

Cloudflare ===============================
	Mean: 4.72868e+06 bytes/s
	Median: 3750166 bytes/s
	Standard Deviation: 3376576.21 bytes/s

Cloudflare is 2x faster than storj

But it barely makes a difference in practice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant