基于 Go 的流媒体视频网站的设计与实现基于 Go 的流媒体视频网站的设计与实现摘 要本文讲述了基于 Go 的流媒体视频网站的设计与实现。开发这套流媒体视频网站能让用户无论在视频点播还是视频的上传下载都有一种完美的用户体验,对于高并发的场景可以轻松面对。本系统采用了 GoLand 2019.1.3 和 WebStrom 3.2 作为前后端开发工具,选用Mysql 8.0.15 作为后台数据库。该系统包含了 5 个主要功能模块有:视频点播模块,视频管理模块,用户评论模块,用户管理模块,流控模块。后端采用 Golang 语言实现,以及所提供优良的native http 库实现网络请求。采用模块化设计,API 对接前端服务,后端分为Streaming 和 Scheduler 模块处理相应事务。前端采用 Vue.js 前端框架,结合Element-Ui 对后端返回的 JSON 数据做处理展示。用户通过本网站注册、注销、退出账号,登录用户可以上传、删除等管理自己的视频。游客与登录用户可以观看其他人上传的视频,并可以评论。关键词:B/S 架构;前后端分离;MVC;流媒体点播系统Design and Implementation of Streaming Video WebsiteAbstractThis paper describes the design and implementation of a streaming video website based on Go. The development of this streaming media video website allows users to have a perfect user experience in both video-on-demand and video upload and download, and can easily face high-concurrency scenarios.This system uses GoLand 2019.1.3 and WebStrom 3.2 as the front-end development tools, and Mysql 8.0.15 as the back-end database.The system contains 5 main functional modules: video on demand module, video management module, user comment module, user management module. The backend is implemented in Golang language, and the excellent native http library is provided to implement network requests. Modular design is adopted, and the API connects to the front-end services. The back-end is divided into Streaming and Scheduler modules to handle the corresponding transactions. The front-end uses the Vue.js front-end framework, ...