Medium: services: Improve the performance of synchronous actions

The synchronous actions such as fetching RA meta-data are not efficient.
It's very usual that such actions take more than 1 second. This commit
improves the performance.

Based on the work from Lidong Zhong <lzhong@suse.com>