aboutsummaryrefslogtreecommitdiff
path: root/zenserver/zenserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Added namespace scopes to more includes for better consistencyStefan Boberg2021-09-171-0/+6
|
* Moved zenserverprocess into zenutil/zenserverprocess.hStefan Boberg2021-09-171-1/+1
|
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-161-1/+1
|\
| * Compact binary package caching support (#9)Per Larsson2021-09-161-1/+1
| |
* | Changed how sponsor processes are managedStefan Boberg2021-09-161-21/+66
|/ | | | We can now monitor more than one process and if a new process is started on the same port we will hand over the owner pid to the process which is already executing before exiting. Note that this is only done if there is actually already an owner process in the instance list.
* Changed `std::exception` into `std::runtime_error` since `std::exception` ↵Stefan Boberg2021-09-151-1/+1
| | | | does not have a constructor which accepts a string argument in the standard (this appears to be an MSVC implementation thing)
* Changed logging implementationStefan Boberg2021-09-151-26/+26
| | | | | | * 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-2/+2
| | | | easier to tweak implementation
* Added options for indicating a server is running in "dedicated" modeStefan Boberg2021-09-151-1/+4
| | | | I.e running on a host to serve *remote* clients
* Tweaked some test mode logic -- always instantiate http services since they ↵Stefan Boberg2021-09-101-5/+2
| | | | are useful for diagnostics
* 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
* HttpServer::AddEndpoint -> HttpServer::RegisterServiceStefan Boberg2021-09-091-9/+9
|
* Made HttpServer an abstract interface, and moved remaining implementation ↵Stefan Boberg2021-09-091-13/+14
| | | | specifics for http.sys into the dedicated cpp/h source files
* Introduced dedicated HTTP testing service, used during development to ↵Stefan Boberg2021-09-081-2/+14
| | | | exercise the server framework
* Cleaned up sentry integration somewhat, to make it easier to enable/disable ↵Stefan Boberg2021-09-071-6/+24
| | | | and separated out the Windows specific configuraiton
* Support for switching between storing derived data using the legacy DDC ↵Per Larsson2021-09-061-1/+2
| | | | endpoint and the Commmon Blob Store endpoint.
* Changed Jupiter endpoint to dev environment.Per Larsson2021-09-061-1/+1
|
* Removed legacy key-value cache (may be reinstated in another form in the future)Stefan Boberg2021-09-031-21/+0
|
* Zen upstream support (#7)Per Larsson2021-09-031-10/+54
|
* Asynchronous upstream caching to JupiterPer Larsson2021-08-311-1/+27
| | | | Co-authored-by: Stefan Boberg <[email protected]>
* Basic implementation of function evaluationStefan Boberg2021-08-281-3/+7
|
* WIP interface for submitting workers/jobsStefan Boberg2021-08-241-0/+11
|
* Improved crash reporting setup and removed old stubsStefan Boberg2021-08-211-7/+18
| | | | Also added ability to exercise crash reporting from command line
* Added initial sentry.io support for crash tracking etcStefan Boberg2021-08-201-0/+14
|
* Extended flushing to include more servicesStefan Boberg2021-08-121-2/+16
|
* Implemented Flush() operation for CID/CAS store interfacesStefan Boberg2021-08-111-0/+6
|
* Changed logic so that the shutdown monitoring thread is spun up in non-test ↵Stefan Boberg2021-08-091-12/+11
| | | | modes as well
* Changed naming scheme for lifecycle events. Always create shutdown events ↵Stefan Boberg2021-08-091-4/+4
| | | | (not just in test scenarios)
* Added self-registration of Zen server instance in shared state mapStefan Boberg2021-08-091-0/+16
|
* Added support for defining test/non-test server environmentsStefan Boberg2021-08-061-1/+1
|
* zen::Process -> zen::ProcessHandleStefan Boberg2021-08-061-1/+1
|
* Added single instance (per port) logic to ZenServer classStefan Boberg2021-08-051-0/+15
|
* Made some changes to how mesh config worksStefan Boberg2021-06-211-13/+13
|
* Launch sandbox directory is now dynamic and configured from the main serverStefan Boberg2021-06-201-1/+3
| | | | Also added some debug logging
* Added EnableMesh setting, fixed lifetime managementStefan Boberg2021-05-261-10/+37
| | | | restructured handling of parent process lifetime management and added logic so that the parent process tracking works even when nothing else is using the asio I/O context
* Implemented simple persistence for CidStore, which stores CID->CAS mappingsStefan Boberg2021-05-241-4/+6
|
* Added CidStore, currently used to track relationships between compressed and ↵Stefan Boberg2021-05-241-1/+3
| | | | | | uncompressed chunk hashes This first implementation is in-memory only, persistence is next
* Adding zenservice codeStefan Boberg2021-05-111-0/+278