Skip to content

Performance issue for batch sign task? #45

@TommyLike

Description

@TommyLike

We have setup up an environment to benchmark the singing performance of obs sign solution, considering the case:
server: single instance, 8 CPUs &8GB RAM
client: 1/2/4 instances 8 CPUs &10GB RAM
test data: about 4000 packages of openEuler 21.09 for each client

Since obs sign command doesn't support batch sign tasks, we wrap obs sign command with 50 golang goroutines in which the sign client will be launched individually, and the result shows it will take a long time to finish:
image

Results:
1 client: 21m9s
2 clients: 37m33s/40m16s
4 clients: 80m2s/80m3s/79m58s/80m

Question:
Is this a expected result or there is some concurrence related configuration? Anyway to improve the performance?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions