A streaming video website for internal use. User can watch/upload/download videos from the website. Comments are also permitted if the owner(s) of the video agrees.
- Very simple to install and use;
- Pure Golang, high performance, and cross-platform;
- Supports commonly used transmission protocols, file formats, and encoding formats;
Using HTTP Protocol to fulfill the operation on resource. Three types of APIs:
- USER API: return states of each user.
- RESOURCE API: returns the states of video(s).
- COMMENT API: returns all the comments under one specific video/
Prerequisite: bitbucket
- UDP protocol to implement file uploading
- Token Bucket to control rate limit
Channels are the pipes that connect concurrent goroutines.
- Asynchronous Delete
- Producer-Consumer Model
- Timer: Run and Stop
Cloud native Optimization