-
Notifications
You must be signed in to change notification settings - Fork 533
Open
Description
Hi.
We just installed a standard Athens server using default configuration with storage set to disk.
When downloading our dependencies with go mod download we see a very large performance degradation, and are wondering if there are any configurations that are generally recommended to improve the performance?
The server seems to use a lot of CPU time. When we increase the CPU resources so it is no longer hitting 100% we do see an increase in performance, but it is still 6 times slower (40sec) than without athens (7sec).
Package updates such as go get -u is also considerably slower than without athens.
Without Athens
$ time go mod download
real 0m7.504s
user 0m2.132s
sys 0m1.175s
With Athens
$ time go mod download
real 1m32.169s
user 0m2.115s
sys 0m1.202s
All subsequent cached downloads are fine:
$ time go mod download
real 0m4.368s
user 0m2.100s
sys 0m1.181s
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels