10. LIFE OF A REQUEST
api.gosimplysocial.com
app.gosimplysocial.com
API 01 API 01 API N...
APP 01 APP 01 APP N...
BACKEND
01
BACKEND
02
BACKEND
N...
DBs
API 02
APP 02
26. INTRODUCING OSSIE
import ossie
stat = ossie.Client("arcade.random_worker")
stat.gauge("a_metric", 256)
stat.timer("random.metric", 1.28)
with stat.timer("random.metric.with"):
# do something that requires an amount of time
# ossie client will report the right time