What I want to do
I need to configure Block cache in the latest Dgraph .
Can you please explain what are the 3 parameters in the percentage option ?
What I did
I have started the alpha with below commands
op1 : nohup dgraph alpha --my=192.180.66.41:7080 --zero=192.180.66.41:5080 --cache size-mb=1024 --cache percentage=50,30,20 --security whitelist=0.0.0.0/0 &
or
op 2 :
nohup dgraph alpha --my=192.180.66.41:7080 --zero=192.180.66.41:5080 --cache size-mb=1024 --cache percentage=0,70,30 --security whitelist=0.0.0.0/0 &
Dgraph metadata
Dgraph version : v21.03.2
Dgraph codename : rocket-2
Dgraph SHA-256 : 00a53ef6d874e376d5a53740341be9b822ef1721a4980e6e2fcb60986b3abfbf
Commit SHA-1 : b17395d33
Commit timestamp : 2021-08-26 01:11:38 -0700
Branch : HEAD
Go version : go1.16.2
jemalloc enabled : true
For Dgraph official documentation, visit https://dgraph.io/docs.
For discussions about Dgraph , visit http://discuss.dgraph.io.
For fully-managed Dgraph Cloud , visit https://dgraph.io/cloud.
Licensed variously under the Apache Public License 2.0 and Dgraph Community License.
Copyright 2015-2021 Dgraph Labs, Inc.