EXPERIMENT IN PROGRESS!

Discussion in 'Site Discussions & Suggestions' started by Costello, Oct 22, 2011.

Oct 22, 2011

EXPERIMENT IN PROGRESS! by Costello at 4:58 AM (2,655 Views / 2 Likes) 44 replies

  1. Costello
    OP

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,031
    EXPERIMENT IN PROGRESS! READ THIS CAREFULLY

    In order to speed up the website, I have ordered a new high-end server that will come in addition to the existing 2.
    The 3 servers work in cooperation and exchange data constantly.

    Since I have only started configuring the server today, synchronization between the servers may not work on many levels.
    For example:
    1) You are using server #1. You just posted a shout in the shoutbox.
    2) Everyone that's using server #1 can see your shout
    3) Everyone that's using server #2 cannot see the shout because it was posted on server 1 (and synchronization is not in place)

    SAME FOR AVATARS/PHOTOS!
    1) You are using server #1. You just uploaded your photo.
    2) Your photo is uploaded to server #1, but is not present on server #2.
    3) Everyone that's using server #2 cannot see your photo.
    Fixed

    HOMEPAGE/PORTAL
    ... is being worked on to optimize the loading speeds.
    I have applied a few fixes that should improve the overall loading time.
    OK

    ---------

    Problems remain with:
    - shoutbox
    - caching in different places
    - [...]

    ---------
    Who decides who gets to use server #1 or #2 ? it's just based on your IP address.

    IF this experiment is successful and it speeds up the site as much as I expect, we will keep this configuration and we will work on optimizing synchronization between the servers. In the meantime we need feedback regarding the site speed.
     
    2 people like this.


  2. Nujui

    Member Nujui I need something to do.

    Joined:
    Aug 12, 2010
    Messages:
    3,933
    Location:
    Dreamland.
    Country:
    United States
    I'm noticing a little speed difference. It still takes awhile for somethings to load though, like this thread, took a whole minute to load :P.


    EDIT: Posting seems to be a bit slow as well on my end.
     
  3. nintendoom

    Member nintendoom Nintendoom

    Joined:
    Sep 12, 2009
    Messages:
    1,101
    Location:
    Viridian City
    Country:
    Antarctica
    does that mean when the synchronization is done, we can now see what's in the other server?
     
  4. CarbonX13

    Member CarbonX13 GBAtemp 台灣人

    Joined:
    Aug 27, 2010
    Messages:
    1,399
    Location:
    Vancouver, B.C.
    Country:
    Taiwan
    The site loading seems to have improved since the downtime earlier today, but posting is still quite slow on some occasions.
     
  5. Costello
    OP

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,031
    posting is slow by definition because it has to refresh all the caches.
    caching is what makes browsing faster, because the site doesn't need to request the same info every time (since the content is the same)
    but when you make a post, the cache needs to be refreshed, so that people can see the new content.
    so yes, posting is and probably will remain a bit slow.
     
  6. Nujui

    Member Nujui I need something to do.

    Joined:
    Aug 12, 2010
    Messages:
    3,933
    Location:
    Dreamland.
    Country:
    United States
    Ah, alright.

    Looks like the changed happened I'm guessing (A bunch of code appeared on the front page for a couple of seconds), big speed difference.
     
  7. Costello
    OP

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,031
    for me the site has become much faster, even though I live extremely far from the server (I live in china and the site is hosted in France).
    so at least for me the experiment is successful :P it used to be slow as hell to a point i couldnt even visit.
    i'm hoping the same is happening for other people, though there's no way to be sure.
     
  8. Nujui

    Member Nujui I need something to do.

    Joined:
    Aug 12, 2010
    Messages:
    3,933
    Location:
    Dreamland.
    Country:
    United States
    Things are doing better on my end as well, so the experiment is a success for me :D'
     
  9. Thesolcity

    Member Thesolcity Wherever the light shines, it casts a shadow.

    Joined:
    Oct 2, 2010
    Messages:
    2,146
    Location:
    San Miguel
    Country:
    United States
    Quick as ever CA. :yay:
     
  10. Zetta_x

    Member Zetta_x The Insane Statistician

    Joined:
    Mar 4, 2010
    Messages:
    1,844
    Country:
    United States
    Thanks for keeping us updated and creating a great environment for discussions
     
    1 person likes this.
  11. giantpune

    Member giantpune GBAtemp Addict

    Joined:
    Apr 10, 2009
    Messages:
    2,860
    Country:
    United States
    just a thought, but if you are experimentating, then i assume you want some sort of feedback and user reports. it would make sense to have a page to go to that will say "you are using server #2" wouldnt it?
     
  12. person66

    Member person66 If it isn't edited, it isn't a true person66 post

    Joined:
    Jun 16, 2009
    Messages:
    1,110
    Location:
    Canada
    Country:
    Canada
    Seems a bit faster here in Canada, but then again, even before the update, I never had to wait more than five or six seconds for a page to load.

    Posting seems a but faster now for me too

    EDIT: actually, it seems quite a bit faster now, pages are only taking one to two seconds for me :lol:
     
  13. Costello
    OP

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,031
    UPDATE:
    avatar upload should work now (synchronizing properly). this remark is valid for avatars uploaded from now on upwards.

    still possibly causing problems:
    - any other file upload
    - gallery
    - shoutbox
    - caching

    if you really want to know what server you're on I guess I could leave a clue somewhere on the page so that people could tell.
     
  14. how_do_i_do_that

    Member how_do_i_do_that Blue Wizard is about to die.

    Joined:
    May 16, 2008
    Messages:
    4,811
    Country:
    Antarctica
    keep all guests on server 2. that way they don't need to see avatars, sigs, etc. That way most of the load of guests is mostly to just viewing just the content.

    when you log in, your on server 1.


    if it is not practical, nm then.
     
  15. Sicklyboy

    Global Moderator Sicklyboy Resident Mechanical Keyboard Addict

    Joined:
    Jul 15, 2009
    Messages:
    5,620
    Location:
    [̲̅$̲̅(̲̅ ͡° ͜ʖ ͡°̲̅)̲̅$̲̅]
    Country:
    United States
    Loading the front page took a little while. Loading each topic seemed to work fine.

    Edit - Posted fast as hell from quick reply! Brought up the quick edit box super fast too.

    Edit 2 - slight delay loading the full edit page, but the initial quick edit committed extremely fast as well. I like what you did, Costello!
     
  16. sputnix

    Member sputnix GBAtemp Fan

    Joined:
    Jul 9, 2009
    Messages:
    369
    Country:
    Bangladesh
    I honestly never really noticed a drop in speed though things seem relativity fast on my end
     
  17. Thesolcity

    Member Thesolcity Wherever the light shines, it casts a shadow.

    Joined:
    Oct 2, 2010
    Messages:
    2,146
    Location:
    San Miguel
    Country:
    United States
    Editing is SUUUUUPER slow.
     
  18. Costello
    OP

    Administrator Costello Headmaster

    Joined:
    Oct 24, 2002
    Messages:
    12,031
    you must have been unlucky because it's instant for me now. try again?
     
  19. Thesolcity

    Member Thesolcity Wherever the light shines, it casts a shadow.

    Joined:
    Oct 2, 2010
    Messages:
    2,146
    Location:
    San Miguel
    Country:
    United States
    Now I have a debug list at the end of the page. :wtf:

    EDIT: Testing, that long debug list is still there. :P
     
  20. DrOctapu

    Member DrOctapu Magnificent Bastard

    Joined:
    Dec 23, 2008
    Messages:
    1,207
    Location:
    Hell.
    Country:
    United States
    This. It works great. I can like posts without waiting now!
     

Share This Page