zousar shaker
f32675217f
Add option to bypass proxies to the derived data http client (default is no bypass). Zen cache store client uses it and defaults to bypassing proxies (but can be overridden in INI). UE Cloud DDC client uses it and defaults to NOT bypassing proxies (but can be overridden in INI).
...
#rb Devin.Doucette
[FYI] dan.engelbrecht
[FYI] joakim.lindqvist
#jira UE-210567
[CL 32513866 by zousar shaker in 5.4 branch]
2024-03-26 12:46:06 -04:00
zousar shaker
a42734c55c
Tweak to the computation of latency for HttpCacheStore.
...
[CL 32492929 by zousar shaker in 5.4 branch]
2024-03-25 19:50:06 -04:00
zousar shaker
9df8f87d31
[Backout] - CL31524461
...
[FYI] Zousar.Shaker
Original CL Desc
-----------------------------------------------------------------
Allow printing of "Any" content type responses.
[FYI] joakim.lindqvist
[CL 31541046 by zousar shaker in 5.4 branch]
2024-02-15 17:57:34 -05:00
zousar shaker
e21ea6ea02
Allow printing of "Any" content type responses.
...
[FYI] joakim.lindqvist
[CL 31524492 by zousar shaker in 5.4 branch]
2024-02-15 12:30:37 -05:00
zousar shaker
90f8eb3db9
Additional fix for hangs during DDC's WaitForQuiescence phase. This one was caused by PUT operations to the Cloud DDC becoming stuck perpetually. Addressing not with a time limit (we want to allow PUTs of large blobs that can take a long time), but with a generous rate limit so that if the connection is idle for a long time, we abandon it.
...
[FYI] devin.doucette
[CL 31503376 by zousar shaker in 5.4 branch]
2024-02-14 19:48:54 -05:00
devin doucette
394009b52d
DDC: Fix race conditions on counters in the Jupiter and S3 cache stores
...
#rb Steve.Robb
#rnx
[CL 31260858 by devin doucette in 5.4 branch]
2024-02-07 12:10:52 -05:00
zousar shaker
58854bc99c
Fix log format convention for HttpCacheStore to match ZenCacheStore - log lines should be prefixed by node name, not domain or URL.
...
[CL 31158232 by zousar shaker in 5.4 branch]
2024-02-03 02:41:19 -05:00
steve robb
66266c6a11
Fixed up DerivedDataCache, DesktopPlatform, ApplicationCore, AssetRegistry, Core, CoreUObject, Projects, Sockets code to use EAllowShrinking instead of bools.
...
[CL 30676428 by steve robb in ue5-main branch]
2024-01-17 19:51:06 -05:00
zousar shaker
3909b8757e
Avoid logging Display verbosity messages when a DDC request to HttpCacheStore is canceled. Also rename ExpectedErrorCodes to ExpectedStatusCodes to avoid conflating the distinct meanings of ErrorCodes and StatusCodes.
...
[CL 30275083 by zousar shaker in ue5-main branch]
2023-12-12 15:49:30 -05:00
devin doucette
7f3b930d93
DDC: Temporarily restored blocking during get requests in HttpCacheStore
...
#rb Zousar.Shaker
#rnx
[CL 30264462 by devin doucette in ue5-main branch]
2023-12-12 11:01:57 -05:00
devin doucette
59dd82d717
DDC: Eliminated most blocking during get requests in HttpCacheStore
...
This restores the changes from 29016116 that were temporarily reverted.
#rb Zousar.Shaker
#rnx
[CL 30210802 by devin doucette in ue5-main branch]
2023-12-08 10:24:22 -05:00
zousar shaker
e1d9e1c096
Don't attempt immediate retry when a 502 error happens during communication with the UE Cloud DDC server.
...
[FYI] joakim.lindqvist
[CL 30024951 by zousar shaker in ue5-main branch]
2023-11-30 17:03:55 -05:00
zousar shaker
9fbac7bd41
Change the strategy for HttpCacheStore Put operations to have larger and distinct queues for each of the put operation phases. Instead of one queue of 24 maximum in-flight requests, we can now have 64 PutRef requests AND 64 PutBlobs requests, and 64 PutFinalize requests operating simultaneously. The purpose is to allow per-shader caching to:
...
1. Put a higher volume of individual cache items in a lesser amount of wall time
2. Reduce the gap in time between when a ref is put and when it is finalized during times of heavy Put workload
Along with this change there is a System.DerivedDataCache.HttpDerivedDataBackend.CacheStoreStressPut automated test (StressFilter) that puts 1000 records containing 12 byte values in each. Before this change, the test took 21 seconds to complete. It now takes 9 seconds to complete. There are opportunities to improve this further through batching.
#rb Devin.Doucette
[CL 29913201 by zousar shaker in ue5-main branch]
2023-11-23 14:48:23 -05:00
zousar shaker
6d67757420
Restore the printing of the response body when an unexpected error is received, but now with consideration for the content type of the response.
...
#rb Devin.Doucette
#okfogithub public
[CL 29729528 by zousar shaker in ue5-main branch]
2023-11-14 18:20:37 -05:00
joakim lindqvist
bf3f772a3e
DDC Http Store - Added ability to configure AuthScheme (defaulting to JWTBearer as before) and the ability to directly specify a auth token. This can be used to run with the ServiceAccount scheme in Cloud DDC which we intend to use for getting onboarded quicker by licensees (it is not a recommended approch to use for wider deployments across teams).
...
#rb Zousar.Shaker
[CL 29716236 by joakim lindqvist in ue5-main branch]
2023-11-14 12:05:35 -05:00
steve robb
0bbd5e4d69
Fixed deprecated FString constructors.
...
#rb james.hopkin
[CL 29690489 by steve robb in ue5-main branch]
2023-11-13 14:15:15 -05:00
zousar shaker
e7e4572e95
Restoring the previous rate limit on the jupiter client, and specifically disabling the rate limit for operations in the PUT queue.
...
[FYI] devin.doucette
[CL 29674526 by zousar shaker in ue5-main branch]
2023-11-11 18:56:10 -05:00
zousar shaker
c5c124a279
Reduce frequency of "partial put" operations where we put a ref but not the blobs it refers to because of either a 502 "Bad Gateway" response, or because we experience an "operation too slow" condition.
...
#rb devin.doucette
[CL 29656642 by zousar shaker in ue5-main branch]
2023-11-10 17:01:43 -05:00
zousar shaker
3dd1d6493a
Change certain messages relating to PUTting data into jupiter from Log verbosity to Display verbosity.
...
[CL 29633571 by zousar shaker in ue5-main branch]
2023-11-10 02:27:01 -05:00
zousar shaker
cce1a015d6
Fix memory leak caused by reference counted objects capturing references to themselves in function captures held on members of itself. This manifested as memory never being freed when performing some operations with HttpCacheStore and ZenCacheStore.
...
#rb devin.doucette
[CL 29316880 by zousar shaker in ue5-main branch]
2023-11-01 10:33:43 -04:00
devin doucette
3f6992e87a
DDC: Temporarily restored blocking during get requests in HttpCacheStore
...
#rb Zousar.Shaker
#rnx
[CL 29279339 by devin doucette in ue5-main branch]
2023-10-31 12:26:11 -04:00
devin doucette
e3d69ab88a
DDC: Eliminated most blocking during get requests in HttpCacheStore
...
#rb Zousar.Shaker
[CL 29016155 by devin doucette in ue5-main branch]
2023-10-23 09:46:03 -04:00
zousar shaker
d4b51b1b16
Avoid printing response body when receiving an unexpected error in the HttpCacheStore. The response body could be of arbitrary type and could be truncated or malformed, so it's not safe to attempt to reinterpret it as a UTF8 string. If GetBodyAsString is expanded later to cover all media types and the possibility of truncated or malformed data, we can consider re-enabling the printing of the body at the time of an unexpected error.
...
#rb devin.doucette
[CL 28969779 by zousar shaker in ue5-main branch]
2023-10-20 12:43:23 -04:00
zousar shaker
077fb381b6
Allow HttpCacheStore to retry on requests that experience an Unknown error code. This is to help mitigate issues where the client experiences "connection reset by peer".
...
#rb devin.doucette
[CL 28933535 by zousar shaker in ue5-main branch]
2023-10-19 16:57:16 -04:00
devin doucette
197b2197ba
DDC: Removed the synchronous request pools from HttpCacheStore
...
These are not used by default and were only kept to support A/B testing in the past.
#rb Zousar.Shaker
#rnx
[CL 28415416 by devin doucette in ue5-main branch]
2023-10-03 11:22:39 -04:00