aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/zenstore.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Separate action and worker chunk stores for compute serviceStefan Boberg10 hours1-0/+20
| | | | | | | | | | | | | | Extract ChunkStore interface from CidStore so HttpComputeService can accept different storage backends for action inputs vs worker binaries. Action inputs use MemoryCidStore (no disk persistence) while workers use a disk-backed CidStore for cross-action reuse. - Add ChunkStore abstract class (AddChunk, ContainsChunk, FilterChunks) and FallbackChunkResolver to zenstore.h - CidStore and MemoryCidStore both implement ChunkStore - HttpComputeService takes two ChunkStore& params (action + worker) - Compute server wires MemoryCidStore for actions, CidStore for workers - Storage server passes its CidStore for both (unchanged behavior)
* cacherequests helpers test only (#551)Dan Engelbrecht2025-10-031-0/+2
| | | | * don't use cacherequests utils in cache_cmd.cpp * make zenutil/cacherequests code into test code helpers only
* move projectstore to zenstore (#541)Dan Engelbrecht2025-10-021-0/+2
|
* make sure tests initialize trace so we don't end up allocating tons of ↵Stefan Boberg2025-05-151-0/+2
| | | | memory for no reason (#397)
* workspace shares (#84)Dan Engelbrecht2024-05-291-0/+2
| | | Feature: New 'workspaces' service which allows a user to share a local folder via zenserver. A workspace can have mulitple workspace shares and they provie an HTTP API that is compatible with the project oplog HTTP API. Workspaces and shares are preserved between runs. Workspaces feature is disabled by default - enable with --workspaces-enabled option when launching zenserver.
* clean up test linking (#4)Dan Engelbrecht2024-03-141-0/+2
| | | | | | | - Improvement: Add zenhttp-test and zenutil-test - Improvement: Moved cachepolicy test to cachepolicy.cpp - Improvement: Renamed cachestore tests from z$ to cachestore - Improvement: Moved test linking so test for a lib is linked by <lib>-test - Improvement: Removed HttpRequestParseRelativeUri in httpstructuredcache.cpp and use the one in cacherequests.h instead
* optimized index snapshot reading/writing (#561)Stefan Boberg2023-11-271-2/+0
| | | | | the previous implementation of in-memory index snapshots serialise data to memory before writing to disk and vice versa when reading. This leads to some memory spikes which end up pushing useful data out of system cache and also cause stalls on I/O operations. this change moves more code to a streaming serialisation approach which scales better from a memory usage perspective and also performs much better
* moved source directories into `/src` (#264)Stefan Boberg2023-05-021-0/+32
* moved source directories into `/src` * updated bundle.lua for new `src` path * moved some docs, icon * removed old test trees