aboutsummaryrefslogtreecommitdiff
path: root/zenserver/compute
Commit message (Collapse)AuthorAgeFilesLines
* moved source directories into `/src` (#264)Stefan Boberg2023-05-022-702/+0
| | | | | | * moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees
* optimizations (#200)Dan Engelbrecht2022-12-071-2/+4
| | | | | | | | | | | | | * Use direct file read and direct buffer allocation for small IoBuffer materalization * Reduce range of materialized data in CompositeBuffer reading CompressedBuffer header reading often only need a small part and not the whole file * reduce lock contention in IoBuffer::Materialize * Reduce parsing of compressed headers Validate header type at decompression * faster CreateDirectories - start from leaf going up and recurse back * optimized BufferHeader::IsValid * Add ValidateCompressedHeader to use when we don't need the actual compressed data Validate that we always get compressed data in CidStore::AddChunk * changelog
* Make cas storage an hidden implementation detail of CidStore (#130)v0.1.4-pre6v0.1.4-pre5Dan Engelbrecht2022-06-172-26/+12
| | | | | | | | | | | | | | | | | | - Bumped ZEN_SCHEMA_VERSION - CasStore no longer a public API, it is hidden behind CidStore - Moved cas.h from public header folder - CidStore no longer maps from Cid -> Cas, we store entries in Cas under RawHash - CasStore now decompresses data to validate content (matching against RawHash) - CasChunkSet renames to HashKeySet and put in separate header/cpp file - Disabled "Chunk" command for now as it relied on CAS being exposed as a service - Changed CAS http service to Cid http server - Moved "Run" command completely inside ZEN_WITH_EXEC_SERVICES define - Removed "cas.basic" test - Uncommented ".exec.basic" test and added return-skip at start of test - Moved ScrubContext to separate header file - Renamed CasGC to GcManager - Cleaned up configuration passing in cas store classes - Removed CAS stuff from GcContext and clarified naming in class - Remove migration code
* Initialize upstream apply in background thread (#88)v1.0.1.2Joe Kirchoff2022-05-032-11/+13
|
* Compute updates (#74)Joe Kirchoff2022-04-141-0/+19
|
* Add pre-commit config (#69)Joe Kirchoff2022-04-051-2/+2
| | | | | | | * Add .pre-commit-config.yaml * format all using pre-commit clang-format hook * Add pre-commit to inject unreal header comment * Remove prepare_commit.bat & update CODING.md * Remove check-added-large-files, add headers before clang-format
* Simple file-based compute (#65)Joe Kirchoff2022-03-302-2/+150
|
* Update undefined ZEN_WITH_COMPUTE_SERVICESJoe Kirchoff2022-03-221-1/+1
|
* Enable Horde compute code on Linux & Mac (#61)Joe Kirchoff2022-03-223-1000/+475
|
* clang-formatDan Engelbrecht2022-03-211-4/+4
|
* Update horde compute to use Jupiter for storage (#60)Joe Kirchoff2022-03-172-17/+35
|
* Minor cleanup of free functions.Per Larsson2022-02-031-1/+1
|
* Moved cloud cache token provider out from options.Per Larsson2022-02-011-4/+5
|
* Refactored cloud cache access token provider.Per Larsson2022-02-011-1/+1
|
* Parital completed cloud cache token provider interface.Per Larsson2022-02-011-1/+3
|
* Format fix.Per Larsson2022-01-221-2/+4
|
* Converted use of _format UDL to fmt::formatMartin Ridgers2022-01-101-11/+7
|
* Merged main.Per Larsson2021-12-142-27/+62
|\
| * Merged mainMartin Ridgers2021-12-082-10/+23
| |\
| * \ Merged mainMartin Ridgers2021-11-221-5/+6
| |\ \
| * \ \ Merged mainMartin Ridgers2021-11-162-10/+117
| |\ \ \
| * | | | Missing includesMartin Ridgers2021-11-031-0/+2
| | | | |
| * | | | Removed if-def ZEN_PLATFORM_WINDOWS as its covered by WITH_COMPUTE nowMartin Ridgers2021-11-031-15/+7
| | | | |
| * | | | Wrapped /apply/ and /exec/ services in a ZEN_WITH_COMPUTE_SERVICES defineMartin Ridgers2021-11-032-0/+12
| | | | |
| * | | | Fixed warnings about unhandled switch casesMartin Ridgers2021-10-291-0/+15
| | | | |
| * | | | Marked DataHash as unusedMartin Ridgers2021-10-291-0/+4
| | | | |
| * | | | If-def'd out Basic/SandboxedFuncJob classes and CreateProcess() callsMartin Ridgers2021-10-291-0/+10
| | | | |
| * | | | CAS.cpp/h -> cas.cpp/h to keep Zen's file casing consistentMartin Ridgers2021-10-291-1/+1
| | | | |
| * | | | Fixed up Windows-specific include statementsMartin Ridgers2021-10-291-1/+1
| | | | |
* | | | | Format fix.Per Larsson2021-12-091-4/+1
| |_|_|/ |/| | |
* | | | Remove throw missed in last commitJoe Kirchoff2021-12-011-1/+0
| | | |
* | | | Don't throw a runtime_error if remote execute api failsJoe Kirchoff2021-12-012-9/+23
| |_|/ |/| | | | | | | | asio currently doesn't propagate the exception as a 500 error
* | | Add errorcode to output when a task failsJoe Kirchoff2021-11-181-5/+6
| | |
* | | Change error code for failed upsteam applyJoe Kirchoff2021-11-171-1/+1
| |/ |/|
* | Use upstream apply with HordeJoe Kirchoff2021-11-152-10/+117
|/
* zencore: Enabled MSC warning 4668 to get warnings when preprocessor macros ↵Stefan Boberg2021-10-151-4/+2
| | | | | | | | 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
* apply: Re-enabled environment variable setup for child processesStefan Boberg2021-09-271-2/+2
|
* Encapsulated containers in CasChunkSet to allow for more efficient ↵Stefan Boberg2021-09-211-5/+4
| | | | udpates/queries
* Compact binary package caching support (#9)Per Larsson2021-09-161-1/+1
|
* Fixed marshaling of outputs including sanity checks, loggingStefan Boberg2021-09-162-2/+21
|
* Fixed some unreferenced variable warnings (why don't we get these in sln ↵Stefan Boberg2021-09-161-10/+20
| | | | builds?). Also added size verification to certain payloads
* Added more context to missing chunk exceptionsStefan Boberg2021-09-151-3/+4
|
* Changed `std::exception` into `std::runtime_error` since `std::exception` ↵Stefan Boberg2021-09-151-4/+4
| | | | 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-22/+22
| | | | | | * 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 so more loggers go via the zen::loggers interfaceStefan Boberg2021-09-152-86/+2
|
* Updated function service to new package management APIStefan Boberg2021-09-141-21/+29
|
* HttpResponse enum -> HttpResponseCodeStefan Boberg2021-09-121-11/+11
| | | | Also removed initial CbPackage API HttpServer changes as I have decided to take a different approach
* 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
* Merge branch 'main' of https://github.com/EpicGames/zenStefan Boberg2021-09-061-1/+1
|\