O'Reilly logo

Trace and Log Analysis: A Pattern Reference for Diagnostics and Anomaly Detection by Software Diagnostics Institute, Dmitry Vostokov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

O

 

Opposition Messages

We borrowed this pattern name from the binary opposition94 originated in Saussure’s structuralism95). It covers the following pairs of messages usually found in software traces and logs such as:

  • open / close
  • create / destroy
  • allocate / free (deallocate)
  • call / return
  • enter / exit (leave)
  • load / unload
  • save / load
  • lock / unlock
  • map / unmap

The absence of an opposite may point to some problems such as synchronization and leaks, or Incomplete History (for example, wait chains). There can always be a possibility that a second term is missing due to Sparse Trace, but this is a poor implementation choice that leads to confusion during troubleshooting and debugging.

 

Original Message

This pattern deals with software trace messages where a certain ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required