Shared library for queueing and sending  anchor stats.