Project

General

Profile

Actions

action #69637

closed

Faster localhost uploads from worker to webui

Added by kraih almost 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Feature requests
Target version:
Start date:
2020-08-06
Due date:
% Done:

0%

Estimated time:

Description

Motivation

The chunked asset uploader we use to move assets from workers to the webui is extremely inefficient. This is especially noticeable when worker and webui are running on the same host and very large assets have to be uploaded. This has been a big problem with SUSE Manager for Retail tests, to the point where an optimization could save multiple hours per day.
A similar problem has been reported by "marmarek" in #opensuse-factory

Acceptance criteria

  • AC1: Asset upload on "localhost" (worker and webui on same machine) is significantly faster, e.g. ask marmarek for verification in his environment
  • AC2: Asset upload on non-localhost workers still use remote upload methods with no significant performance degradation

Suggestions

  • Try to add a "secondary code path" to just move files between local folders (regardless if same or differing filesystem) on the same machine instead of uploading them completely via HTTP
Actions

Also available in: Atom PDF