Change Elastic::ProcessBookkeepingService queue_size to use redis pipeline

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

The following discussion from !191158 (merged) should be addressed:

  • @terrichu started a discussion:

    thought (non-blocking): One thing I thought about was the impact of calling queue_size more often against redis. It's used for monitoring as well. We might consider changing queue_size method to use redis pipelined

Edited by 🤖 GitLab Bot 🤖