The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Chatbox 'consuming' internet.

View previous topic View next topic Go down

Solved Chatbox 'consuming' internet.

Post by RsS.YuGi on February 23rd 2015, 1:44 am

Hello ForuMotion,

Some members on my forum with slow connection or limited connectivity told me that they're having a hard time using the chatbox since it keeps loading and 'eating' their internet data to the limit, making it hard for them to use and surf other websites while being on the chatbox.

RsS.YuGi
Forumember

Male Posts : 120
Reputation : 4
Language : English
Location : Palestine

http://resurrectionacademy.org

Back to top Go down

Solved Re: Chatbox 'consuming' internet.

Post by Eugeo Igvalt on February 23rd 2015, 1:56 am

On a cellphone the chatbox is indeed awful and slow while on a phone and my phone has 4G LTE most of the time because where I'm at the signal is good. However, the people complaining about the chatbox, is it on their phone or just a limited internet plan on their computer?

Eugeo Igvalt
Forumember

Male Posts : 287
Reputation : 17
Language : EN, SPA
Location : Puerto Rico

http://www.NewbForums.com

Back to top Go down

Solved Re: Chatbox 'consuming' internet.

Post by RsS.YuGi on February 23rd 2015, 2:55 am

Eugeo Ayano wrote:On a cellphone the chatbox is indeed awful and slow while on a phone and my phone has 4G LTE most of the time because where I'm at the signal is good. However, the people complaining about the chatbox, is it on their phone or just a limited internet plan on their computer?


Hello Eugeo, Thanks for replying.
As for your question, not via phone, normal users on a normal PC but with ... bad/awful/weak/low budget internet. Shocked

RsS.YuGi
Forumember

Male Posts : 120
Reputation : 4
Language : English
Location : Palestine

http://resurrectionacademy.org

Back to top Go down

Solved Re: Chatbox 'consuming' internet.

Post by Derri on February 23rd 2015, 2:58 am

Hi,

I believe the chatbox is like any real time messaging facility, it will consume a lot of data and slow internet users will feel sluggish because it does require a good connection as its all real time.


Forum Rules: :Forumotion Staff: :Appeal A Warning: :FAQ: :Tips & Tricks: :Forgotten Password/Login Issues
You need one post to send a PM
When your topic has been solved, ensure you mark the topic solved
Never post your email in public


Derri
Administrator
Administrator

Male Posts : 8385
Reputation : 576
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Solved Re: Chatbox 'consuming' internet.

Post by _Twisted_Mods_ on February 23rd 2015, 3:00 am

if they are not using the chat box have them log out or turn archives on to stop the refresh

_Twisted_Mods_
Helper
Helper

Male Posts : 2032
Reputation : 302
Language : English
Location : Ms

http://liquidcode.forumotion.com

Back to top Go down

Solved Re: Chatbox 'consuming' internet.

Post by JScript on February 23rd 2015, 3:20 am

@RsS.YuGi

I did several tests right now in a connection with the following speeds:

Incoming Transfer:
Bandwidth: ISDN 1b
Kbps: 128

Outgoing Transfer:
Bandwidth: ISDN 1b
Kbps: 56

As you can see, is a very slow connection, but even so the delay was completely acceptable!

There is only one request made by the following function: Chatbox.prototype.listen
And her return is something like this:
Code:

{
   "url": "http:\/\/f36.dnspro.org\/sub\/cb.366bc21",
   "lastModified": "Mon, 23 Feb 2015 02:02:33 GMT",
   "tag": "0"
}

In the previous version (chatbox7.js) the return of the messages was much higher because the included HTML messages, now in the new version (chatbox8.js) the return of chat messages is in JSON format, which greatly minimized the return!

See an example JSON content of a request in a chat:
Code:

{
   "users": [{
      "online": true,
      "id": "1",
      "username": "JScript",
      "admin": true,
      "userLevel": "1",
      "chatLevel": "2",
      "color": "#000099"
   }],
   "connected": true,
   "messages": [{
      "userId": "-10",
      "msg": "Messages cleared by JScript",
      "time": "1424656957",
      "username": "JScript",
      "action": "clear",
      "chat_level": null,
      "user_level": null,
      "user_allowavatar": null,
      "user_avatar_type": null,
      "user_avatar": null,
      "date": "22 Feb 2015",
      "datetime": "19:02:37 22\/02\/2015"
   }, {
      "userId": "1",
      "msg": "<span style=\"color: #333333\">Test 01<\/span>",
      "time": "1424656960",
      "username": "JScript",
      "action": "msg",
      "chat_level": "2",
      "user_level": "1",
      "user_allowavatar": "1",
      "user_avatar_type": "2",
      "user_avatar": "http:\/\/autoitbrasil.com\/forum\/uploads\/av-89.png",
      "date": "22 Feb 2015",
      "datetime": "19:02:40 22\/02\/2015",
      "user": {
         "color": "#000099",
         "admin": true,
         "avatar": "http:\/\/autoitbrasil.com\/forum\/uploads\/av-89.png"
      }
   }, {
      "userId": "1",
      "msg": "<span style=\"color: #333333\">Test 02 - JS<\/span>",
      "time": "1424656964",
      "username": "JScript",
      "action": "msg",
      "chat_level": "2",
      "user_level": "1",
      "user_allowavatar": "1",
      "user_avatar_type": "2",
      "user_avatar": "http:\/\/autoitbrasil.com\/forum\/uploads\/av-89.png",
      "date": "22 Feb 2015",
      "datetime": "19:02:44 22\/02\/2015",
      "user": {
         "color": "#000099",
         "admin": true,
         "avatar": "http:\/\/autoitbrasil.com\/forum\/uploads\/av-89.png"
      }
   }]
}
Note that only contains simple texts, nothing else!

I need more information with details,

JS

JScript
Forumember

Male Posts : 741
Reputation : 168
Language : PT-BR, EN
Location : Brazil

http://jscript.forumeiros.com/

Back to top Go down

Solved Re: Chatbox 'consuming' internet.

Post by RsS.YuGi on February 23rd 2015, 7:04 pm

Oh okay.
Thank you all for answering and replying.
This thread can be locked now =)

RsS.YuGi
Forumember

Male Posts : 120
Reputation : 4
Language : English
Location : Palestine

http://resurrectionacademy.org

Back to top Go down

Solved Re: Chatbox 'consuming' internet.

Post by Base on February 23rd 2015, 8:49 pm

Solved => Archived

Base
Forumaster

Male Posts : 10386
Reputation : 1687
Language : English and French
Location : United Kingdom, England

http://forumotionhub.net

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum