08 Jan 2011 @ 11:17 PM 

The observer effect is the potential impact of the act of observing a process output while the process is running.

Example is a process that uses a log file by default with limited data as output, but, in order to monitor it, the logging is set to DEBUG and view it. This can cause the process to slow down and alter the data metrics that were originally wanted in the first place.

Another example is an application that measures the performance of a computer but which, in the same time, is consuming resources, altering that data.

This is not observable only in information technology but everywhere. When someone stares at you and monitors your work, it can affect your productivity :)

Because looking at some behavior and trying to figure out some defect for example, is actually changing the context in which the application is running, some bugs are disappearing or are changing.  This is called an heisenbug.

One common reason why heisenbugs appear is that executing a program in debug mode often cleans the memory before the programs starts. This forces variables in a last-in-first-out cycle, instead of keeping them in registers.

From the development environment to actual live usage, there is a longer way than assumed. A cause also for “Works on my machine” when bugs are raised  :)

Another cause  can be time. If an application is monitored, but that application interacts with another one, which is not monitored, but between it there is a need for a synchronization, this is when a heisenbug is possible to appear.

Here is a nice animated video example in physics:

ShareThis
Posted By: Eusebiu Blindu
Last Edit: 08 Jan 2011 @ 11:17 PM

EmailPermalink
Tags
Categories: General


 

Responses to this post » (None)

 
Post a Comment

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


 Last 50 Posts
 Back
  • Users » 2
  • Posts/Pages » 136
  • Comments » 148
Change Theme...
  • VoidVoid
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight « Default

bug bounty

  • No categories

Bugs

  • No categories

Carnivals

  • No categories

challenge

  • No categories

Classic Tests

  • No categories

conferences

  • No categories

EWT

  • No categories