Golang At Dailymotion’s Open Source Application “Asteroid”
Before understanding why Golang is used in Dailymotion, let’s understand what is Dailymotion
What is Dailymotion?
Dailymotion is a global video streaming service with a network of over 250 million people. Dailymotion is built on a clever player, using an intuitive algorithm and recommendation made by video experts. Dailymotion is said to be a one-stop place for stories from the best storytellers, creators with one heightened experiencing video.
What is Asteroid?
The asteroid is an open-source application developed by the Dailymotion team to manage their Wireguard server.
Dailymotion team used OpenVPN in order to access the infrastructure resources frequently. One day they decided to try Wireguard and immediately they were able to see various benefits like reduced latency, improvement in performance, ease, and faster setup. In Wireguard after the initial testing, the team faced challenges in adding and removing the users which were needed to be done manually, and in order to ease the process by automating it, “Asteroid “ was created.
Dailymotion Team said -
The app is written in Go and has greatly improved our efficiency when adding and removing access to our infrastructure.
The Asteroid was developed using Golang, due to its feature like
- Small footprint
- Easy to deploy as a single binary
- Fast Compilation
- High Performance
- Concurrency
- Scalability, etc
Following are some of the commands used in Asteroid:-
- For adding a new user $ asteroid add -address=”172.16.0.7/32" -key “eXaMPL3Ave8q+kmNVmiw4KdKiXc//M0EGOY6K9C14nw
- For removing the user $ asteroid delete -key “eXaMPL3Ave8q+kmNVmiw4KdKiXc//M0EGOY6K9C14nw
- To view users added to the server $ asteroid view
- The help command $ asteroid -h
- For Configuration $ cp config/asteroid_example.yaml $HOME/.asteroid.yaml
“Asteroid” was developed as an Open Source in order to give back to the open-source community
Read more about the article from the original source here
You can also read more articles about Golang here-
- Golang in Blockchain
- Netflix Uses Golang For Rend Proxy
- Salesforce Switched from Python to Golang for Einstein Analytics
- Golang at PayPal For Modernizing And Scaling
- Why American Express Uses Golang?
- Stream Switched From Python To Golang
- Uber Engineered Highest Query Per Second Using Golang
- How a Company Reduced its number of Server from 30 to 2 Using Golang
- Get to know How Golang is used at CockroachDB
- Get to Know How Golang is contributing to Bitly
- Golang at Target — One of America’s leading retailers
- Things You Need to Know About Golang For Web Development
- Here Is Why Golang Is One Of The Preferred Technology For Your Project
- Some Interesting Facts and Takeaways from Golang Survey
Author: Reemi Shirsath, COO @ Scalent.io — A Golang Specialized Development Company.