Skip to content

Commit

Permalink
docs(journal): tweak slides
Browse files Browse the repository at this point in the history
  • Loading branch information
symbiont-stevan-andjelkovic committed Mar 21, 2022
1 parent 3fd6eaf commit b5cf732
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/demo-journal/slides-journal.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ nocite: |

```
main {
main() {
journalOrChannel := createJournalOrChannel()
fork (worker journalOrChannel)
startWebserver (requestHandler journalOrChannel)
Expand Down Expand Up @@ -251,14 +251,16 @@ done
# Built-in profiler/metrics

* Ideas due to Tyler "sled" Neely and Thompson et al
* Brendan Gregg's [U(tilisation) S(aturation)
E(rrors)](https://www.brendangregg.com/usemethod.html)
* (Atomic) counters (an 64-bit signed integer)
* Histograms (2 + 2^16 counters) uses `log` and `exp` for
compression/decompression
* `mmap`ed bytearray (8 bytes per counter) allows for atomic update (`lock xadd`
in x86 asm) and access for different processes
* No third party dependencies or extra processes that need to be deployed

![Command centre](./images/command_centre.jpg){ width=75% }
![Command centre](./images/command_centre.jpg){ width=70% }

# Summary

Expand Down
Binary file modified doc/demo-journal/slides-journal.pdf
Binary file not shown.

0 comments on commit b5cf732

Please sign in to comment.