API performance consistency

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

  • Close this issue

I'm using Gitlab standalone setup on pretty powerful server (16 cores, lots of RAM). Recently created a tiny service utilizing Gitlab API for internal usage. After a few days of using it, I realized about 10% of requests take more than a second to process, however rest of them are getting processed within 100ms.

API calls I'm using are the same all the time:

  1. list projects within a group
  2. show particular file in repo

Apache benchmark results:

Percentage of the requests served within a certain time (ms)
  50%     79
  66%     86
  75%     90
  80%     96
  90%    121
  95%   1787
  98%   1908
  99%   1912
 100%   2006 (longest request)

Is there a way to make API requests processing time more consistent?

Edited Sep 27, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading