---
title: 6. Deployment
slug: best-practices/6-deployment
docTags: 
createdAt: 2024-09-10T17:23:46.682Z
---

When deploying an app that uses Ditto for real-time, peer-to-peer data sync, it’s essential to ensure that platform-specific configurations and optimizations are in place for a smooth launch. This section guides you through preparing your app for production deployment across iOS, Android, and Web platforms.

[Prioritizing Bluetooth Connections in High-Density Mesh Networks](docId\:EZgYJhCBltTG9Dd5lnE1P)&#x20;

Ensure stable Bluetooth connections to critical devices like payment readers in a mesh network by using custom logic on iOS and monitoring with Ditto Presence. Proactively manage connections in high-traffic environments to avoid disconnections.

[Network Deployment](docId\:RF1HdeSKtrZcuyvWsl8Ea)&#x20;

Configure Ditto LAN for peer discovery using mDNS and DNS-SD. This guide covers optimizing peer-to-peer Wi-Fi transports like AWDL and WiFi Aware, along with network performance and troubleshooting tips.
