beeeenB
Normal2y ago
7 replies
beeeen

Is it better to have more variables per RealtimeComponent?

Say that I have 5 variables that I want to sync using a RealtimeComponent. Is it better to use 1 RealtimeComponent for all 5 of these variables or is it better to use 5 RealtimeComponents, each with 1 variable? Does it matter?

My reasoning here is that every RealtimeComponent requires some overhead to create an id and an entry in the datastore. Therefore, if you have many variables that you have to sync, then it would make sense that having one RealtimeComponent to handle all those variables would reduce the overhead.
Was this page helpful?