Skip to content

Conversation

bryanlatten
Copy link
Contributor

S6 is much lighter than supervisor (1MB vs. 70MB, static compilation vs. python dependency) and supports cleaner startup processes, such as preemptive cont-init.d and fix-attrs.d script support. It also boots a container's process tree in under 100ms (from their docs, but feels even faster in real life compared to supervisor). Supervisor (and runit) are not actually designed as PID 1 init replacements.

  • nginx master process no longer run as root
  • permission issues for logging on stdout
  • permission issues for tmp folders
  • worker creation
  • 2-phase install support

@bryanlatten bryanlatten force-pushed the feature-s6 branch 2 times, most recently from e6a1c1c to 99dd966 Compare March 14, 2016 05:08
@bryanlatten bryanlatten force-pushed the feature-s6 branch 6 times, most recently from e16050e to 4a59a8d Compare March 15, 2016 22:43
@jimdelois
Copy link

This is bonkers! (A good kind)

@jimdelois
Copy link

@ko-be
Copy link
Contributor

ko-be commented Mar 15, 2016

S6 looks like it's worth trying!

@ko-be
Copy link
Contributor

ko-be commented Mar 15, 2016

👍 but we should test this for a bit!

@bryanlatten bryanlatten force-pushed the feature-s6 branch 2 times, most recently from 29ef98a to 1e0b41e Compare March 15, 2016 23:38
@mannytoledo
Copy link

👍 I def need to learn more about what s6 is doing but this looks good.

@eadasiak
Copy link
Collaborator

👍 This is really great -- a muuuuch better fit for containers than runit/supervisord.

Do not merge until workerized processes are 
converted from supervisor behavior
bryanlatten pushed a commit that referenced this pull request Mar 18, 2016
Dockerfile: removed supervisor, added S6
@bryanlatten bryanlatten merged commit efeae27 into behance:master Mar 18, 2016
@bryanlatten bryanlatten deleted the feature-s6 branch March 18, 2016 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants