aboutsummaryrefslogtreecommitdiff
path: root/zenserver/zenserver.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
| * zen server: Added root manifest, with support for explicit schema versioningStefan Boberg2021-10-201-16/+101
| |
* | zenserver: disabled named pipes client and exec service by defaultStefan Boberg2021-10-191-4/+30
|/
* zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-151-3/+9
| | | | | | | | 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
* clang-formatStefan Boberg2021-10-151-1/+5
|
* asio HTTP implementation (#23)Stefan Boberg2021-10-141-3/+3
| | | asio-based HTTP implementation
* Merged from upstreamStefan Boberg2021-10-051-110/+173
|
* Added support for choosing best ZEN upstream endpoint based on latency.Per Larsson2021-10-021-2/+2
|
* Added simple stats HTML dashboard with route /dashboard.Per Larsson2021-10-011-0/+11
|
* mesh: Hide mesh functionality behind ZEN_ENABLE_MESH defineStefan Boberg2021-09-271-0/+4
| | | | This enables us to hide it from users until it's actually useful
* Added --upstream-jupiter-prod for easy production settings.Per Larsson2021-09-231-1/+12
|
* Simpler upstream stats. Enabled with --upstream-stats.Per Larsson2021-09-231-0/+2
|
* Made upstream endpoints more resilient to failures by checking ↵Per Larsson2021-09-221-2/+2
| | | | health/reconnecting at regular intervals.
* Trigger storage scrubbing pass at startupStefan Boberg2021-09-201-0/+6
|
* Added more scrub stubs in higher level servicesStefan Boberg2021-09-201-0/+9
|
* Made use of mimalloc controlled by defineStefan Boberg2021-09-201-2/+8
| | | | | | | When ZEN_USE_MIMALLOC is set to 0, mimalloc will not be used. This is useful to diagnose issues with gflags and other generic analysis tools which expect malloc/free to be used for memory management
* Moved more code into zen namespace, for consistencyStefan Boberg2021-09-201-4/+4
| | | | Also removed snapshot_manifest (remnants of vfs prototype)
* It's not possible to compile out testsStefan Boberg2021-09-201-3/+6
| | | | Tests are now compiled in if `ZEN_WITH_TESTS=1`, and compiled out if not. Compiling tests out reduces the footprint of the resulting executables quite significantly.
* zenserver can now run as a Windows service. We'll still need to improve how ↵Stefan Boberg2021-09-171-23/+56
| | | | data files are found as the current defaults are relative to the user directory which ends up being in the Windows folder when running as the local system user
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-171-2/+10
|\
| * Added upstream cache policy command line option ↵Per Larsson2021-09-171-4/+12
| | | | | | | | (read|write,readonly,writeonly,disabled).
* | Implemented basics for Windows server support (not yet 100% - needs to ↵Stefan Boberg2021-09-171-3/+23
|/ | | | properly report service state etc to the OS)
* 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)