When enabling Sync (which is still in beta), you have to select a cluster, in which all databases and collections will be synced automatically. I would like to have collections that are external to the sync process — like a “users” collection for instance, I don’t want all clients to store all users on their device.
If you don’t specify a schema for a collection, it will be omitted from Sync, however this yields red errors in the Sync UI, and I can’t seem to set permission rules for this collection, since the message Sync is in Beta: Permissions for this synced collection are set on the synced cluster. Visit the Sync page
is displayed.
You could create another cluster dedicated to collections that are not synced, but this is inconvenient for the following reasons:
- You can have only one free cluster (useful while in development).
- From what I understand, you’d still need the users connected to the two clusters, so you can quickly reach the limitation of “max connections” (1500 for M10 for instance, which is not that much), therefore you can’t use a small cluster for this, you’d have to pay a second cluster of about the same level as your first one.
Therefore, is it possible to limit the Sync to the database-level, since you can have multiple databases running on the same cluster? If it’s not possible, that would be a great feature to add.