Загрузка страницы

Ian Eslick - Probe: Program Traces as First Class State

Traditional logging systems throw away a great deal of implicit dynamic program state in the process of serializing to interoperable string formats. Within the walled garden of our Clojure applications, having easy programmatic access to the complete dynamic behavior of your program is not only feasible, but desirable.

This talk introduces Probe, a library meant to serve as your primary infrastructure for capturing and analyzing dynamic program behavior. Instead of generating strings, it captures maps of explicit (provided via arguments) and implicit program state.

State, or probes, captured by statements can be enabled/disabled at runtime, reducing the computational cost of putting probe statements in your code. Further, Probe can also attach to any function call interface or probe point at runtime. State maps are immediately handed off to core.async channels to reduce the cost on the current thread. These channels filter, aggregate and route the data to an extendable set of sinks.

We are using Probe in a pre-production system to capture the dynamic behavior of a distributed cloud-based system to a Cassandra cluster. We introduce a set of user cases and our growing library of forensics queries which simplifies our modeling of a real-time, cloud-based distributed system.

Видео Ian Eslick - Probe: Program Traces as First Class State канала ClojureTV
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
26 марта 2014 г. 2:51:08
00:23:53
Яндекс.Метрика