The forum of the forums

Would you like to react to this message? Create an account in a few clicks or log in to continue.
The forum of the forums
+2
Eugeo Igvalt
RsS.YuGi
6 posters

    Chatbox 'consuming' internet.

    RsS.YuGi
    RsS.YuGi
    Forumember


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

    Solved Chatbox 'consuming' internet.

    Post by RsS.YuGi 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.
    Eugeo Igvalt
    Eugeo Igvalt
    Forumember


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

    Solved Re: Chatbox 'consuming' internet.

    Post by Eugeo Igvalt 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?
    RsS.YuGi
    RsS.YuGi
    Forumember


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

    Solved Re: Chatbox 'consuming' internet.

    Post by RsS.YuGi 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
    Derri
    Derri
    Helper
    Helper


    Male Posts : 8711
    Reputation : 638
    Language : English & Basic French
    Location : Scotland, United Kingdom

    Solved Re: Chatbox 'consuming' internet.

    Post by Derri 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.
    _Twisted_Mods_
    _Twisted_Mods_
    Helper
    Helper


    Male Posts : 2083
    Reputation : 336
    Language : English
    Location : Ms

    Solved Re: Chatbox 'consuming' internet.

    Post by _Twisted_Mods_ 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
    JScript
    JScript
    Forumember


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

    Solved Re: Chatbox 'consuming' internet.

    Post by JScript 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
    RsS.YuGi
    RsS.YuGi
    Forumember


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

    Solved Re: Chatbox 'consuming' internet.

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

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


    Male Posts : 10383
    Reputation : 1695
    Language : English and French
    Location : United Kingdom, England

    Solved Re: Chatbox 'consuming' internet.

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

    Solved => Archived

      Current date/time is September 23rd 2024, 7:16 am