Commit Graph

899 Commits

Author SHA1 Message Date
dan engelbrecht
652149367f Add support of partial zen DDC GetChunks requests
#ushell-cherrypick of 32395474 by dan.engelbrecht
#rb Devin.Doucette
#jira UE-210439
[FYI] tim.doerries, Zousar.Shaker, Stefan.Boberg

[CL 32452554 by dan engelbrecht in ue5-main branch]
2024-03-22 17:53:31 -04:00
keaton stewart
b260084089 [Backout] - CL32414396
[FYI] Devin.Doucette
Original CL Desc
-----------------------------------------------------------------
DDC: Eliminated most blocking during get requests in HttpCacheStore

#rb Zousar.Shaker

[CL 32422670 by keaton stewart in ue5-main branch]
2024-03-21 20:04:23 -04:00
devin doucette
d5a5763973 DDC: Eliminated most blocking during get requests in HttpCacheStore
#rb Zousar.Shaker

[CL 32414421 by devin doucette in ue5-main branch]
2024-03-21 16:39:22 -04:00
zousar shaker
8b0a81dc6c Add NoZenLocalFallback and InstalledNoZenLocalFallback DDC graphs for use in scenarios where users are unable to run a local zenserver for any reason. Also fix a mis-labeling of a local cache store as being remote if it is deactivated.
#rb devin.doucette
#jira UE-208878

[CL 32022101 by zousar shaker in ue5-main branch]
2024-03-05 11:24:22 -05:00
zousar shaker
bbc51408c0 Provide a configurable limit to the maximum number of requests per connection when using a protocol that does multiplexing (HTTP2/HTTP3).
#rb Devin.Doucette

[CL 31890916 by zousar shaker in ue5-main branch]
2024-02-28 18:19:54 -05:00
zousar shaker
7bb4ebb385 Tweak to the computation of latency for HttpCacheStore.
[CL 31778894 by zousar shaker in ue5-main branch]
2024-02-23 17:03:29 -05:00
steve robb
f8d47335a4 Replaced RemoveAt(N, 1, EAllowShrinking::*) with RemoveAt(N, EAllowShrinking::*).
[CL 31626444 by steve robb in ue5-main branch]
2024-02-19 16:51:58 -05:00
zousar shaker
211df3d1e3 [Backout] - CL31524461
[FYI] Zousar.Shaker
Original CL Desc
-----------------------------------------------------------------
Allow printing of "Any" content type responses.

[FYI] joakim.lindqvist

[CL 31546267 by zousar shaker in ue5-main branch]
2024-02-15 19:19:22 -05:00
zousar shaker
58a8d07355 Allow printing of "Any" content type responses.
[FYI] joakim.lindqvist

[CL 31526721 by zousar shaker in ue5-main branch]
2024-02-15 13:30:42 -05:00
zousar shaker
52c352a912 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 31505801 by zousar shaker in ue5-main branch]
2024-02-14 20:27:47 -05:00
devin doucette
cf18cf342f DDC: Added multi-process support to the saving of cache replays
#rb Zousar.Shaker

[CL 31368215 by devin doucette in ue5-main branch]
2024-02-10 12:49:25 -05:00
devin doucette
1821fa9481 DDC: Fix race conditions on counters in the Jupiter and S3 cache stores
#rb Steve.Robb
#rnx

[CL 31262949 by devin doucette in ue5-main branch]
2024-02-07 12:51:56 -05:00
danny couture
8270d4e339 [ZenCacheStore]
- Fix race condition on counters

#rb dan.engelbrecht

[CL 31255886 by danny couture in ue5-main branch]
2024-02-07 09:25:38 -05:00
zousar shaker
081894b3f3 Fix log format convention for HttpCacheStore to match ZenCacheStore - log lines should be prefixed by node name, not domain or URL.
[CL 31158214 by zousar shaker in ue5-main branch]
2024-02-03 02:36:18 -05:00
mark lintott
0db277eb21 Changed Derived Data Cache Usage UI to use the same Resource Stats as Studio Telemetry
The total is already served up as an Asset Type so had to and some logic to separate it in the view.
Changed sorting from Size to Count. I felt that sorting by highest count is more useful as is it clearly indicates the less efficient DDC work.
Added Hit Efficiency to Asset Stats and added this as an extra column to the UI
#rb Devin.Doucette

[CL 31009963 by mark lintott in ue5-main branch]
2024-01-30 12:02:31 -05:00
zousar shaker
662d9b1d71 Adjusting logs related to zen usage to:
- Remove repeated log related to fetching cache stats
- Ensure that the Zen cache usage has log lines explaining the status of the caches it attempts to connect to (success or failure)

#rb Matt.Peters

[CL 30710842 by zousar shaker in ue5-main branch]
2024-01-18 22:43:41 -05:00
devin doucette
e675fcb5b5 DDC: Exposed metadata more extensively in the build API
#rb Zousar.Shaker

[CL 30691096 by devin doucette in ue5-main branch]
2024-01-18 14:06:50 -05:00
aris theophanidis
8ae2292282 Remove Compression.h from CoreMinimal.h
It's about 1/4 of CoreMinimal.h but rarely needed (Compression.h pulls on CriticalSection.h and Map.h that are costly).
#rb Yoan.StAmant

[CL 30683417 by aris theophanidis in ue5-main branch]
2024-01-18 09:56:55 -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
marc audy
19e84555b3 Silence PVS warnings
[CL 30653812 by marc audy in ue5-main branch]
2024-01-17 01:34:02 -05:00
zousar shaker
e7e33882d3 Change the internal use of cache flags in the DDC hierarchy to have the flag usage be atomic and avoid needing to take a write lock of the nodes lock when the flags are being set. This is to avoid an issue where recursive read locks can lead to deadlocks in the presence of a write lock. A future change is planned to alter the locks to ones that support recursive use, at which point this change will no longer be necessary.
#rb Devin.Doucette

[CL 30597063 by zousar shaker in ue5-main branch]
2024-01-12 12:47:57 -05:00
dan engelbrecht
ba66b561de For local Zen DDC connections show the path where data is store in the Cache Statistics tab for DDC instead of local ip address
For Zen DDC connection show the storage size
#jira UE-199929
#rb Devin.Doucette

[CL 30501101 by dan engelbrecht in ue5-main branch]
2024-01-09 06:08:29 -05:00
zousar shaker
557cdf9e71 Initialize an out variable to satisfy static analysis.
[CL 30297745 by zousar shaker in ue5-main branch]
2023-12-13 13:17:25 -05:00
zousar shaker
ae71242205 Change the way readiness of ZenCacheStore is evaluated and re-evaluated.
Instead of relying on a one-time blocking check with no reponse timeout, we now issue a blocking request with a 5 second idle time limit.  If it fails, the store will still be created, but it will go into the same asyncronous re-evaluation loop as when performance is below the acceptable threshold and re-evaluate at 30 second intervals until both:

- Health is Ok
- Performance criteria (if any has been configured and is in use) is met

At which point it is activated.  Health checks have been changed from the health/status endpoint to health/ready because we don't want to act if the server is running but not ready for requests (eg: during the time when it may be wiping data during a schema change.

The overall goal is that we don't force the entire session to execute without zenserver if zenserver was not ready at startup.

#rb Devin.Doucette

[CL 30295095 by zousar shaker in ue5-main branch]
2023-12-13 11:34:21 -05:00
devin doucette
c7cee256ca DDC: Added a fatal error if the cache is not readable or writable
#rb Zousar.Shaker

[CL 30294521 by devin doucette in ue5-main branch]
2023-12-13 11:07:59 -05:00