socketio / socket.io-client-swift

Other
5.22k stars 843 forks source link

Connection Speed Discrepancy Between iOS and Android Libraries #1442

Open viniciusvieir opened 1 year ago

viniciusvieir commented 1 year ago

I have been utilizing this library alongside the Socket.IO-client Java library for Android applications. I have recently noticed that the iOS library exhibits a slower connection speed to the server compared to its Android counterpart for the same operations and under the same configurations, particularly during the initial connection process. The performance difference amounts to approximately one second. Once the connection is established, however, the performance is satisfactory and similar to the Android version.

I am curious to understand the underlying cause of this difference in connection speed between the two libraries. Are there any known issues or technical limitations that could be contributing to this discrepancy? Additionally, I would appreciate any guidance or suggestions on optimizing the connection speed for the iOS library to match the performance of the Android version.

Thank you for your time and consideration.