aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* restructured zenhttp (#472)Stefan Boberg2023-10-1316-7/+6
| | | separating the http server implementations into a directory and moved diagsvcs into zenserver since it's somewhat hard-coded for it
* faster oplog iteration (#471)Dan Engelbrecht2023-10-138-44/+73
| | | | | * use a CbObjectView instead of CbObject to avoid creating IOBufferCore instances * use BasicFileBuffer directly where possible * changelog
* Merge pull request #465 from EpicGames/zs/default-port-changezousar2023-10-1210-15/+15
|\ | | | | Change default port to 8558
| * Merge remote-tracking branch 'origin/main' into zs/default-port-changeStefan Boberg2023-10-1220-56/+689
| |\ | |/ |/|
* | Update README.mdStefan Boberg2023-10-121-1/+1
| |
* | added initial README.mdStefan Boberg2023-10-121-0/+5
| |
* | restructured transports SDK for easier UE integration (#470)Stefan Boberg2023-10-127-9/+15
| |
* | added logging utility functions (from sb/proto) (#469)Stefan Boberg2023-10-122-0/+549
| | | | | | these allow standalone programs to share much of the logging setup from zenserver
* | skip lightweight GC if full GC is due soon (#467)Stefan Boberg2023-10-122-20/+31
| | | | | | | | | | | | GC will now skip a lightweight GC if a full GC is due to run within the next lightweight GC interval also fixed some minor typos
* | adjust resource usage for dedicated servers (#466)Stefan Boberg2023-10-129-27/+89
| | | | | | | | | | | | | | | | | | 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-1110-15/+15
|/ | | | Changes the default port without altering config for shared instances.
* added explicit implementation of IoHash equals operator (#464)Stefan Boberg2023-10-111-0/+2
| | | | | | | | | * added explicit implementation of IoHash equals and less than operator using memcpy This improves codegen on MSVC in particular. Without this the operator is not inlined and consists of 20 individual (not in a loop) byte-by-byte comparisons each with an associated branch. With this change we get three comparisons (two uint64, one uint32) and three branches. So less pressure on branch predictors and as the code gets inlined the predictor should hopefully also function better.
* pluggable asio transport (#460)Stefan Boberg2023-10-1117-117/+608
| | | | | | | | | added pluggable transport based on asio. This is in an experimental state and is not yet a replacement for httpasio even though that is the ultimate goal also moved plugin API header into dedicated part of the tree to clarify that it is meant to be usable in isolation, without any dependency on zencore et al moved transport implementations into dedicated source directory in zenhttp note that this adds code to the build but nothing should change at runtime since the instantiation of the new code is conditional and is inactive by default
* hide HttpAsioServer interface behind factory function (#463)Stefan Boberg2023-10-113-24/+29
|
* updated plugin API class names (#462)Stefan Boberg2023-10-119-98/+97
| | | | | | | | | * renamed some interfaces to improve pluggable transport API TransportConnectionInterface -> TransportConnection TransportPluginInterface -> TransportPlugin TransportServerConnectionHandler -> TransportServerConnection TransportServerInterface -> TransportServer
* remove legacy compute interfaces (#461)Stefan Boberg2023-10-1113-3220/+41
| | | | | * removed legacy compute code, which will be replaced with a new implementation in the future * also updated references to Jupiter storage
* fix clang-format whoopsieStefan Boberg2023-10-111-1/+1
|
* added back main thread nameStefan Boberg2023-10-111-0/+2
| | | | this was there before but lost in a merge recently
* suppress no-op auth debug loggingStefan Boberg2023-10-101-1/+6
|
* experimental pluggable transport support (#436)Stefan Boberg2023-10-1017-42/+2044
| | | this change adds a `--http=plugin` mode where we support pluggable transports. Currently this defaults to a barebones blocking winsock implementation but there is also support for dynamic loading of transport plugins, which will be further developed in the near future.
* cache reference tracking (#455)Dan Engelbrecht2023-10-1010-189/+602
| | | | | - 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
* fixed GC logging output stats (#458)Stefan Boberg2023-10-102-1/+2
| | | disk usage stats are now properly reported in log messages
* minor fixes to zencore (#457)Stefan Boberg2023-10-094-8/+3
| | | | * AssertException constructor should be explicit * removed pragma comment
* reject bad bucket reads (#456)Stefan Boberg2023-10-094-5/+19
| | | | * extended bad bucket rejection logic to include GET operations as well as PUTs
* Fixes to shared server configzousar2023-10-061-25/+25
| | | | Conforming indentation. Fixing lightweight-interval-seconds -> lightweightintervalseconds. Adding missing comma preceding memlayer.
* 0.2.27v0.2.27Dan Engelbrecht2023-10-061-1/+1
|
* 0.2.27-pre1v0.2.27-pre1Dan Engelbrecht2023-10-061-1/+1
|
* minor: remove double includeDan Engelbrecht2023-10-061-1/+0
|
* fix memory usage in memlayer (#454)Dan Engelbrecht2023-10-063-15/+5
| | | * Bugfix: Remove double counting of memory usage in memcachelayer
* fix gc infinite loop (#453)Dan Engelbrecht2023-10-064-10/+28
| | | | * make sure we update last gc time even if gc fails * If we can't check if an oplog/project markerfile exists, assume it is not expired
* zenserver project restructuring (#442)Stefan Boberg2023-10-0611-1533/+1742
|
* reject known bad bucket names in structured cache (#452)v0.2.27-pre0Stefan Boberg2023-10-068-9/+88
| | | | | | | * added string_view helpers for ParseHexBytes/ParseHexNumber * reject known bad buckets in structured cache put handler (32-character hex bucket names are rejected) * also added bucket rejection logic to bucket discovery * added rejected_writes stat to HttpStructuredCache
* 0.2.26v0.2.26Dan Engelbrecht2023-10-051-1/+1
|
* added CHANGELOG.md entries for recent fixesStefan Boberg2023-10-051-0/+3
|
* 0.2.26-pre4v0.2.26-pre4Dan Engelbrecht2023-10-051-1/+1
|
* ZenCacheMemoryLayer should always store values using memory buffers (#451)Stefan Boberg2023-10-052-5/+9
| | | | | | | | this change fixes a problem where the memory cache layer can inadvertently prevent underlying block store files from being deleted * ensure we get memory buffers on all paths * added more context to error in IoBufferBuilder::ReadFromFileMaybe * fixed problematic pread call success check in IoBufferBuilder::ReadFromFileMaybe which would always report failure on Linux/MacOS
* fixed issue where IoBufferBuilder::ReadFromFileMaybe loses content type (#450)Stefan Boberg2023-10-052-2/+4
|
* check that block does not exists on disk before starting write to it (#449)Dan Engelbrecht2023-10-053-18/+47
| | | * check that block does not exists on disk before starting write to it
* Fix curruption of disk cache bucket index on GC (#448)Dan Engelbrecht2023-10-055-75/+94
| | | | | | | | | * make sure we hold the index lock when reading payload data in reclaim space * don't use index snapshot when updating index in reclaim space * check that things have not moved under our feet * don't touch m_Payloads without a lock * start write block index on the highest block index * we don't need to bump writeblockindex when stopping write to a block, we will bump appropriately when we start a new block * changelog
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2023-10-053-11/+24
|\
| * 0.2.26-pre3v0.2.26-pre3Dan Engelbrecht2023-10-051-1/+1
| |
| * reduce lock in disklayer (#447)Dan Engelbrecht2023-10-052-10/+23
| | | | | | * Don't block all write access to all buckets when doing GatherReferences/CollectGarbage
* | trivial: log output typo in GCStefan Boberg2023-10-051-1/+1
|/
* 0.2.26-pre2v0.2.26-pre2Dan Engelbrecht2023-10-041-1/+1
|
* added --quiet option to suppress default logging to stdout (#446)Stefan Boberg2023-10-046-5/+28
| | | | added --quiet option for zenserver to suppress default logging to stdout
* formatting of server configDan Engelbrecht2023-10-041-1/+1
|
* fix HandleRpcRequest::WriteResponseAsync trace scope when we are not running ↵Dan Engelbrecht2023-10-041-1/+2
| | | | async
* changelogDan Engelbrecht2023-10-041-2/+2
|
* added thread names (#441)Stefan Boberg2023-10-044-1/+8
| | | added names to process handle GC thread and main thread for easier identification in crash dumps / process monitoring
* shared server config (#438)v0.2.26-pre1Dan Engelbrecht2023-10-041-3/+9
| | | | | | Shared instance: - Tweak full GC interval - Add lightweight GC config - Add memlayer GC config