-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Push files directly to a CDN #907
Comments
Is there a standard protocol to push to the CDN? Or is it a feature provided by a specific CDN? I have experience working with AWS CloudFront or Akamai, and other CDNs, but I haven't experienced anything with "Push" yet. If you have specific documents or data, please provide them. |
Ok clear, yes there are not a standard for the Push, like Akamai gives to you 2 different approaches: For the push you can say directly what you you'll push to the CDN, so CDN can do all actions needed to let it works. (For example use caching only on some files, avoid caching on other files.) Probably yes, what I mean is much similar to the S3 upload. |
Yes there are too many upload methods in the world. It is difficult to implement them all. |
why push over pull to a CDN, out of curiosity? in live streaming scenarios at least, pull is generally the preferred method for lowest latency. |
I'm happy you asked for that! Actually I don't have an answer about that, we've build the system in this way so just don't wont to change the logic.
I've never used the "on pull" for live streaming, so maybe I'm wrong 🙌 |
I'm installing Oven on a VM, what it's not clear to me is the path where the file are encoded so I can take them and push to a CDN. Haven't find anything on doc, do you have some hint for me? |
@lonasozo
Let me know if you have any other comments. |
Clear, thank you for your reply and for this clarification. P.s. I've found the DumpSegmentToFile() function, is this the function you've mentioned before? To be more specific, I need this only for live streaming and not for VoD contents. |
I don't have time to support it right now, so if you can do it yourself, here's a tip. Just remove #EXT-X-ENDLIST from the code below and it will be dumped as a live version of legacy HLS. |
As you may already know, the settings for HLS dump are below. |
Awesome! Thank you, I'll try to do by myself and come back if have any other question 🙏 |
This is pretty clear. But I still have a question: in #766, in your first post you wrote
So what do you mean with "you can deploy with an existing CDN" ? What I understood was exactly what @lonasozo stated here in his first post. Maybe I'm missing something too? |
@radar155 |
So basically if OME is setting for us the proper caching headers, it's possible to deliver LLHLS segments (and playlist) across thousands of users with a single OME Origin istance only hitted by the CDN (once per segment) ? |
@radar155 consider that it is not "one call per segment", it depend on how much fast is the CDN to fetch the content and how many concurrency requests are you getting. Basic example: if you get 1000 request concurrently, maybe 200 can hit the origin because content is not available into CDN and CDN need to fetch it, 800 get the content directly from CDN. (numbers are totally random, just to let you understand the logic) |
In most CDNs I know, when there are 1000 simultaneous requests, only one session goes to the origin, and the remaining 999 requests are hit. |
On high cost CDNs it could work, if there are optimization for live streaming services. P.s. Time ago (1/2 years) I got a consultancy from one of the "high cost" CDNs, they said to me that with the Pull origin has from 10% to 20% of hit. Maybe something in the while is changed. |
in a pull scenario advanced/"high cost" CDNs offer you to designate a specific POP/datacenter to act as an "origin" within their network, which all other POPs will make requests to before your actual origin. utilizing this with request collapsing to origin from the CDN you can achieve high cache HIT ratio (90%+) at the CDN with minimal bandwidth usage to origin. |
LLHLS has a sequence number (_HLS_msn, _HLS_part) in the playlist. Therefore, LLHLS has a much higher hit rate than legacy HLS when using a CDN. I'm offering a commercial LLHLS service with CloudFront, and Origin's output throughput is roughly equal to number of edges * media bitrate. |
@getroot Hi, I'm interested. I'm interested in the service you offer, how can I purchase your services? |
@gaf2419 You mean CloudFront? It's not my service, it's AWS's CDN service. |
@getroot Thanks for answering, I have ovenmediaengine installed, and I also have an amazon account, I would like to configure the amazon cloudfront CDN to deliver the LL-HLS content to me, do you have a tutorial which I can follow step by step? to achieve this? Or do you provide the service of configuring a CDN for ovenmediaengine? I would appreciate any help you can give me. |
@getroot I would like to hire you, to configure what I need, for this reason I have previously asked you how I can acquire your services. |
@gaf2419 Please email our support team. (support@airensoft.com) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
PROBLEM
Hello Guys, This is an awesome project.
I'm looking for a way to push files directly to a CDN.
EXPECTATION
I imagine a flow like this:
I've seen the documentations but hadn't find something like this, seems there are mainly "Pull" way to do this, but not with the "Push".
I've missed something?
Thanks!
The text was updated successfully, but these errors were encountered: