Dgraph Release Candidate v24.0.0-rc1 is now available

In a previous post, it was said Dgraph v24 would boast: “a new caching approach that will boost performance of all applications” (Dgraph 24.0.0-alpha is now available on Github and DockerHub)

I skimmed the difference between alpha3 and rc1 (Comparing v24.0.0-alpha3...v24.0.0-rc1 · dgraph-io/dgraph · GitHub). There’s a lot of change references to a GlobalCache, CachePL, and the UpdateCachedKeys function. Is this the new caching approached mentioned before?

It looks like the CacheDefaults have changed too:

Old - 	CacheDefaults        = `size-mb=1024; percentage=0,65,35;`
New +	CacheDefaults        = `size-mb=1024; percentage=0,80,20;`

(Comparing v24.0.0-alpha3...v24.0.0-rc1 · dgraph-io/dgraph · GitHub)

Can the Dgraph team elaborate on these updates?

Also, to confirm, this portion was not backported to v23.1.1, that was just #9065?

1 Like