Versions Compared

Key

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

...

As CollectionAlias works as an extra pointer to the existing collection in the RootCoordinator, we can implement collection hot reloading at a much lower cost compared to the 1, 2 approaches.

With CollectionAlias, we can implement collection hot reloading functionality as such:

  1. Create Collection A & insert data.
  2. Create CollectionAlias Z 

...

  1. -> A.
  2. Create Collection B & insert data.
  3. Update CollectionAlias Z 

...

  1. -> B.
  2. Users can access new data with the Z alias.

Public Interfaces

New Public APIs

...