From 360d80f62e55917bf9cd097251e4fb17f176e559 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 30 Apr 2024 16:20:51 +0300 Subject: feat(tvix/store): use local object_store for tvix-store daemon blobs The sled backend doesn't perform very well with blobs in there, especially as it's not doing any chunking. Switch to the `objectstore+file://` instead, which does do CDC. Change-Id: Ic0d8836c6fc811b80c7202e3ee7f44a05a4f8dfa Reviewed-on: https://cl.tvl.fyi/c/depot/+/11554 Autosubmit: flokli Reviewed-by: Connor Brewster Tested-by: BuildkiteCI --- tvix/store/src/bin/tvix-store.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'tvix') diff --git a/tvix/store/src/bin/tvix-store.rs b/tvix/store/src/bin/tvix-store.rs index 4662cf67d53c..fa30501e78a9 100644 --- a/tvix/store/src/bin/tvix-store.rs +++ b/tvix/store/src/bin/tvix-store.rs @@ -78,7 +78,11 @@ enum Commands { #[arg(long, short = 'l')] listen_address: Option, - #[arg(long, env, default_value = "sled:///var/lib/tvix-store/blobs.sled")] + #[arg( + long, + env, + default_value = "objectstore+file:///var/lib/tvix-store/blobs.object_store" + )] blob_service_addr: String, #[arg( -- cgit 1.4.1