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

caching of video is very slow #66

Open
mohammadebrahim opened this issue Apr 30, 2022 · 2 comments
Open

caching of video is very slow #66

mohammadebrahim opened this issue Apr 30, 2022 · 2 comments

Comments

@mohammadebrahim
Copy link

Hey, I m creating an application like tiktok but caching of the video is very slow. User performance is not very smoth.
Video store on amazon s3 bucket.
Please help me what to do

@onyx1409
Copy link

@mohammadebrahim was having the same problem, sped up by setting up Amazon CloudFront and instead of downloading directly from S3 (like https://s3bucketformyapp/videos/bigslowvideo.mp4), using link through CloudFront base url (like https://uniqueid.cloudfront.net/videos/bigslowvideo.mp4). Setup is pretty simple and speed increase is really worth it. For me for exapmle it was from ~20 sec to 3-4 sec

@waterdrake
Copy link

I have also noticed that the caching is a little slow if your network isn't fast.

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

No branches or pull requests

3 participants