HomePhorge

Use futures to improve clustered repository main page performance

Description

Use futures to improve clustered repository main page performance

Summary:
Ref T11954. In cluster configurations, we get repository information by making HTTP calls over Conduit.

These are slower than local calls, so clustering imposes a performance penalty. However, we can use futures and parallelize them so that clustering actually improves overall performance.

When not running in clustered mode, this just makes us run stuff inline.

Test Plan:

  • Browsed Git, Mercurial and Subversion repositories.
  • Locally, saw a 700ms wall time page drop to 200ms.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11954

Differential Revision: https://secure.phabricator.com/D17009

Details

Provenance
epriestleyAuthored on Dec 8 2016, 6:39 AM
themackabuPushed on Mar 25 2025, 8:07 PM
Parents
rP495092613019: Validate settings before writing them to the user cache
Branches
Unknown
Tags
Unknown

Event Timeline