Use memcache to improve queue selection performance.

Temporarily cache the QueueStatistics to reduce RPCs.
Add queue group example.