~/talk

Fast logs

Talkat JCON 2020 · 2020-10-27..10-30· [web-performance]
slides:none on file

Shows that deferring expensive formatting with a lazy logger (pass a Supplier) avoids calling a 5s getPrice and drops cost to ~1ms, that most frameworks (Logback, Log4j2) support this, and that switching to an async appender and tuning buffer size trades throughput vs potential message loss. Replacing Logstash by emitting JSON (Logback -> filebeat -> Elasticsearch -> Kibana) removes a hop and speeds ingestion but requires proper JSON escaping; alternatively send events to Kafka or a Docker logging driver for durable business metrics. Schema-on-write yields faster reads.

AI-written summary · about

  1. 0:00Start
  2. 0:48Hazelcast
  3. 1:24The root of all evil
  4. 6:25We are bound to the physical world...
  5. 7:22Writing the stream
  6. 7:59Synchronous vs. asynchronous logging
  7. 8:45A sample configuration
  8. 9:04Example: Logback configuration
  9. 10:35Associated meta-data
  10. 11:02Some metadata is expensive to get
  11. 11:43Logs aggregation
  12. 12:13Additional metadata
  13. 12:43Searching in logs
  14. 14:01Example architecture: the Elastic Stack
  15. 15:30Sample output
  16. 17:35Food for thoughts
  17. 19:47Logs are not only technical
  18. 20:23Logging options
  19. 23:30Summary
  20. 24:48Takeaway #2
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.