aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* chunking moved to zenstore (#490)Stefan Boberg2023-10-234-1241/+438
| | | | | * moved chunking into zenstore * removed vestiges of experimental chunking command
* fix m_LastFullGcDuration, m_LastFullGCDiff, m_LastFullGcDuration and ↵Dan Engelbrecht2023-10-233-28/+23
| | | | m_LastLightweightGcDuration stats (#494)
* Remove any unreferenced blocks in block store on open (#492)Dan Engelbrecht2023-10-235-17/+28
| | | * Remove any unreferenced blocks in block store on open
* Filter expired cache entries against ExpiredKeys - not CAS entries to retain ↵Dan Engelbrecht2023-10-232-40/+24
| | | | (#491)
* typedef for std streaming to StringBuilderStefan Boberg2023-10-201-0/+2
|
* explicit ChunkingLinearAllocatorStefan Boberg2023-10-201-1/+1
|
* more cleanup from sb/protoStefan Boberg2023-10-203-16/+30
|
* improve error handling when parsing http requests (#489)Dan Engelbrecht2023-10-202-6/+37
| | | * catch exceptions in HttpRequestParser::OnMessageComplete() callback
* place tests in own group (for sln) (#488)Stefan Boberg2023-10-204-0/+4
|
* added HttpClient::GetBaseUriStefan Boberg2023-10-201-1/+2
| | | | mostly useful when reporting errors
* Don't prune block locations due to missing blocks a startup (#487)Dan Engelbrecht2023-10-206-147/+114
| | | | | | * Don't prune block locations due to missing blocks a startup This makes the behaviour consistent with FileCas - you can have an index that is not fully backed by data. Asking for a location that is not backed by data results in getting an empty result back Also, don't try to GC blocks that are unknown to the block store at the time of snapshot (to avoid removing data that comes in after GatherReferences in GC)
* Cache (rpc) activitity recording improvements (#482)Stefan Boberg2023-10-2010-96/+821
| | | | | | | this adds a new RPC recording path aimed at more continuous recording and analysis of recorded sessions the new strategy is implemented alongside the original in order to retain the ability to read the older format the main difference between v2 and v1 is that the new strategy splits the recording into segments which are independent from each other. This is done to enable long running sessions with automatic disk cleanup (not implemented yet), appending to an existing recording (not implemented) and/or partial analysis and processing. The recorder will start a new segment when some criteria is fulfilled, including the number of files in the segment directory, disk footprint etc
* clean up GcContributor and GcStorage to be pure interfaces (#485)Dan Engelbrecht2023-10-2010-46/+31
|
* Add --skip-delete option to gc command (#484)Dan Engelbrecht2023-10-208-2/+26
| | | | - Feature: Add `--skip-delete` option to gc command - Bugfix: Fix implementation when claiming GC reserve during GC
* Change shared server config to use port 8558zousar2023-10-181-1/+1
|
* add `flush` command and more gc status info (#483)Dan Engelbrecht2023-10-1814-68/+351
| | | | | | - 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
* 0.2.28v0.2.28Dan Engelbrecht2023-10-181-1/+1
|
* added command line option to start server clean (#481)Stefan Boberg2023-10-175-30/+49
| | | when specified with `--clean`, the data directory will be wiped clean at startup
* removed unnecessary vector in ZenCacheMemoryLayer::DropStefan Boberg2023-10-171-3/+2
|
* 0.2.28-pre4v0.2.28-pre4Dan Engelbrecht2023-10-171-1/+1
|
* fix mem layer total count (#480)Dan Engelbrecht2023-10-173-6/+18
| | | * fix calculation of ZenCacheMemoryLayer::m_TotalSize
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2023-10-172-1/+3
|\
| * 0.2.28-pre3v0.2.28-pre3Dan Engelbrecht2023-10-171-1/+1
| |
| * minor - fix references size arrayDan Engelbrecht2023-10-171-0/+2
| |
* | minor: fixed some typosStefan Boberg2023-10-171-3/+2
|/
* 0.2.28-pre2v0.2.28-pre2Dan Engelbrecht2023-10-171-1/+1
|
* added temporary admin/mi_collect handler (#479)Stefan Boberg2023-10-171-0/+40
| | | allows testing impact of calling mi_collect on a running server
* 0.2.28-pre1v0.2.28-pre1Dan Engelbrecht2023-10-171-1/+1
|
* don't call compact references if caching is not enabled (#478)Dan Engelbrecht2023-10-171-6/+12
|
* 0.2.28-pre0v0.2.28-pre0Dan Engelbrecht2023-10-171-1/+1
|
* rewite state marker at startup (#477)Dan Engelbrecht2023-10-172-6/+5
| | | * rewrite state_marker at startup
* changelogDan Engelbrecht2023-10-171-0/+2
|
* support for multiple http servers (#473)Stefan Boberg2023-10-1314-393/+559
| | | | | | * added support for having multiple http servers active in one session * added configuration API to pluggable transports * removed pimpl pattern from some pluggable transports implementations
* improved http.sys initialization diagnostics and amended logic for dedicated ↵Stefan Boberg2023-10-131-40/+71
| | | | servers (#475)
* 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