Hi. We are testing tigase with Asmack client. With SSL over 3g the connection take 6 seconds to set connection and login. Without SSL, its takes one. It's normal this delay? Thanks
Artur Hefczyc commented 1 decade ago
I do not think this is a server related issue. For a standard, desktop client SSL initialization takes below one second, so for sure Tigase is able to do it very quickly. Of course the exact time depends on the HW used for the server and a load on the server. 1 second without SSL seems like a long time as well.
Bartek: could you please tell us how long it takes for our Android Messenger over mobile network? Could you also measure and compare login time over mobile network and over a standard internet connection (from an Android simulator?
Such a long time can be caused by different factors - slow hardware on the client side (slow Android device) as SSL initialization needs more calculation, especially for big keys. Another factor can be a mobile network. It adds delays and SSL initialization requires more roundtrips which obviously increase overall time. However, I am not sure if it can extend it that much.
Andrzej, Wojciech, if you have any experience and more information on this, please add your comments.
Andrzej Wójcik (Tigase) commented 1 decade ago
3G connections may have good download and upload speed but as for establishing SSL connection we need to send and receive data mutiple times - few additional round trips, while 3G connection is not good at sending small amount of data and waiting for response - long time until we get response. You can check it using ping from mobile device. I've even seen ping over 1800ms on 3G connection.
Hi. We are testing tigase with Asmack client. With SSL over 3g the connection take 6 seconds to set connection and login. Without SSL, its takes one. It's normal this delay? Thanks