Peer Server's memcached configuration

I already successfully added memcached for Peer & Transactor.

Can I configure memcached for Peer Servers? I don’t see memcached configuration for peer servers here https://docs.datomic.com/on-prem/peer-server.html.

Or, are Peer Servers automatically use memcached configuration for transactor?

You can configure memcached for your peer server the same way you would for any other peer application, adding the memcached (or valcache) arguments to the command line invocation, e.g.:

bin/run -Ddatomic.valcachePath=/tmp/valcache/ -Ddatomic.valcacheMaxGb=40 -Xmx8g -m datomic.peer-server -a key,secret -d mydb,datomic:dev://localhost:4334/my-db
1 Like