Font Size: a A A

The Design And Implementation Of Room Server On Video Live Streaming Platform

Posted on:2018-09-17Degree:MasterType:Thesis
Country:ChinaCandidate:W HeFull Text:PDF
GTID:2568305144976229Subject:Engineering
Abstract/Summary:PDF Full Text Request
As the rise of the over-entertainment today,people’s demand for the network information dissemination content is shifting from text and picture to live streaming.Since the second half of 2015,the domestic live streaming industry has entered a stage of rapid development.Baidu,Alibaba and Xiaomi and other giants have invested in live streaming companies or built their own live streaming platforms.The company where I used to be an intern in has also formed a live streaming platform.The live streaming platform of the company has grown rapidly.It has achieved a huge market share and user volume.So,the platform has a heavy load and diversified business models.The live streaming platform provides live room service with a single server.It leads to significant overhead on live room server and difficulty in separating different business logics.In summary,the room server in this live streaming platform has two problems:1)Whether we can design a new system architecture that can reduce server load and improve system scalability?2)Whether the existing business model can be applied in this architecture?Based on the analysis of these problems,the design and implementation of a new room server for the live streaming platform is presented in this article.It includes:1)In order to reduce room server’s load and improve scalability,the single room server is refactored and transformed into a new master-slave distributed architecture which is constructed with one RoomSvr as core combining with several InfoSvrs based on broadcast synchronization mechanism.The RoomSvr maintains global data in live streaming rooms.The InfoSvr broadcasts updates to other InfoSvrs and users.2)Parts of functional requirements are implemented in this new architecture.These requirements include Flow monitoring module and Service throttling module in InfoSvr,Room management module,User management module and Microphone order management module in RoomSvr.With above-mentioned architecture design and implementation of specific functions,the workload of RoomSvr has been reduced and the RoomSvr has provided the live streaming platform with business support.
Keywords/Search Tags:Live streaming, Master-slave structure, Broadcast Synchronization, Message queue, Shared memory
PDF Full Text Request
Related items