This article includes some considerations to improve server sync performance.
uint32
), a routing hint is a
value you define at the device level that Ditto Server references to optimize
connections with peers consuming the same datasets.
For example, several restaurants operate on the same Ditto Server instance and
devices within each restaurant share the same data. Each restaurant is identified by
32-bit integer, which is used as the routing hint to the server to ensure data is co-located.
startSync
.