Counting bytes and measuring latencies

Monitoring?

On monitoring:

when you manage and develop both infrastructure , u'll experience tests or monitoring solution, which ensures the quality of your end product (code or infrastructure). Like for code quality , you can have unit tests, functional tests, integration tests etc, similarly you might have system monitoring, dependancy monnitoring , application monitoring , BAM , CEP etc etc. In this post i'll narrate few of them

  1. System monitoring : Like cpu load, free memory (RAM), disk space etc. SNMP based hardware monitoring  etc
  2. Dependency monitoring : Like web server process, there states , %cpu consumption, rss etc.
  3. Integration : all third party or other integration points are available or not.
  4. BAM: Business activity monitoring. Define, KPI  or key performance indicators, which will in turn define the state of your business (quantitatively) . Like sucessful transactions per day or month, etc. 
  5. Process instrumentation or tracing : kprobes, system tap etc  or othet tracing like methodologies like dtrace, which lets you monitor at individual method level etc. These are predoominantly use for language or other interpreter optimizations.
  6. Complex event processing : Though not directly related, some of these monitoring can or should use some form of complex event processing  to deduce meaningful information. This is only important (or even significant) if the volume of  data is large.

 

Depending upon your problem you should employ one of more of these solutions. Theres opensource solutions/tooling available for all of them. BAM is kinda tricky, not BAM in itself, but defining the KPI part is bit trippy.