measure encodingService queue length