Replies: 1 comment 15 replies
-
Oh, one more question: What's the size of the http cache and when will it be cleaned up? |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I was looking at using the http cache as a secondary ccache cache. Mainly with the goal of sharing cache state between multiple tasks - hard to do otherwise without each task overwriting cache state otherwise. The results were a bit underwhelming so far - mostly due to the high latency when accessing the cache:
Log excerpt for a cache miss case:
[2022-03-20T21:17:12.178867 19169] No 549cob1s4q8tepm2scqn2sffpm904c3dk in http://127.0.0.1:12321/ccache2 (40.64 ms)
[2022-03-20T21:17:12.253862 19169] No 7108io3fin8bfnsbaee120hus3go26mc6 in http://127.0.0.1:12321/ccache2 (29.00 ms)
[2022-03-20T21:17:12.392228 19169] Stored 7108io3fin8bfnsbaee120hus3go26mc6 in http://127.0.0.1:12321/ccache2 (57.49 ms)
[2022-03-20T21:17:12.450723 19169] Stored 549cob1s4q8tepm2scqn2sffpm904c3dk in http://127.0.0.1:12321/ccache2 (57.45 ms)
This is with keepalive enabled, FWIW (which explains why the second miss is faster).
Is it that roughly the expected speed for http cache accesses?
For experimentation I enable ccache logging and uploaded it as an artifact...
empty cache run:
https://cirrus-ci.com/task/4791740338012160
full cache run:
https://cirrus-ci.com/task/5084119632707584
Greetings,
Andres
Beta Was this translation helpful? Give feedback.
All reactions