5 records per second for a group of objects

Suppose we have 5 entities: A, B, C, D, E with the following hierarchy of ancestors:

A / \ BC / \ DE 

I have two questions:

  • Do we have 2 groups of entities (A, B, D) and (A, C, E) or just one object group (A, B, C, D, E)?
  • If we want to update objects D and E, can we update each of them 5 times per second or combined records for D, E not more than 5?
+6
source share
1 answer

Here there is only one object without a parent, that is A. Thus, this is the root entity of the only entity group that contains A, B, C, D and E. Entity is just a separate entity tree connected by parent-child relationships.

As for the record limit, it applies to the entire group of entities. Therefore, you cannot have more than five updates per second for any of your entities (A, B, C, D, or E), since they all belong to the same group.

You can find more information about avoiding the so-called data warehouse statement (updating objects too often) in this article .

+13
source

Source: https://habr.com/ru/post/897672/


All Articles