aboutsummaryrefslogtreecommitdiff
path: root/zenserver
Commit message (Collapse)AuthorAgeFilesLines
...
| * | | | | | | | minor: comment editsStefan Boberg2021-10-181-2/+2
| | | | | | | | |
* | | | | | | | | Merge branch 'gc' of https://github.com/EpicGames/zen into gcStefan Boberg2021-10-191-0/+2
|\ \ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| | | | | | |
| * | | | | | | | Merge branch 'main' into gcStefan Boberg2021-10-191-0/+2
| |\ \ \ \ \ \ \ \ | | |/ / / / / / / | |/| / / / / / / | | |/ / / / / /
| | * | | | | / project store: DELETE {project} request now produces a correct HTTP responseStefan Boberg2021-10-181-0/+2
| | | |_|_|_|/ | | |/| | | |
* | | | | | | zenserver: disabled named pipes client and exec service by defaultStefan Boberg2021-10-191-4/+30
| | | | | | |
* | | | | | | cas: Hooked up GC to structured cacheStefan Boberg2021-10-192-27/+51
|/ / / / / /
* / / / / / gc: moved GcContect from CAS into gc filesStefan Boberg2021-10-181-1/+7
|/ / / / /
* | | | / structured cache: Implemented GarbageCollect() for disk and memory bucketsStefan Boberg2021-10-161-26/+87
| |_|_|/ |/| | |
* | | | zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-159-31/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | are used without an explicit definition Also fixed up various code to compile with this, by using ZEN_THIRD_PARTY_INCLUDES_START/ZEN_THIRD_PARTY_INCLUDES_END macros Removed prewindows.h/postwindows.h since they are no longer to be used due to the above
* | | | structured cache: fixed mistake in back-off logicStefan Boberg2021-10-151-9/+14
| |_|/ |/| | | | | | | | this bug would make PUTs to clean zen instances very slow
* | | clang-formatStefan Boberg2021-10-152-2/+6
| | |
* | | asio HTTP implementation (#23)Stefan Boberg2021-10-144-5/+19
| |/ |/| | | asio-based HTTP implementation
* | Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-10-132-6/+78
|\ \
| * | Add remote execute functions (#15)Joe Kirchoff2021-10-132-6/+78
| | | | | | | | | Also fix request type for exists, should be head.
* | | projectstore: Removing support for requesting attachments by hash using ↵Stefan Boberg2021-10-131-55/+5
|/ / | | | | | | offset/length (not needed and we will remove this path entirely)
* / structuredcache: add code to handle conflict which can occur when multiple ↵Stefan Boberg2021-10-131-8/+27
|/ | | | PUTs of the same value occur close enough to cause issues due to file system races
* Ratios should not be percentages (this should be done in presentation)Stefan Boberg2021-10-112-4/+4
|
* stats: Added support for handler unregistrationStefan Boberg2021-10-115-6/+36
|
* iobuffer: Changed MakeFromTemporaryFile so it accepts a path instead of a ↵Stefan Boberg2021-10-081-1/+1
| | | | character pointer
* Added shell32.dll to delay load list since it's only needed when no ↵Stefan Boberg2021-10-074-941/+2
| | | | | | directory is specified on the command line Also removed redundant vfs files
* Only enable the MSVC debug output sink for sessions when the --debug mode is ↵Stefan Boberg2021-10-061-1/+1
| | | | | | enabled Previously it would always be enabled if an attached debugger was detected but it impacts performance quite severely so now it is opt-in
* structured cache: Added locking around large cache value updates to prevent ↵Stefan Boberg2021-10-061-13/+37
| | | | races leading to file sharing violations
* Support for asynchronous HTTP response processing (#19)Stefan Boberg2021-10-064-121/+162
| | | | | | | | 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]>
* Added option to specify path to logfile.Per Larsson2021-10-063-1/+4
|
* clang-formatStefan Boberg2021-10-051-1/+1
|
* Merge branch 'main' of https://github.com/EpicGames/zen into mainStefan Boberg2021-10-0515-185/+586
|\
| * Pass logger from Zen client to session instead from spdlog registry.Per Larsson2021-10-052-3/+8
| |
| * status: Exposed global status at /status/statusStefan Boberg2021-10-041-13/+50
| |
| * stats: Implemented new stats endpointStefan Boberg2021-10-048-23/+99
| | | | | | | | | | | | | | | | Stats are exposed under /stats/{id}, so for example structured cache stats are exposed under /stats/z$ The separate endpoint makes it easier to separate request handling to ensure stats/status endpoints still respond if the regular request queue is somehow saturated or otherwise not behaving There is also a /status endpoint which is similar and is targeted towards lightweight health monitoring
| * zenserver: Changed initialization flowStefan Boberg2021-10-043-151/+284
| | | | | | | | | | | | | | - HTTP server is now started earlier, so it can be queried while scrubbing/recovery runs - Stats/status services are initialized before anything else, so they can be used to monitor progress while scrubbing happens - Structured cache initialization is now in a separate function - Scrubbing now emits some summary stats at the point of completion
| * monitoring: added stubs for /stats and /status endpointsStefan Boberg2021-10-046-0/+132
| | | | | | | | this is a tactical check-in to allow me to merge some other changes
| * Added build version tag using the latest Git commit hash. (#16)Per Larsson2021-10-042-3/+21
| | | | | | build: Added build version tag using the latest Git commit hash an date/time
* | minor: removed unused <deque> includeStefan Boberg2021-10-051-1/+0
| |
* | zencore: Added BlockingQueue (moved from upstreamcache.cpp)Stefan Boberg2021-10-051-65/+2
|/
* http: Moved logic for body suppression to a more central locationStefan Boberg2021-10-032-13/+0
| | | | this should prevent some mistake-induced bugs hopefully
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-10-036-20/+139
|\
| * 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
| |/
| * Merge branch 'main' of https://github.com/EpicGames/zenPer Larsson2021-10-024-35/+32
| |\
| * | Added support for choosing best ZEN upstream endpoint based on latency.Per Larsson2021-10-025-16/+112
| | |
* | | structured cache: Added some more stats (hits/misses/upstream_hits)Stefan Boberg2021-10-021-0/+2
| |/ |/|
* | cas: added some GC stubsStefan Boberg2021-10-012-33/+25
| |
* | Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-10-0110-13/+203
|\|
| * Added simple stats HTML dashboard with route /dashboard.Per Larsson2021-10-017-0/+165
| |
| * Added cache HIT/MISS stat counters.Per Larsson2021-10-014-13/+38
| |
* | Added some code to persist bad package data for inspectionStefan Boberg2021-10-011-1/+6
| |
* | structured cache: Fixed package payload endpoint handling of HEADStefan Boberg2021-10-011-1/+1
|/
* Improved error handling for upstream endpoints.Per Larsson2021-10-014-57/+79
|
* Added upstream cache perf metrics.Per Larsson2021-10-014-1/+40
|