EXPERIMENT IN PROGRESS!

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

  1. Costello
    OP

    Costello Headmaster

    Administrator
    12,393
    5,640
    Oct 24, 2002
    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

    Nujui I need something to do.

    Member
    3,933
    131
    Aug 12, 2010
    United States
    Dreamland.
    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

    nintendoom Nintendoom

    Member
    1,114
    28
    Sep 12, 2009
    Viridian City
    does that mean when the synchronization is done, we can now see what's in the other server?
     
  4. CarbonX13

    CarbonX13 GBAtemp 台灣人

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

    Costello Headmaster

    Administrator
    12,393
    5,640
    Oct 24, 2002
    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

    Nujui I need something to do.

    Member
    3,933
    131
    Aug 12, 2010
    United States
    Dreamland.
    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

    Costello Headmaster

    Administrator
    12,393
    5,640
    Oct 24, 2002
    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

    Nujui I need something to do.

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

    Thesolcity Wherever the light shines, it casts a shadow.

    Member
    2,159
    597
    Oct 2, 2010
    United States
    San Miguel
    Quick as ever CA. :yay:
     
  10. Zetta_x

    Zetta_x The Insane Statistician

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

    giantpune GBAtemp Addict

    Member
    2,860
    122
    Apr 10, 2009
    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

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

    Member
    1,110
    84
    Jun 16, 2009
    Canada
    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

    Costello Headmaster

    Administrator
    12,393
    5,640
    Oct 24, 2002
    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

    how_do_i_do_that Blue Wizard is about to die.

    Member
    4,919
    256
    May 16, 2008
    Antarctica
    You have insufficient posts to view location.
    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

    Sicklyboy Resident Mechanical Keyboard Addict

    Global Moderator
    5,713
    4,674
    Jul 15, 2009
    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

    sputnix GBAtemp Fan

    Member
    369
    36
    Jul 9, 2009
    Bulgaria
    I honestly never really noticed a drop in speed though things seem relativity fast on my end
     
  17. Thesolcity

    Thesolcity Wherever the light shines, it casts a shadow.

    Member
    2,159
    597
    Oct 2, 2010
    United States
    San Miguel
    Editing is SUUUUUPER slow.
     
  18. Costello
    OP

    Costello Headmaster

    Administrator
    12,393
    5,640
    Oct 24, 2002
    you must have been unlucky because it's instant for me now. try again?
     
  19. Thesolcity

    Thesolcity Wherever the light shines, it casts a shadow.

    Member
    2,159
    597
    Oct 2, 2010
    United States
    San Miguel
    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

    DrOctapu Magnificent Bastard

    Member
    1,207
    300
    Dec 23, 2008
    United States
    Hell.
    This. It works great. I can like posts without waiting now!