Presented by Larry Garfield (@Crell)
(Credit: https://www.flickr.com/photos/usoceangov/5369581593)
(Credit: http://www.bbc.com/)
Software that manages software
Multiple cores?
Multiple threads?
Multiple Program Counters!
(Credit: https://www.flickr.com/photos/sebleedelisle/3519503529)
*
sethostname(), setdomainname(), and uname()
What about /proc
?
Processes have user and group
Affects access control
The CGroup is not a lie!
Scheduler tweaking
Can you use multiple namespaces?
Yes!
Let's call it a "Container"
(Credit: https://www.architecturendesign.net/22-most-beautiful-houses-made-from-shipping-containers/)
Static compiler for your entire system
#!/bin/bash
$ ps axf
PID TTY STAT TIME COMMAND
1 ? Ss 0:06 init [2]
72 ? Ss 0:06 runsvdir -P /etc/service log: .................................................................
78 ? Ss 0:00 \_ runsv ssh
105 ? S 0:00 | \_ /usr/sbin/sshd -D
2516 ? Ss 0:00 | \_ sshd: web [priv]
2518 ? S 0:00 | \_ sshd: web@pts/0
2519 pts/0 Ss 0:00 | \_ -bash
2605 pts/0 R+ 0:00 | \_ ps axf
79 ? Ss 0:00 \_ runsv nginx
99 ? S 0:00 | \_ nginx: master process /usr/sbin/nginx -g daemon off; error_log /var/log/error.log; -c /
104 ? S 0:00 | \_ nginx: worker process
80 ? Ss 0:00 \_ runsv newrelic
81 ? Ss 0:00 \_ runsv app
89 ? Ss 0:22 \_ php-fpm: master process (/etc/php/7.2-zts/fpm/php-fpm.conf)
Different uses, different trade-offs
(Credit: https://www.flickr.com/photos/hrbrmstr/6015402227/)
Credit: https://www.essaytigers.com/
Director of Developer Experience Platform.sh
The end-to-end web platform for agile teams
Stalk us at @PlatformSH