Servers
NGINX
NGINX is a web server that can also be used as a reverse proxy, load balancer, mail proxy and HTTP cache. Its architecture is asynchronous and event-driven to handle a large number of concurrent connections. The software was created by Igor Sysoev and first publicly released in 2004.
Commands
nginx -h
- Show helpnginx -V
- Show version and loaded modulesnginx -s stop
- Stop the server (-s send signal)nginx -s quit
- Graceful shutdownnginx -s reload
- Reload the configuration filenginx -t
- Test the configuration filenginx -V 2>&1 | grep --color=auto rtmp
- Check if the RTMP module is installed (2>&1 redirect stderr to stdout)systemctl status nginx
- Check the status of the servicesystemctl start nginx
- Start the service
Tornado
Tornado is a Python web framework and asynchronous networking library, originally developed at FriendFeed. By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.
Jupiter Notebook uses Tornado as its web server.