aboutsummaryrefslogtreecommitdiff
path: root/zenserver/cache/structuredcache.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Sort cache keys when resolving payload ID's.Per Larsson2021-11-091-39/+117
| | |
| * | Added batched get chunk(s).Per Larsson2021-11-081-104/+249
| | |
| * | Added upstream batch API.Per Larsson2021-11-021-122/+103
| | |
| * | First pass batch request.Per Larsson2021-10-291-0/+72
| |/
* | z$: basic access trackingStefan Boberg2021-11-031-32/+0
| |
* | Add /vsxmake* to .gitignoreStefan Boberg2021-11-031-3/+35
| |
* | clang-formatStefan Boberg2021-10-231-2/+2
| |
* | z$: Removed CasStoreStefan Boberg2021-10-211-11/+2
|/
* Ratios should not be percentages (this should be done in presentation)Stefan Boberg2021-10-111-2/+2
|
* stats: Added support for handler unregistrationStefan Boberg2021-10-111-2/+6
|
* Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-061-114/+114
| | | | | | | | This change introduces WriteResponseAsync which can be used to move potentially slow request handler code (like upstream lookups) off the I/O service thread to ensure we are always able to serve as many HTTP requests as possible. The current implementation defaults to 16 async worker threads and there is currently no back-pressure. - Added RequestStats - Metrics for network requests. Aggregates tracking of duration, payload sizes into a single class for ease of use - Added some metrics on upstream communication Co-authored-by: Per Larsson <[email protected]>
* 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