Wikimedia
[VideoCutTool] Make the tool to auto restart if the node server turns down
VideoCutTool is a tool to trim, crop, rotate on-the-fly videos in Wikimedia Commons. It is hosted in Wikimedia Toolforge and can be found at https://tools.wmflabs.org/video-cut-tool/
Background
VideoCutTool deals with the video encodings and if the traffic is too hight the back-end server is going down and it happened a couple of times in the most recent days.
Task:
- Learn about VideoCutTool from Commons: VideoCutTool
- Create a script to ping the server for every x min and if the server is down, restart the server using
webservice --backend=kubernetes nodejs restart
and the other way could restart the server by using any external libraries. There are multiple ways in fixing this find the best way and fix it :)
Code Repos:
- VideoCutTool-back-end: https://github.com/gopavasanth/video-cut-tool-back-end/
Resources
Task tags
Students who completed this task
Netx