Skip to content

Instantly share code, notes, and snippets.

@allada
Created March 8, 2024 04:02
Show Gist options
  • Save allada/ee5408c7705fb4f4fc00dc76063d9f71 to your computer and use it in GitHub Desktop.
Save allada/ee5408c7705fb4f4fc00dc76063d9f71 to your computer and use it in GitHub Desktop.
{
"stores": {
"AC_MAIN_STORE": {
"fast_slow": {
"fast": {
"memory": {
"eviction_policy": {
"max_bytes": 1000000
}
}
},
"slow": {
"filesystem": {
"content_path": "/tmp/nativelink/data-worker-test/content_path-ac",
"temp_path": "/tmp/nativelink/data-worker-test/tmp_path-ac",
"eviction_policy": {
// 10gb.
"max_bytes": 1000000
}
}
}
}
},
"CAS_STORE": {
"fast_slow": {
"fast": {
"memory": {
"eviction_policy": {
"max_bytes": 1000000000
}
}
},
"slow": {
"filesystem": {
"content_path": "/tmp/nativelink/data-worker-test/content_path-cas",
"temp_path": "/tmp/nativelink/data-worker-test/tmp_path-cas",
"eviction_policy": {
// 10gb.
"max_bytes": 1000000000
}
}
}
}
}
},
"servers": [{
"name": "public",
"listener": {
"http": {
"socket_address": "0.0.0.0:50051"
}
},
"services": {
"cas": {
"main": {
"cas_store": "CAS_STORE"
}
},
"ac": {
"main": {
"ac_store": "AC_MAIN_STORE"
}
},
"capabilities": {
},
"bytestream": {
"cas_stores": {
"main": "CAS_STORE",
}
}
}
}],
"global": {
"max_open_files": 512
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment