Vladimir Kirillov @Darkproger Ops

Vladimir Kirillov @Darkproger Ops

VOXOZ Vladimir Kirillov @darkproger ops E2MPLATFORMS let’s reimagine Hack Deploy Scale Hack life’s too short to Deploy spend time on the environment Scale Hack quickly Hack reproducibly Hack no frictions no “works on Hack my machine” excuses your epoll into my kqueue your inotify into my fsevents Y UR CentOS runs R14B03? so I compiled this port and copied it to your Linux box and it doesn’t run ;( ! Deploy ! Deploy no moving parts 3rd-party software: Moving OS parts runtime/VM libraries 3-rd party using = being a software maintainer isolate breakage 3-rd party as much as software possible state ! Deploy = mutating state too many Linux abstractions users ACLs SELinux Linux networking stack package managers filesystems erts-5.9.1/bin/escript: /lib/libc.so.6: version GLIBC_2.14 not found half-deploys speed Problems rollbacks chef / puppet # apt-get install linux-image-3.2.0-4-amd64 ... Setting up linux-image-3.2.0-4-amd64 (3.2.51-1) ... Running depmod. cp: cannot stat `/boot/initrd.img-3.2.0-4-amd64': No such file or directory Failed to copy /boot/initrd.img-3.2.0-4-amd64 to /initrd.img . dpkg: error processing linux-image-3.2.0-4-amd64 (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: linux-image-3.2.0-4-amd64 E: Sub-process /usr/bin/dpkg returned an error code (1) Breaking zerocopy userspace abstractions netmap Breaking /dev/blk abstractions paravirt Scaling spawn X instances of Scaling $that spawn X instances of $that Scaling ! doesn’t always work riak_core Scaling rafter OTP-like for cloud ops OTP for instances =~ processes cloud solution: spawn X instances of Scaling $that ! … and pray topology awareness Want hot migration instant bursting are two nodes sharing one disk? topology ! awareness are two nodes hogging the same CPU cache? hot aka double buffering migration or RCU instant instance_supervisor bursting :create_child query cache database b-tree VM VFS cache filesystem b-tree block cache query cache database b-tree VM VFS cache OS filesystem b-tree kernel block cache query cache database b-tree VM VFS cache filesystem b-tree xxx block cache query cache database b-tree VM Erlang on Xen Erlang on Xen wow Erlang on Xen wow lol no OS much bare vm very not SMP so 30 ms boot nice elastic such fast build.erlangonxen.org ling xlates beam modules to ling yields a kernel binary mostly R16 ling actively developed issues.erlangonxen.org 9p for external filesystems lwIP for networking GooFS for persistence ling no NIFs no net_kernel (yet) no SSL (WIP) no erlang:trace {build_config, debug} ling ling:trace ling:profile … or not Elixir (x.erlangonxen.org) ejabberd ports LINC (in progress) riak_core / riak_pipe 1.4 * n2o xen 4.[1-3] ! voxoz xapi (too enterprise) too much sh & ling ! libxl (fast) gator OpenMirage plugs 9p ipc with unix rump Containers LXC / Docker Containers Zones / Jails NixOS code vs data Containers instant deploys no configuration copy-on-write ZFS snapshots cheap volumes lambda-ops single-image deploys app defines resources copy-update-switch (double buffering thing) code is configuration distributed by default instrumented by default Tools github.com/voxoz proger/active 5HT/n2o proger/erlfsmon synrc/kvs proger/erldocker synrc/mqs proger/eflame synrc/skyline proger/erlsh make software, not war. stay tuned ! @darkproger voxoz.com kirillov.im this slide is intentionally left almost blank this slide is intentionally left almost blank some images in this document are copyrighted by their respective owners ! http://captainvendetta.deviantart.com/art/Gir-DUTY- MODE-188982723.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    77 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us