caf_profiler 0.3.1

CAF (Cloud Assistant Framework)

Co-design permanent, active, stateful, reliable cloud proxies with your web app.

See http://www.cafjs.com

CAF Lib Profiler

Build Status

Library to profile the performance of your app.

It measures latency, throughput, and queue length for CA requests.

For an app called root-helloworld access performance data with:

curl https://root-helloworld.cafjs.com/stats

and an example reply is:



  • requests Number of of messages received.
  • pending Number of requests queued.
  • duration Latency time (in microseconds) to process your requests. See the metrics package for details.
  • rate Number of requests processed per second. Averages over a moving window (1min, 5min, 15 min) using exponential decay. See the metrics package for details.

Configuration Example


See module:caf_profiler/plug_profiler