aboutsummaryrefslogtreecommitdiff
path: root/src/zenserver/config.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* merge disk and memory layers (#493)Dan Engelbrecht2023-10-241-0/+11
| | | | - Feature: Added `--cache-memlayer-sizethreshold` option to zenserver to control at which size cache entries get cached in memory - Changed: Merged cache memory layer with cache disk layer to reduce memory and cpu overhead
* add `flush` command and more gc status info (#483)Dan Engelbrecht2023-10-181-2/+2
| | | | | | - Feature: New endpoint `/admin/flush ` to flush all storage - CAS, Cache and ProjectStore - Feature: New command `zen flush` to flush all storage - CAS, Cache and ProjectStore - Improved: Command `zen gc-status` now gives details about storage, when last GC occured, how long until next GC etc - Changed: Cache access and write log are disabled by default
* added command line option to start server clean (#481)Stefan Boberg2023-10-171-0/+4
| | | when specified with `--clean`, the data directory will be wiped clean at startup
* Merge remote-tracking branch 'origin/main' into zs/default-port-changeStefan Boberg2023-10-121-0/+2
|\
| * adjust resource usage for dedicated servers (#466)Stefan Boberg2023-10-121-0/+2
| | | | | | | | | | | | | | | | | | when dedicated mode is enabled via `--dedicated` or `server.dedicated` then we tune http.sys server settings to be more suitable for a shared server initially we tune two things * the thread pool used to service I/O requests allows a larger number of threads to be created when needed. The minimum thread count is unchanged but in dedicated server mode we double the maximum number of threads allowed * the http.sys request queue length (`HttpServerQueueLengthProperty`) is increased to 50,000 in dedicated mode. The regular default is 1,000
* | Change default port to 8558zousar2023-10-111-1/+1
|/ | | | Changes the default port without altering config for shared instances.
* remove legacy compute interfaces (#461)Stefan Boberg2023-10-111-150/+0
| | | | | * removed legacy compute code, which will be replaced with a new implementation in the future * also updated references to Jupiter storage
* cache reference tracking (#455)Dan Engelbrecht2023-10-101-0/+10
| | | | | - Feature: Add caching of referenced CId content for structured cache records, this avoid disk thrashing when gathering references for GC - disabled by default, enable with `--cache-reference-cache-enabled` - Improvement: Faster collection of referenced CId content in project store
* zenserver project restructuring (#442)Stefan Boberg2023-10-061-453/+441
|
* added --quiet option to suppress default logging to stdout (#446)Stefan Boberg2023-10-041-0/+2
| | | | added --quiet option for zenserver to suppress default logging to stdout
* removed websocket protocol support(#445)Stefan Boberg2023-10-041-16/+0
| | | removed websocket support since it is not used right now and is unlikely to be used in the future
* Limit size of memory cache layer (#423)Dan Engelbrecht2023-10-021-5/+34
| | | | | | | | - Feature: Limit the size ZenCacheMemoryLayer may use - `--cache-memlayer-targetfootprint` option to set which size (in bytes) it should be limited to, zero to have it unbounded - `--cache-memlayer-maxage` option to set how long (in seconds) cache items should be kept in the memory cache Do more "standard" GC rather than clearing everything. Tries to purge memory on Get/Put on the fly if exceeding limit - not sure if we should have a polling thread instead of adding overhead to Get/Put (however light it may be).
* lightweight gc (#431)Dan Engelbrecht2023-10-021-0/+10
| | | | | | - Feature: Add lightweight GC that only removes items from cache/project store without cleaning up data referenced in Cid store - Add `skipcid` parameter to http endpoint `admin/gc`, defaults to "false" - Add `--skipcid` option to `zen gc` command, defaults to false - Add `--gc-lightweight-interval-seconds` option to zenserver
* http and httpsys config options (#401)Dan Engelbrecht2023-09-141-2/+41
| | | | * Added `--http-threads`, `--httpsys-async-work-threads`, `--httpsys-enable-request-logging` and `--httpsys-enable-async-response` command line options to zenserver * remove unused CreateHttpSysServer
* add `cache-write-log` and `cache-access-log“ configuration options (#394)Dan Engelbrecht2023-09-111-0/+16
| | | * add `cache-write-log` and `cache-access-log“ configuration options
* add `--write-config` to zenserver options (#382)Dan Engelbrecht2023-09-011-7/+23
| | | | | | | | | | - Feature: `zen up` command has two new command line options - `--config <file_path>` tells zenserver to start with a specific config file - `--owner-pid <pid>` tells zenserver to start with a owning process id - Feature: `zen attach` command to add additional owning processes to a running zenserver instance - `--owner-pid <pid>` adds pid to running zenserver instance list of owning processes - Feature: `--write-config` command line option for zenserver - `--write-config <file_path>` path to a file which will contain a lua config file for zenserver combining all command line options and optional lua config files - Improvement: `zen up` command will check if zenserver is currently running before starting up a new instance
* lua config file improvements (#379)Dan Engelbrecht2023-08-311-300/+791
| | | | | | - Bugfix: All options given on command line now overrides lua config file settings - Improvement: All options available from command line can now be configured in the lua config file (with a few exceptions such as `owner-pid`, `install` and `uninstall`) We can now also generate a Lua config (just string so far) that includes all options given on command line together with any optional Lua input config file. The idea here is to be able to save config options in the future.
* Add `--gc-projectstore-duration-seconds` option (#281)Dan Engelbrecht2023-05-161-10/+12
| | | | | | * Add `--gc-projectstore-duration-seconds` option * Cleanup lua gc options parsing * Remove dead configuration values * changelog
* Remove ATL header usage (#306)Stefan Boberg2023-05-151-0/+1
| | | ATL has been used here and there as a convenience. Given that this is a legacy component and not always something which gets installed along with the compiler we hereby remove the dependency altogether in favour of our own simple wrappers
* Low disk space detector (#277)Dan Engelbrecht2023-05-091-4/+12
| | | | * - Feature: Disk writes are now blocked early and return an insufficient storage error if free disk space falls below the `--low-diskspace-threshold` value * Never keep an entry in m_ChunkBlocks that points to a nullptr
* add ip and username to sentry reports if allowed in settings (#276)Dan Engelbrecht2023-05-081-0/+3
| | | | * add ip and username to sentry reports if allowed in settings * add --sentry-allow-personal-info command line options to zenserver
* replace use of cxxopts::OptionParseException in our codeStefan Boberg2023-05-081-3/+10
| | | | later versions of cxxopts changed the signatures of exceptions. This change adds zen::OptionParseException to replace it
* move testing and observability code to zenhttp (#266)Stefan Boberg2023-05-021-6/+6
|
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+902
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees