aboutsummaryrefslogtreecommitdiff
path: root/zenserver/upstream/upstreamcache.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Merged main.Per Larsson2021-12-141-46/+32
|\
| * Merged mainMartin Ridgers2021-11-221-35/+50
| |\ | |/ |/|
| * Merged mainMartin Ridgers2021-11-171-13/+55
| |\
| * \ Merged mainMartin Ridgers2021-11-171-3/+3
| |\ \
| * \ \ Merged mainMartin Ridgers2021-11-171-7/+14
| |\ \ \
| * | | | GCC does not like CacheKey member being named the same as its typeMartin Ridgers2021-11-151-32/+32
| | | | |
| * | | | Merged mainMartin Ridgers2021-11-151-10/+333
| |\ \ \ \
| * \ \ \ \ Merged mainMartin Ridgers2021-11-031-94/+103
| |\ \ \ \ \
| * | | | | | Signed/unsigned mismatchesMartin Ridgers2021-11-011-6/+6
| | | | | | |
* | | | | | | Changed upstream DisplayName to UpstreamEndpointInfo with name and url.Per Larsson2021-11-171-28/+31
| | | | | | |
* | | | | | | Added health check and return missing error message.Per Larsson2021-11-171-7/+19
| |_|_|_|_|/ |/| | | | |
* | | | | | Log upstream HTTP errors as errors.Per Larsson2021-11-171-13/+55
| |_|_|_|/ |/| | | |
* | | | | Check both success and error code when initializing Jupiter upstream.Per Larsson2021-11-171-1/+1
| | | | |
* | | | | Added connect/transfer timeout options for Jupiter client.Per Larsson2021-11-171-2/+2
| |_|_|/ |/| | |
* | | | Added upstream connect/transfer timeout options.Per Larsson2021-11-161-7/+14
| |_|/ |/| |
* | | Fixed bug in upstream jupiter endpoint.Per Larsson2021-11-131-2/+2
| | |
* | | Merge branch 'main' into zcache-batchPer Larsson2021-11-111-3/+3
|\ \ \ | | |/ | |/|
| * | Type consistency around signed/unsigned comparisonMartin Ridgers2021-11-031-3/+3
| | |
* | | Fixed stats.Per Larsson2021-11-111-92/+119
| | |
* | | Removed batch result.Per Larsson2021-11-111-15/+19
| | |
* | | Format and remove unused type.Per Larsson2021-11-111-2/+1
| | |
* | | Added batch API to upstream endpoints.Per Larsson2021-11-111-70/+276
| | |
* | | Sort cache keys when resolving payload ID's.Per Larsson2021-11-091-1/+47
| | |
* | | Added upstream batch API.Per Larsson2021-11-021-0/+41
|/ /
* / Upload cache record before blobs and call finalize when processing upstream ↵Per Larsson2021-11-011-93/+102
|/ | | | to Jupiter.
* Ratios should not be percentages (this should be done in presentation)Stefan Boberg2021-10-111-2/+2
|
* Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-061-1/+1
| | | | | | | | 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]>
* clang-formatStefan Boberg2021-10-051-1/+1
|
* Merged from upstreamStefan Boberg2021-10-051-66/+2
|
* Added support for choosing best ZEN upstream endpoint based on latency.Per Larsson2021-10-021-7/+93
|
* Added cache HIT/MISS stat counters.Per Larsson2021-10-011-12/+2
|
* Improved error handling for upstream endpoints.Per Larsson2021-10-011-29/+57
|
* Added upstream cache perf metrics.Per Larsson2021-10-011-0/+30
|
* Try upload missing payloads and finalize Jupiter cache ref.Per Larsson2021-10-011-15/+99
|
* 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
* Simpler upstream stats. Enabled with --upstream-stats.Per Larsson2021-09-231-92/+111
|
* Use /check/health instead of /test/hello.Per Larsson2021-09-231-2/+2
|
* Made upstream endpoints more resilient to failures by checking ↵Per Larsson2021-09-221-52/+154
| | | | health/reconnecting at regular intervals.
* clang-formatStefan Boberg2021-09-201-15/+15
|
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-15/+15
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* Try authenticate with Jupiter instance when initializing upstream cache.Per Larsson2021-09-201-2/+3
|
* Probe upstream Zen server when initializing upstream cache.Per Larsson2021-09-201-2/+14
|
* Added upstream cache policy command line option ↵Per Larsson2021-09-171-9/+15
| | | | (read|write,readonly,writeonly,disabled).
* Compact binary package caching support (#9)Per Larsson2021-09-161-26/+122
|
* Changed logging implementationStefan Boberg2021-09-151-17/+21
| | | | | | * 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
* Fixed a number of unreferenced variable warningsStefan Boberg2021-09-091-0/+2
|
* Minor fixup and formatting.Per Larsson2021-09-071-2/+2
|
* Updated upstream stats calculation.Per Larsson2021-09-071-52/+31
|
* Return stats from Zen/Jupiter HTTP client.Per Larsson2021-09-071-19/+164
|
* Support for switching between storing derived data using the legacy DDC ↵Per Larsson2021-09-061-8/+22
| | | | endpoint and the Commmon Blob Store endpoint.