Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The default value 1_000_000 proposed here is based on a rough size estimation of member metadata (120B or even larger), so the max allowed memory usage per group is 120B * 1_000_000 = 100 120 MB which should be sufficient large number of 5X~10X for most use cases I know. Further discussion is welcomed on defining the default value!.

Implementation wise we shall block registration of new member once a group reaches its capacity, and define a new error type:

...