Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

ArrrrCamp 2014- Unicorn Unix Magic Tricks

Автор: Confreaks

Загружено: 2014-11-13

Просмотров: 4406

Описание:

By, Thorsten Ball
A couple of years ago, when I set out to really understand Unix from a developer's perspective, I found one invaluable resource for my Unix studies: the source code of the Unicorn web server. When I first encountered Unicorn, it seemed like magic to me: just by sending different signals to the server I could control important runtime settings. Unicorn allows me to scale the number of worker processes simply by sending a signal. Reloading configuration files and reopening log files is possible by sending signals. It even allows me to hot reload code once deployed. Again, all I need to do is send it a signal. But how does it do all that? Magic? This talk answers exactly this question.

We'll take a look at small snippets of the Unicorn source code and see that it isn't magic, but plain old Unix: forking, signal handling, pipes (even self-pipes), pre-spawning, master-worker architecture, file descriptor handling, system calls, the classic socket/bind/listen/accept sequence, Unix sockets, PID files and a lot more. There is even `eval`, but I'll keep quiet about that, I promise.

Unicorn is full of Unix. By studying its code we do not only learn how one of the most important pieces of Ruby infrastructure works, but also how Unix systems work. The talk will provide you with a foundation for programming in the Unix environment and show you how to leverage the powers of Unix.

Help us caption & translate this video!

http://amara.org/v/FaTj/

ArrrrCamp 2014- Unicorn Unix Magic Tricks

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Обработка сигналов в Linux

Обработка сигналов в Linux

RailsConf 2014 -Advanced aRel: When ActiveRecord Just Isn't Enough

RailsConf 2014 -Advanced aRel: When ActiveRecord Just Isn't Enough

GoGaRuCo 2014- Refactoring Ruby with Monads

GoGaRuCo 2014- Refactoring Ruby with Monads

Hammock Driven Development - Rich Hickey

Hammock Driven Development - Rich Hickey

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

Принц Персии: разбираем код гениальной игры, вытирая слезы счастья

КАК НЕЛЬЗЯ ХРАНИТЬ ПАРОЛИ (и как нужно) за 11 минут

КАК НЕЛЬЗЯ ХРАНИТЬ ПАРОЛИ (и как нужно) за 11 минут

AT&T Archives: The UNIX Operating System

AT&T Archives: The UNIX Operating System

"The Mess We're In" by Joe Armstrong

Kubernetes — Простым Языком на Понятном Примере

Kubernetes — Простым Языком на Понятном Примере

ТОП 10 ЛУЧШИХ способов мониторинга Linux

ТОП 10 ЛУЧШИХ способов мониторинга Linux

Как Ubuntu Предала Linux - Вся Правда о Взлёте и Падении Canonical

Как Ubuntu Предала Linux - Вся Правда о Взлёте и Падении Canonical

Tom Stuart - Refactoring Ruby with Monads

Tom Stuart - Refactoring Ruby with Monads

Ruby Conf 12 - Boundaries by Gary Bernhardt

Ruby Conf 12 - Boundaries by Gary Bernhardt

RailsConf 2014 — Разработка с помощью отладчика и Pry, Джоэл Тернбулл

RailsConf 2014 — Разработка с помощью отладчика и Pry, Джоэл Тернбулл

Как НА САМОМ ДЕЛЕ работает GoodbyeDPI и Zapret?

Как НА САМОМ ДЕЛЕ работает GoodbyeDPI и Zapret?

Как строили корабли для мирового господства

Как строили корабли для мирового господства

Small Is Beautiful • Kevlin Henney • GOTO 2016

Small Is Beautiful • Kevlin Henney • GOTO 2016

"Transducers" by Rich Hickey

BathRuby 2016 - How are Method Calls Formed? by Aaron Patterson

BathRuby 2016 - How are Method Calls Formed? by Aaron Patterson

Дети вернули доступ к Роблокс | Можно ли обходить запреты (English subtitles) @Max_Katz

Дети вернули доступ к Роблокс | Можно ли обходить запреты (English subtitles) @Max_Katz

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]