Best Practices
7. Performance Optimization an...
Wi-Fi Interference and Client Load
managing wi fi interference and client load when implementing ditto in mesh networks, especially in environments where stable and efficient performance is crucial, it's important to address potential challenges like wi fi interference and client load here are some best practices to help optimize your mesh network performance using ditto 1\ mitigating wi fi interference wi fi interference can degrade network performance, leading to slower data syncs and unreliable connections to address this leverage multiple connection types ditto supports various connection types including wi fi, bluetooth low energy (ble), and lan by enabling these multiple transports, ditto can dynamically switch to the best performing connection available, reducing the impact of interference environmental considerations be aware of physical obstructions and radio frequency congestion, which can affect wi fi performance strategically place network devices to minimize these issues and ensure stronger signal strength 2\ managing client load and network congestion in larger mesh networks, managing client load is crucial to maintaining efficient performance ditto provides several strategies to handle this enable ip multicasting for lan environments, enabling ip multicasting can improve peer discovery and reduce the load on individual devices by allowing more efficient data distribution across the network manage data size and query complexity large document syncs and verbose logging can slow down the network it's important to manage the size of the data being synced and optimize queries to limit the amount of data processed at any given time this can be done by evicting irrelevant data periodically and ensuring that only necessary data is queried for more information, see docid 7ssm36kywc1slxvpd2cjq 3\ optimizing for high load environments in environments with a high density of devices and data traffic, additional optimizations may be necessary limit active connections while it's important to maintain a dense enough mesh to prevent islanding, too many connections can lead to congestion strategically limit the number of active connections to balance the load effectively avoid verbose logging verbose logging, especially with large datasets, can significantly slow down the synchronization process ensure that logging is kept to a necessary minimum during high load times to prevent this for additional information, see https //docs ditto live/support/troubleshooting and https //docs ditto live/v4 7/sync/transports overview