Add warning to Akka DD docs about freq add/deletes of top-level entit… (#21269)
* Add warning to Akka DD docs about freq add/deletes of top-level entities - fixes #21249
This commit is contained in:
parent
efc87af58a
commit
440848c741
2 changed files with 16 additions and 0 deletions
|
|
@ -240,6 +240,14 @@ Subscribers will receive ``Replicator.DataDeleted``.
|
|||
|
||||
.. includecode:: code/docs/ddata/DistributedDataDocTest.java#delete
|
||||
|
||||
.. warning::
|
||||
|
||||
As deleted keys continue to be included in the stored data on each node as well as in gossip
|
||||
messages, a continuous series of updates and deletes of top-level entities will result in
|
||||
growing memory usage until an ActorSystem runs out of memory. To use Akka Distributed Data
|
||||
where frequent adds and removes are required, you should use a fixed number of top-level data
|
||||
types that support both updates and removals, for example ``ORMap`` or ``ORSet``.
|
||||
|
||||
Data Types
|
||||
==========
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue