Custom Properties and Performance?

Options

Hello,

How does the amount of properties impact performance? Does it just iterate/search through the values normally, or is there network implications for having large numbers of custom properties?

Thanks

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options

    Hi @gdfgsgsdsg,

    The impact is on two things:

    • when you join rooms, the server will send all the properties
    • when you set or update too many or big properties, that will be sent to everyone in the room

    In general, we do not recommend having too many or large properties because it could delay room joining. Also I don't think you need to set or update too many properties at once.