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 to A.
  3. Create Collection B & insert data.
  4. Update CollectionAlias Z to B.
  5. Users can access new data with the Z alias.

Public Interfaces

New Public APIs

...