okay well we're at 100 participants and uh it's two minutes past the hour so i think it's time that we get started i want to welcome everybody to another networking channel event and actually we've got a really really exciting uh event today we have two researchers coming from netflix uh to tell us about adaptive streaming uh and more um i've seen their presentation it's gonna be great so uh so so welcome everybody now people probably know uh well i'm sure everybody on the planet practically knows about netflix netflix streams over 140 million hours of content
every day to its customers and delivering that kind of online video at scale while maintaining a high bar for performance as you can imagine is a really really incredible technical feat and we're fortunate to have with us here uh two researchers two networking researchers from netflix to tell us a bit more about how it's all done so it's my pleasure to introduce uh our two presenters today t.y huang and renata tashira both of whom are really well known uh to us in the computer networking research community let me just tell you a couple words about
each of them and then i'm gonna hand the presentation over to them ty received her phd from stanford in computer science and joined netflix 2014 at stanford she worked with nick mcewen and ramesh jahari ty leads the streaming algorithms team at netflix improving quality of experience through adaptive bitrate algorithms which uh renata nty will be talking about today t-wise also serves as the computer networking research community through acm sitcom as a member of technical program committees for various conferences and as a liaison for into women if you haven't heard about into women it stands for
networking networking women a really wonderful grassroots organization for women in networking um and helps advise sitcom on its inclusivity and diversity uh efforts in 2016 ty was listed as one of 10 women in networking and communications that you should watch by the uh n2 women group renata cheshira is a visiting scholar in streaming algorithms at netflix she's on leave from inria in paris renata got her phd in computer science from ucsd uh working with jeff volker and while she was at ucsd she worked on internet routing uh with folks in the at t research group
as well before joining inria and netflix renata was a researcher with cnrs at the sorbonne universities in paris and a visiting scholar at uc berkeley she's been really active in uh in service and in research and publications within the networking community she was a member of the steering committee for the acm internet measurement conference my pleasure to work with her on some of that and she's been active in the program committees of acm sitcom imc connex infocom and others and served as vice chair for acm sitcom so ty and renata i'm going to hand things
over to you in just a second but on behalf of uh everybody here who's online and folks who are going to be watching this later um streaming online later uh thank you for being here uh thanks to netflix as a company for uh having you uh be here uh i know it's gonna be a really really interesting time now um let me say to everybody who's online right now we have a chat a question and answer capability that's uh in the bottom right hand corner of of your zoom screen and if you could type in
questions there as you'll see uh ty and renate are going to engage each other in interactive uh discussions and if you post questions down there i'm going to moderate the questions and we'll have plenty of time for questions and discussions later on in their presentation so with that i'm going to turn things over uh to to both of you ty and renata and again thanks for being here thank you james it's pretty great to be here yes so both of us are super excited to be here talking to you all about netflix video streaming you
may be wondering why we are talking about video streaming in the networking channel so the truth is that the majority of traffic in the internet has been video for some time now and after all the lockdowns we've suffered through because of code with 19 this is even more true so i'd claim that if you are working networking you must at least understand the nature of video traffic but beyond that the inner workings as jim was just saying of any large video content provider is a great example of how to build a reliable and high quality
service on top of the internet's best effort deliver so of course we are focusing on netflix because that's where we work but the general mechanisms that we will discuss today are applied more broadly in industry so as jim just said i joined netflix last year and since then i've been just asking questions to ty like i feel like that i've been doing that's what i've been doing for the last year and i've learned just so much from that so i thought that's i'll try to replicate that today for you guys and i'm hoping to leave
enough time at the end so you can ask your own questions as well okay but before we start of course i need to welcome you all sorry my slides are not yeah with some squid game because that's so exciting so much excitement about squid game that i thought i couldn't miss the opportunity okay now more seriously now as jim was mentioning you know as you can imagine delivering high quality video to hundreds of millions of users across the globe comes with many many challenges and we are in the networking community i was coming from the
network community so i've always had this idea that the main challenges were related to you know adapting to the different kinds of conditions that you can find at internet scale and issues like network congestion flaky wi-fi you know the diversity of coverage and capacity across the globe and these are of course very consequential challenges but you know one thing i had kind of not paid too much attention to maybe i minimized was the challenges that come from the diversity of devices that you can you can get you know in the member population of hundreds of
millions of users so the screen size and the resolution can vary by a lot and also the resources that you get in these devices the memory cpu storage can vary significantly from one to the other so the real challenge is actually both of them together so you need to find a solution that can efficiently adapt to network conditions and works across all of this variety of devices and that's where things become like really really complicated so just a little bit of background so before i joined netflix i was actually working on trying to understand video
quality better so we are trying to infer video quality from the encrypted uh network traffic that you can see in the med in the middle of the network and of course one of the services that we are trying to study was netflix so we tried very very hard to make network conditions super poor so we could get rebuffers and so we could model it later on so we needed of course lots of examples of rebuffers and eventually we kind of gave up we could never have network conditions poor enough to get enough rebuffers for netflix
so t1 you've been at netflix for over eight four years now uh why couldn't we get rebirthers like what's netflix secret that make it so hard like make the quality so good we do our best uh from time to time we do still uh suffer from rebuffer that's for sure but uh we do our best and it's a collective effort uh all the way from production really uh to deployment and as well as from our deployment of the content uh all around the world to the user so it's really a collective effort from many many
different teams and what i'm going to do is to break it down into our streaming pipeline into each individual component what we do there and how we do our best to ensure the best of the uh streaming experience to uo so let's break it down into two phases and dive into the first phases that is how do we deploy our content from all the way from the production of the studio side onto the deployment onto the internet so that's digging so uh and if we dive into this first phase we can uh further uh uh
kind of break it down into three pieces uh i am an engineer i'm not a content producer so i'm not going to talk too much about the production side of things but once we produce the content that's where my my myself and my team will come see so the first step we need to do is to encode the content and that's the and the reason for that is because after we do the encoding uh we will be able to deploy these content in a much more efficient way and in terms of the deployment we will
uh deploy our content onto our cdn and i will dig more into it and that's sticking to the encoding part uh you might be wondering okay what's the goal here what's a goal here the goal here is try to minimize the number of bits we need while try to achieve the highest possible quality that we are able to achieve and we have gone a long long way to try to do that going back to some time before 2015 what we have done back then was using one single encode recipe for all the content and what
we were able to achieve is uh to use about 1 000 kb per second or 1 megabit per second to achieve standard definition quality which is pretty decent but if you think about it there are some places we can optimize further for example if you look at the content on the left which is agriculture which is a japanese animation compared to the other two uh live action movies then you can notice that it used less color it has more flat surface etc and as a result we probably can use fewer bits to describe the quality
of the picture there compared to the other two and so we start digging to these characteristics of the differences between the content and in 2015 we start developing per uh developing encoding recipes for each title and once we start doing that we realize hey we can actually improve uh we can actually improve the encoding efficiency and what we are able to what we were able to achieve is using a much lower bit rate to achieve the same uh standard definition quality going forward to today we further extend that uh concept to each individual shot within
a title so if you think about it even within the same title let's say stranger things we have some period sound shots that is more static and there are more shots that is more action-packed more color colorful more more stuff that we need to use more bits to uh to describe the context the complex scene and so we start developing encoding recipes for each individual shot depending on its characteristics and what we were able to achieve is to use as low as 250 kb per second and achieve the same standard definition quality and so why
am i talking about encoding in your networking forum here if you think about it the favorite differences before 2015 to today um it was 1 000 kb per second today is 250 kb per second for the same quality that's four times of difference if if we didn't do this title type of uh encoding efficiency improvement we will need four times of the infrastructure to send to support the same uh viewing hours on internet on netflix per se so that's a lot of burden a lot more burden and so as a networking researchers uh you should
start trying to understanding how the encoding works if you uh especially given uh video is such a big volume on the internet today and also on some part of the network let's say cellular network data usage is a very big pieces of it and user cares a lot about it because they can be expensive and by doing this kind of encoding efficiency improvement that means we change we can translate the same amount of the data plan usage into a much longer hours for users so before 2015 one gigabyte of data roughly translates to 1.5 uh
hours of watching video on netflix fast forward to today that increased to 6.5 hours uh which roughly translates to seven episodes of uh squeakins and so that's a much more reasonable things uh for people to watch yeah so so i just wanted to emphasize so i hadn't really realized how much innovation there has been in encoding technologies and how much gain per shot encoding brought to netflix so sdy we're saying both in terms of storage in the content servers and in qa improvements because we need less bytes now for achieving the same quality which makes
it much easier from the networking perspective one interesting twist that comes with these newer encodings is that the bitrate no longer is a reliable proxy for the video quality like i've assumed in some of my research in the past actually so instead or how netflix the way we are measuring quality is using the math i'm not sure uh well how familiar uh people in the networking community are review maps i thought i would add a little slime sorry sometimes this remote is funny uh to tell you about uh dmaf so vmax is is trying to
measure the human perception of in the presence of encoding artifacts so you know sometimes when the content gets encoded it might have little blocks or things like this these are encoding artifacts so what netflix has done is they've called in lots of users real people and conducted subjective tasks so people would they we had content encoded in different levels and then you had people rate the content from zero where it means really poor to a hundred with the best quality and then you can do a mini opinion score to understand how people perceive different encoding
levels okay we use all this data from ml and then we get models of how the content maps to video quality and then we can apply that to the whole netflix catalog so now for every encoded file in the netflix catalog we we understand what's the the quality of the video in that file so vmf is actually public it's in github you have the link there if you go to that link if you're more interested in the technical aspects of it there is a documents area where you can actually find the links to the netflix
tech blog also on vmf so you can learn more about that there as well so now what we have is that you know for every title we have many many many files so you can see that you have multiple encoding strategies and then for each strategy we encode it in different bit rates and as i just told you you're going to have them tag the vmf score but that is not all because in addition to all the video files that you're going to have for title we also have audio tracks that are also encoding it
with different strategies in different bitrates and also of course different languages and we also have subtitle files where you know we we have all these different languages as well so now that we have all these different styles so do i just explain how we go from the content production to producing all these different files so we must deploy them and that's the role of open connect which is netflix's content distribution network cdn so in general i think i'm thinking most of you are familiar with cdn so the main guiding principle is to place content at
the edge so till i tell us a little bit more so what exactly does the edge of the internet mean for netflix yeah that's such a great question it's such a big concept too right so when we say age of internet what do you mean what do you mean by edge and from our perspective our guiding principle of the definition of age is wherever that is the closest possible point that we can reach to our users so many of our users they connect to the internet through their own internet service provider or isp and so
whenever that's possible we will work with isps and deploy our content servers into their point of presence and that's why we coded embedded servers in our isp of course not all isp can accommodate that because in order to place a content server into their network they need to provide us the power and they need to give us the space which may or may not be feasible for some of the isps and for those cases that they don't have a space for us we peer with them through ixp internet exchange point so that we can be
as close as possible to the users that's what we mean by staying at the age and of course some the content servers the number of content servers we can put into ixp usually is larger number of servers versus compared to the number of servers we can place into our isp uh directly and so uh from time to time we are not able to store the entire catalog onto the embedded server inside the isp and for those cases we will connect back to the content server in the xp in case the contents is not available in
the embedded server indirectly in the isp so what does that mean in action to the real user so i'm originally from taiwan so i'm going to give you an example of for someone a user in taiwan what does that mean for them to get a content so by having all this content deployed at the age of the internet means a person in taiwan wants to who want to watch netflix they don't need to go all the way back to where i am here hollywood in the california instead we push all these content proactively to somewhere
in taiwan and when user click on that play button they just go to the content server directly in taiwan and fetch the content directly from there and it's a win-win solution honestly for both netflix and isp for netflix that means hey because we place the content to be a point as close as possible to the users we can offer the best possible user experience uh we uh the content will experience less transmission delay because it's so so so much closer to the user and because the content the request doesn't need to go through the backbone
of the internet they experience much less congestion as well for isps they actually receive all these video at no cost netflix pay for all the deployment costs upfront and so as a result it's a it's a win-win solution really for both netflix and isp this is where we deploy our content server globally in fact the only continent we don't have our content servers is antarctica but who knows maybe you are still working on it so it's very interesting to see how widespread this content server deployment is so thinking like as an internet researcher so the
main implication is that in general the network paths traversed by netflix video traffic are very short so even if the video is coming from an ixp you still see lots of orange dots here in this map so often in internet research you're worried about end-to-end paths that can potentially traverse many autonomous systems this is definitely not the case for netflix video traffic so in fact i was chatting with some of our colleagues from the open connect like netflix cdn and they were telling me that about 95 of netflix traffic comes directly from the local isp
okay so if you think about it the i'm getting in trouble again with this remote okay there you go so given the size of the netflix content catalog like we have so many titles and i already just told you that for each one of these titles we have all these different files that we must deploy it's just not possible to have all of the files in the full catalog everywhere so how come 95 of the traffic comes from the local compete servers yeah we do have a lot of content as you know um and as
i mentioned not all the icps that embedded servers on isps can store the entire catalog but one thing we can leverage though is some viewing behavior is actually predictable and to be more explicitly it's the uh the contents popularity is something we can predict uh to some extent and so uh and as a result we can leverage these property and rank all the content in our catalog based on their popularity and start deployment uh from the most popular content towards the nicher content the more niched content and there are many of mainly four dimensions we
used uh to kind of sort our uh popularity the first one is title uh which title are the most popular ones in this particular region where the content servers is in and then within that title which encoding profile is the most uh popular in that region you'll be like why why encoding profile matters here huh that's because different device actually use different encoding profile the encoding profile used on mobile phones is different from the including profile we use on tv as you can imagine because of the characteristic is very different the license we got is
different etc and so depends on the popularity of the device in that particular region the encoding profile that we should deploy on that region is different the third uh dimension we use to rank is bit rate uh and b rate is a prox uh plus uh proximity of uh of the uh infrastructure the quality of the into the infrastructure there and so depends on what are the quality of the video that users can normally afford to uh to sustain that quality then we will use that as a as a way to sort the popularity of
our content finally language which language is the most popular uh in that region also matters here so we will use these four dimensions to sort our content uh and deploy it accordingly and and also another trick we have in our bed bag is that we have two type of servers and they are featured with different functionalities uh we have storage servers which is the red box on the left and the flash servers which is the silver black ish boxes on the right so the flash servers uh they are uh they have lots of acc drive
and therefore they are high input and output optimized but they also have more limited storage so we used them to hold more content more popular content because they are i optimized for the storage servers on the left uh they have mostly uh spinning disk so they have lots of storage but uh in terms of i o performance they are much more limited uh but they are perfect for uh the longer tail of the content and we can use them to to hold up a large portion of our catalog and let me just give you one
example of from stanford university actually to just show you the power of content servers uh and their impact on the local traffic so this is uh this is a donghor uh dormitory hall at stanford university and the green part shows the traffic served from the content server within the stanford university and the great part is the traffic that where we push the content from netflix to the content servers at stanford so uh if we didn't deploy any content servers onto stanford stanford university would need to fetch all these traffic the green part all the way
from the origin servers of netflix uh but instead they don't they didn't need to do that at all because all these traffic are served locally on stanford campus directly another thing you should notice is that the the timing of we push traffic is actually offset uh from the peak time of uh of the stanford uh traffic and this way we can avoid creating congestion and leverage the uh the free space opens up during the off hours sorry i mean yes okay so you answered part of the question that i asked originally so we can see
that one important part is how we prepare the content in advance so we have this newer and very efficient encoding that achieve the same quality with much fewer bytes and by deploying content close to users then we have shorter paths and that means that we have lower latency and less chances of running into congestion failures etc but that that's not all i don't understand this remote okay but that's not all the so now that's where our team comes in so when we're there's also a lot of innovation that comes when we're delivering content from this
closest uh server to your home so i mean that's sort of my main job that our team is working on so do i can you tell us exactly what happens when i sit in my couch i take my remote and i click play yeah of course yeah so what happens when a user clicks play um my team is mostly in uh work with the netflix client and when the user uh hit that play button on the netflix client what we would do is we will first go to a control plan of netflix and check with
them hey if i want to watch speaking which content server that i should go to because remember we have lots and lots of content servers around the globe so we we actually need to know hey which one i should go which one is the closest to me and the control plane have a global view of of all the contents that's available where and uh and it will tell me which service to go to based on the request i send me and it will also give me a list of titles not just one oh sorry list
of files and each represent a different quality levels and inside the streaming client uh we our goal is really to optimize the quality through adaptive streaming and so we will look at the local operating environment and the conditions of it and then determine which uh files in terms of quality level that we should request for let's say everything seems pretty good i think i can sustain a video rate at 8 megabits per second then i will go to uh the content server that my control plan pointed into and as for that particular file and after
i fetch that file uh the beginning of it then i can start watching and uh so i talk about the these we have these adaptive streaming algorithms sitting inside the client and determining which uh quality we want to play but how do we decide which quality is is great what is what is optimal quality means here well everyone wants to start our video very quickly have high video quality and no interruption which we call it uh rebuffer here we certainly do hope you have that kind of experience but it's open not possible and that can
be yeah because of many different reasons it could be because of the network conditions which we all know that internet doesn't really offer any uh bandwidth guarantees and there are many factors that can affect uh network conditions from time to time um and as another mentioned in the beginning of the session that it can also because of the device uh because device sometimes have limited cpu limited memory space etc it can that can also affect how we choose the quality as well and there are many different ways that we can address uh the network condition
issue uh and in fact you probably all learned a lot about condition control algorithm in your computer network classes and you probably know much more than i do gene and renata are the experts in that areas um but my team's expertise are actually uh in different area and interestingly that can also help to address uh the uh changing neural conditions especially in the video settings that's what we called uh adaptive streaming algorithm so that's diabetes so uh first of all before we talk about algorithm itself we need to talk about what is the mechanism that
allows us to adapt video quality from time to time so the trick we have is fairly simple actually so for a given video we chunk it up into small pieces each piece is recorded a small video segment and renata mentioned that we have multiple different quality levels so what we did is for different quality levels here i show three but in reality in the real video client we probably offer 8 to 10 video quality levels and so for each quality levels we do the same thing we chunk contents up into small pieces now there's a
key thing here the boundaries of all these alignments are all aligned with each other and this alignment is the key that allows us to adapt your quality because these alignments allow us to make individual quality decisions for each segment let's say in the beginning of the video streaming everything looks good my network is functioning well i think we can support the highest quality video then we will go for it choose the highest possible video if something changed uh let's say my let's say my roommates turn on the microwave and thinks the quality of the over
the bed will start forming down um we will observe that and for this next segment we will choose the lowest possible quality to accommodate uh the situation and in order for the video to continue to grow without interruption if the microwave goes i mean the the job in the microwave uh let's say popcorn is finished uh then things improved and we can gradually uh step up the quality to the original highest possible one and from user's perspective that composition of all these sequence of decisions will be the resulting user experience starting from high goes down
and went up again but this is just the mechanism we still need an algorithm uh to decide to make all these decisions right so what exactly how exactly we do design how to design the algorithms here we take a lot of input into considerations uh we kind of briefly touch upon the networking part of things we also take uh the encoding sequence into consideration because as i mentioned in the beginning that we developed encoding recipes for each individual shot and as a result the encoding characteristics can be different from title title there are other uh
factors that we take into consideration as well for example how much buffer we actually have in a player at this particular moment because the more buffers i have in the client that means i have more wiggle rooms to uh to buffer any uh changes in the operating environment we also talk about device capability some maybe there's a background uh process is running cpu is running hard i don't really have a lot of cpu powers here what can i do if the memory is running low on this particular device is there anything i need to do
to take that into consideration as well so we take all these input into in signal into consideration and come up with a bitrate decision and that will be the end result you will see um when you click on play yeah so you know the this algorithm the main goal that we have is of course to optimize koe so we want to make sure as we are doing this that we're getting the best possible quality given the constraints for any particular user but this is really not a very simple task because as we said we have
this constrained resources and in optimizing all the three main key oe metrics that we have at the same time that is the trick as you can see here the tradeoff so the three metrics that we watched for stu i had mentioned ready before is play delay so how long it takes for the video to start the video quality and rebuffers so you can see here for instance let's say i want to minimize play delay then i just download as little as possible and but then the problem is that you're gonna have a high risk that
i will get a rebuffer if i want to minimize rebuffer then i download a lot in the beginning but then of course my play delay is going to increase and as you can see you have the same trade-offs for all of those pairs of metrics so for instance for video quality i download if i want very high video quality then i'll be able to download less and i can have rebuffers and so on and so forth so netflix avr selects the bit rate of the next segment to optimize these uh trade-offs using a white box
approach with tunable parameters that will be controlling this optimization decision as you can see here the best configuration is very subjective like some people might prefer that play delay you know that the playback sorry starts quickly with low video quality while others might prefer higher initial quality even if it takes a little bit longer to to start okay so how do we tone these parameters to achieve the best key we trade off i can't tell it's not simple you know it's it's really a challenging thing to do so there are many aspects that we don't
control the environment is super diverse i think i feel like repeating myself but that's something that i really want to get to take home that that's like that's the real challenge and so the best approach is to rely on data different experimentation so we rely heavily on a b testing and i wanted to stop here for a second to emphasize the importance of adv testing so netflix relies on a b testing to inform practically all engineering decisions i don't know if folks not in industry are familiar with eb testing but that's so if you're not
familiar that's just a rhombomines treatment control trial it's very similar like with that scene in the last year how people are passing the kovi vaccine it's the same thing except that we are testing differently our treatment here is not a vaccine it's different algorithms and configurations so for evaluating the different abr choices we're going to be assigning users to control and treatment groups and then evaluate the effects of the treatment on the video qe and as i said the treatment could be a new version of the algorithm or some different configuration so the av testing
system was one of the things that really wowed me when i arrived at netflix you know of course coming from academia it was already nice to see that i could get this many users with a click of a button but that's not how so the entire system is set up to ensure that the conclusions are based on statistically significant results from the way the users are allocated into test cells to the way the reports are built so we can analyze and make decisions about them later on so i wanted just to show you a little
snippet of these reports that we get so here is like fabricated data but it's an example of a report showing a single metric uh play delay and in this test here it was evaluating two new encoding algorithms and comparing this with the production algorithm so the control here would be the production algorithm and then you're testing encoding one and encoding two and you can kind of see that you can get the number of accounts that were in the different cells and then also you can see how much so in this case here you can see
that both of the encodes they have improved the median play delay and you get the p value directly there it's very small so it's statistically significant and it's nice because the report already color codes this for you so in this case here it was an improvement in play delay and it was statistically significant so it's called green if it's not statistically significant there'll be no color and if it decreases the performance then it will become red so you can very quickly sort of spot this uh what's happening with you the change that you've made in
a large population and in statistically significant ways so here i'm just showing you one metric but the reports have dozens of different metrics and allow it to make really more informed decisions about what improves kioe and how to navigate the kioi tradeoffs that i was just telling you about but even with such like powerful a b testing system tuning the avr is really not simple so tyo group is doing really cool stuff in this area so can you tell us a bit more about the challenges and all the work that we are doing to tune
the abr at scale yeah for of course yeah and if you think about it it's such a high dimensional search space right uh we're not gonna talk about the qe trade-off i mentioned about the number of uh different factors that we need to take into considerations uh so as you can imagine it's such a it's really it's a huge hugely highly dimensional space that we need to search through so there's no way to really bruise uh brute force um the uh the entire uh the entire space through it so we need to be very smart
or systematic and methodology uh mythological about searching the space so the way the workflow that uh we we do is essentially we can't over the years um of working in this space we will have some intuition about where might be a good starting point so we use that as a starting point to do the first round of a b testing we will get the first round of the results uh but not just that we actually apply uh some basic optimization to come up with a model between the configuration and the qe response and this will
guide us towards what are the next uh candidates of the configurations that we should uh tune in for uh and uh to optimize the qe objectives that we are heading towards and so uh and the and you rings and repeat until you are happy with the killer response that uh we end up seeing from the field and uh yeah so to summarize on the second phases of uh our streaming pipeline which is from content servers uh all the way to the streaming at the uh at the user's end uh we use adaptive b-ray algorithms to
uh to adapt to various different kind of operations operating conditions such as throughput buffer level device capabilities in real time uh to offer the best possible quality of experience and uh and this algorithm is really a living thing uh my team and many of many of my colleagues at netflix we just continuously re-evaluate and fine-tuning the algorithm based on the a b testing results um and we're not done yet here we know there are still a lot a lot of work uh to be done here uh for example on the encoding side we are still
working with our industrial partners and many of the academia partners here as well on the next generation of encoding recipes such as 81 which is a royalty-free open media standard and on the on the content deployment side uh as we mentioned about these popularity is a key thing for us to offload most of the content of most of the traffic to the edge of the internet how can we improve that popularity prediction would be a key for us to continue to reduce uh the traffic volume that uh go through the backbone of the internet uh
i didn't talk too much about construction control but as i mentioned that can be another pieces to help adapting uh our sending rate based on the network conditions on the streaming side at the client side um obviously i'm very biased that that would be ray algorithm is a rich rich research area that there are still lots of things to be uh to be invented and discovered but also i also want to mention that there are a lot of opportunities to do joint optimization can we think about how that distribution algorithms work better with the encoding
recipe even at a generation time maybe there are something else we can do between adaptive vibrate algorithm and the condition control this is a very new field uh we don't know much uh we haven't we haven't uh investigated enough yet uh and it's uh it's such a great field that uh i encourage you all to look into this area we are we are also having an internship program at netflix so if you are interested in what we are doing please let us know and of course we also have full time positions at netflix too so
if you are interested in what we do please talk to myself and renata for more information and thank you all so much for spending the morning evening afternoon wherever you are in the world with us uh i will hand it over to jane oh thanks so much t.y renata that was just abs absolutely fabulous um there's been actually been a lot of questions and and thank you for the summary slide because i think there were questions that relates to almost every bullet on your on your summary slide ty so if it's okay with you uh
what i'd like to do is just pass on some questions to you that have come up in the q a and and just queue them up for you and the two of you can can take a pass at them and you know i want to make sure we get to a few questions so um so so so let me get started and and and thanks again to folks who've been posting uh questions so um one question that came in talks about uh the abr algorithms that you've been looking at makes the observation that it seems
like you're treating every stream independently right and but as a cdn you know you're going to have especially if you're streaming from one particular server there's going to be some shared fate involved with multiple streams coming out and and i guess the question that's that's an observation and a and and the question is from your experience is there a chance to use this shared fate to improve the streams via collaboration among the streams say that are coming from a server rather than competition um i'm not exactly sure i understand the question uh but i would
take a shot to it uh so um most of the congestion that we are wealth is actually happening at the uh end uh which is mostly inside users home and so what we are aiming for is to uh measure the end to end between the server to to to the user uh there might be some competition on the server side uh but from our observation is mostly uh towards uh user's end and so right so so i think you answered the question the question uh was so for example if the the most of the congestion
was happening close to the server then a lot of the streams coming out would be experiencing congestion at the same point and you might do something across all streams to help the control if things are happening really close to the you know close to the client and homes wherever then those those those fates are not so much so much shared so i think you answered the question uh yeah and i think also the the way so if we start detecting there is a problem in some server side then we probably put more capacity there you
know so it's like in the engineering side in the open connection right that's on the engineering side but the time scale i guess for that is going to be much longer right you're not going to deploy i imagine you're not going to deploy new servers commission new servers on a you know on a minute-by-minute basis right yeah and for those cases um we will probably need to work with construction control to improve things um and uh again the majority uh like the vast majority of the congestion doesn't happen there and if possible as another mentioned
we will work with our partner i mean the uh isp partners to to make sure we have sufficient um capacity to support the video traffic great so there were a number of questions that came up that are related to how you decide which content to put at at which servers and you said that that was um popularity driven so a couple of people made the observation that there are many more content servers say in the us than in china or russia where there are more people there anyway um and and the comment was well so
um what is it what is what what are the aspects of popularity that are driving uh your decision about how much content and how also how many servers to place um in different locations around the globe yeah yeah that's a good question um uh so we do the calculation of popularity for each region so it's a region specific uh popularity uh so um but in terms of the load uh it as i mentioned different that we have two type at least two type of server uh and uh each server they optimize differently some servers optimize
for io sound servers optimized for storage so the number of strings each server can took can take is different and so we kind of also take that into the calculation uh when doing the popularity uh estimate and uh kind of if the the popularity we as we predict is more than one single server that can take or support then we'll make multiple copies of that across multiple servers on the same side right so that's interesting it sounds like you do sort of the equivalent of different time scales for dimensioning and control sort of like traffic
engineering versus congestion control yeah we yeah i guess we do both right right i i think you just answered another question that came up earlier but i'll ask it to you again just to make sure you mentioned uh ty that popularity is defined regionally and there was a question that said when you define popularity as a global popularity or is it something that's more localized for example what's popular in in india is probably different than what's popular in texas i mean just pick two random places very much so very much can i ask do you
see great disparities or something like squid games just a global blockbuster so it's popular everywhere yeah yeah it's such a interesting diversity um actually uh so we have both we have uh very hot contents that that is just popular globally like street gangs uh where we have more regional um more regionally popular shows um for example uh there are some taiwanese shows i i i love that they are more popular in taiwan uh not so much in elsewhere uh in the that's in the u.s for example then uh they will be most uh most likely
deployed in the content server in taiwan but probably not so much in uh in another place okay great um another question has to do with with adaptive bit rate and you know you gave a really nice example showing how the bit rate changes and how you're sort of trying to maximize quality the qoe on sort of a per segment basis there's a question that came in that said do you also take into consideration um the switching so for example i think behind this question was the notion is that if the quality jumped up and down
a lot that might not be good as good as say quality that was always at sort of a more constant but less jumpy level but maybe lower level on average such a great question yeah indeed and that's where uh the quality matches the vmf where uh the renata mentioned earlier is very very helpful uh because by having that quality metrics we do know at for each segment what's the perceivable quality for human eyes and so when we design the algorithm we try to minimize uh the jump uh so that it's we try to be small
enough so that it becomes it's not jerky uh for human eyes um uh that's something we try to uh we try to design our artisans that's really interesting okay one last question uh and then i think we're gonna we're gonna want to wrap things up um uh uh more ques questions keep coming in um uh let me ask a question having to do with reinforce uh not reinforcement sorry uh there was one there too but having to do with uh with ab uh a b testing and in particular there's a question that came up somebody
asked have you tried to do conjoint analysis rather than a b tests or really a b test is the way you're going um i'm uh pardon my ignorance what is conjoined okay we're going to pass on that question in that case because i'm not going to be able to explain that to you either but i thought that uh uh anyway uh i think we'll we'll take a pass on that question um if i may so is this related to like how should we think about uh machine learning based approach versus a b test or well
actually maybe you you could you could talk about that because there was a question related to that also yeah um so there's actually a recent paper from sitcom uh from keith uh that uh found stanford about learning institute and what we what we observed uh in the field is kind of similar uh if you build a model based on uh trending data asset uh your performance is kind of limited towards the uh the the extent of your dataset and you kind the best way to design an algorithm for is actually uh have it based on
the uh the the data you the the actual user data in the field and if you think about it that's essentially a b test and uh and and that's why we focus a lot more on the a b casting yeah and i just wanted to add one thing i don't know if the question i was asking about doing correlation analysis but like a b test i mean you it's directly a causal analysis it's much stronger than looking at i mean of course we have large data sets we could look at correlations but if you're doing
if we pass the direct answer to the question of is this treatment making a difference or not you know right okay great well there were many more questions we're going to move these questions over uh to the slack channel so for those of you who haven't seen the slack channel before for each of the individual events there's a slack channel associated it with where folks can pose and pose questions have discussion and and ty and renata we'd invite you to drop into that slack channel as you're able and and help answer some of the additional
questions that came up so i want to do two things before we sign off here because it's one minute past the hour here um or one minute past whatever hour you're at except in india i guess it's one minute past the half hour um uh first i wanted to thank you both again so much really absolutely fabulous talk and and you know i think seeing you know as users of many people being users of your system and sort of being interested in large-scale distributed infrastructure what you're doing is just so interesting and so thanks for
sharing some insights into the internals and what's happening under the hood there that it's just it's it's really hard to learn that and it's wonderful that uh you know you folks are willing to talk in a in a venue like the networking channel to help bring that to people so thanks again thanks thanks also you know thanks for the work you're doing thanks also for the service work that you're doing and i'll add thank you both in particular for the service work that you're doing through into women and other efforts that i know you're both
involved with to promote women uh in in networking you you both really rock so thanks again thank you okay and and so let me close by um just reminding folks what we have coming up next i'm going to share my screen um uh yeah okay i'm going to share my screen here and i want to remind people about the event that we have coming up in in in two weeks and that's what's shown here so our next event is on on quantum networking two weeks from now you see that we have uh serge fedida is
the organizer of that we have three speakers and we'll be adding one or two more i think likely within the next and next week and so quantum networking another really exciting area uh and you can hear from it again from researchers what we do in the networking channel we bring researchers who are working on really interesting problems to the uh uh you know into the activities and the events that we sponsor and so i think it's kind of a matter of fact i know uh since i know a couple of speakers it's going to be
uh a really really good event uh next time so with that thanks everybody for tuning in and ty and renata thanks again for just a really fabulous time here bye