Discussion:
Datomic Memory Settings for multiple peers -Ddatomic.objectCacheMax
Brecht De Rooms
2017-11-14 10:55:49 UTC
Permalink
Dear,

I wonder whether the option: "-Ddatomic.objectCacheMax" applies to . one
pear or multiple peers.
For example, if I have multiple datomic databases and create a peer for
each of these databases in java/scala code, and let's say the number of
peers is X.
Should I then make sure that the memory I have available is X times the
objectCacheMax?
Or does the peer library divide the objectCacheMax between the peers
automatically and I should go for +- half of my available memory?

Kind Regards,
Brecht
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Dustin Getz
2017-11-15 13:40:58 UTC
Permalink
I think there is supposed to be one peer per JVM, a peer connects to N
databases. Each database connection competes for peer resources (object
cache, connections and obviously compute)
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Marshall Thompson
2017-11-17 20:00:21 UTC
Permalink
Hi Brecht,

Can you post your question in the new Datomic Developers Forum at
forum.datomic.com ?

Thanks!
-Marshall
Post by Brecht De Rooms
Dear,
I wonder whether the option: "-Ddatomic.objectCacheMax" applies to . one
pear or multiple peers.
For example, if I have multiple datomic databases and create a peer for
each of these databases in java/scala code, and let's say the number of
peers is X.
Should I then make sure that the memory I have available is X times the
objectCacheMax?
Or does the peer library divide the objectCacheMax between the peers
automatically and I should go for +- half of my available memory?
Kind Regards,
Brecht
--
You received this message because you are subscribed to the Google Groups "Datomic" group.
To unsubscribe from this group and stop receiving emails from it, send an email to datomic+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...