Projects tigase _server server-core Issues #282
SSL slow (#282)
Miguel Fuentes opened 1 decade ago

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.

wojciech.kapcia@tigase.net commented 8 years ago

(Tigase Server related)

Referenced from commit 1 year ago
#282 - S2S problems (connections locked in opening state)
git-svn-id: file:///home/svn/repos/tigase-server/trunk@2778 7d282ba1-3ae6-0310-8f9b-c9008a0864d2
andrzej.wojcik committed 1 decade ago
issue 1 of 1
Type
Bug
Priority
Blocker
Assignee
RedmineID
1716
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#282
Please wait...
Page is in error, reload to recover