aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged from upstreamStefan Boberg2021-10-051-9/+16
|
* http: Moved logic for body suppression to a more central locationStefan Boberg2021-10-031-8/+0
| | | | this should prevent some mistake-induced bugs hopefully
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-10-031-4/+27
|\
| * Merged from upstreamStefan Boberg2021-10-031-3/+24
| |\
| | * Added support for SkipData cache policy.Per Larsson2021-10-031-3/+24
| | |
| * | structurec cache: Added ad hoc special case for /z$/stats.json requestStefan Boberg2021-10-031-1/+3
| |/
* / structured cache: Added some more stats (hits/misses/upstream_hits)Stefan Boberg2021-10-021-0/+2
|/
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-10-011-0/+27
|\
| * Added cache HIT/MISS stat counters.Per Larsson2021-10-011-0/+27
| |
* | structured cache: Fixed package payload endpoint handling of HEADStefan Boberg2021-10-011-1/+1
|/
* Improved error handling for upstream endpoints.Per Larsson2021-10-011-1/+1
|
* Added upstream cache perf metrics.Per Larsson2021-10-011-0/+6
|
* structured cache: fixed how HEAD requests are handledStefan Boberg2021-09-301-1/+1
| | | | | | the SetSuppressResponseBody() is currently sensitive to ordering and would end up getting called too late to apply fixes UE-129788, UE-129793
* structured cache: Rewrote metrics tracking using OperationTimingStefan Boberg2021-09-301-6/+2
|
* structured cache: added request meter and stats reportingStefan Boberg2021-09-301-1/+6
|
* structured cache: Added stats test code (needs additional work / metrics)Stefan Boberg2021-09-301-0/+19
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-281-30/+50
|\
| * Removed using the bucket name to detect binary cache records and store ↵Per Larsson2021-09-281-30/+50
| | | | | | | | content type in cache.
* | Removed MemoryOutStream, MemoryInStreamStefan Boberg2021-09-281-6/+4
|/ | | | | | | | BinaryWriter/BinaryReader now implements memory buffer functionality which previously needed two chained instances of a Buffer/Reader. This was originally expected to be an abstraction for file and other stream access but this is not going to be useful so may as well collapse the functionality. This also eliminates the need for stack-aware ref-counting which is the real reason for wanting to get rid of this code. This was a very old experimental feature which turned out to be a bad idea. This also removes the /cas/batch endpoint
* Fixed unused variable warningStefan Boberg2021-09-221-1/+0
|
* Refactored get/set cache pyload.Per Larsson2021-09-211-97/+84
|
* Merge branch 'main' of https://github.com/EpicGames/zenPer Larsson2021-09-211-1/+10
|\
| * Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-211-1/+1
| |\
| * | Wired up scrubbing to more higher level servicesStefan Boberg2021-09-211-1/+10
| | | | | | | | | | | | Also moved sharding logic for filecas into a function to redduce cut/pasta
* | | Refactored out get/set cache record.Per Larsson2021-09-211-347/+297
| |/ |/|
* | Clang format fix.Per Larsson2021-09-211-1/+1
|/
* Added more scrub stubs in higher level servicesStefan Boberg2021-09-201-0/+7
|
* clang-formatStefan Boberg2021-09-201-16/+12
|
* Resolved merge from mainStefan Boberg2021-09-201-21/+37
|\
| * Respect skip attachments when retrieved from upstream cache.Per Larsson2021-09-201-0/+12
| |
| * Added support for skipping package attachments.Per Larsson2021-09-201-21/+25
| |
* | Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-66/+66
|/ | | | Also removed snapshot_manifest (remnants of vfs prototype)
* Initial support for cache policies.Per Larsson2021-09-171-15/+136
|
* zcache - minor cleanup.Per Larsson2021-09-161-28/+24
|
* Compact binary package caching support (#9)Per Larsson2021-09-161-116/+314
|
* Changed logging implementationStefan Boberg2021-09-151-39/+35
| | | | | | * Code should no longer directly `#include spdlog/spdlog.h`, instead use `#include <zencore/logging.h>` * Instead of explicit calls to `spdlog::info(...)` and such please use the logging macros defined in `zencore/logging.h`. I.e `ZEN_INFO`, `ZEN_DEBUG`, `ZEN_TRACE`, `ZEN_ERROR`, `ZEN_CRITITCAL` * The macros will pick up the "most local" logger via a `Log()` call to retrieve a logger instance. To override the default logger in a class please implement your own `Log()` function
* Changed direct includes of spdlog/spdlog.h into zencore/logging.h to make it ↵Stefan Boberg2021-09-151-1/+1
| | | | easier to tweak implementation
* Changed so more loggers go via the zen::loggers interfaceStefan Boberg2021-09-151-3/+3
|
* Implemented generic CbPackage attachments filteringStefan Boberg2021-09-131-22/+1
| | | | Package transmission will also need to be updated (up next) for the new scheme to be effective
* clang-format fixesStefan Boberg2021-09-121-2/+6
|
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-121-18/+18
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* clang-formatStefan Boberg2021-09-091-1/+1
|
* Factored out http server related code into zenhttp module since it feels out ↵Stefan Boberg2021-09-091-1/+1
| | | | of place in zencore
* Zen upstream support (#7)Per Larsson2021-09-031-19/+17
|
* Removed #pragma once from cpp files (copy pasta fail)Stefan Boberg2021-09-031-2/+0
|
* IoHash::HashMemory -> IoHash::HashBuffer for consistency with UE5 codeStefan Boberg2021-09-021-2/+2
|
* Asynchronous upstream caching to JupiterPer Larsson2021-08-311-176/+167
| | | | Co-authored-by: Stefan Boberg <[email protected]>
* added 'zen drop' command to drop cache buckets onlineStefan Boberg2021-08-171-3/+9
| | | | also cleaned up the server side implementation a bit
* Implemented support for dropping z$ buckets while onlineStefan Boberg2021-08-171-1/+47
|
* Implemented flush operations for cache servicesStefan Boberg2021-08-121-17/+167
| | | | Also implemented basic upstream query interface, which needs a bit more work to be fully functional (chunk propagation / fetching and new propagation policies as per DDC requirements)