Server move on 8th or 10th November

Read and comment on the latest community news and site updates.
Règles du forum

Re: Server move on 8th or 10th November 

Message par Meph » Lun Nov 28, 2011 9:51 pm

Unas a écrit :Well, if I say "rather expensive", it means that I'm paying it :-P

Sorry, I missed that bit. :P But that's good news. I haven't noticed any problems yet, so I think our problems are definitely over, now; touch wood.
Avatar de l’utilisateur
Meph
 
Message(s) : 13440
Inscription : Lun Nov 10, 2008 10:07 pm
Localisation : Probably Disneyland Paris... or the UK
Genre: Masculin
Langues parlées: English

Re: Server move on 8th or 10th November 

Message par Unas » Lun Nov 28, 2011 11:00 pm

Meph a écrit :I haven't noticed any problems yet, so I think our problems are definitely over, now; touch wood.

Well, the server worked for 9 day before the last crash, so I'd wait for a week or so before celebrating :-P
But it is running very well so far :wink:
ImageImageImage
If knowledge can create problems, it is not through ignorance that we can solve them.
Si le savoir peut créer des problèmes, ce n'est pas l'ignorance qui les résoudra. ( Isaac Asimov )
Avatar de l’utilisateur
Unas
Admin / Site programmer
 
Message(s) : 8773
Inscription : Mar Juil 10, 2007 4:43 pm
Genre: Masculin
Langues parlées: Français, English, Español

Re: Server move on 8th or 10th November 

Message par Broocevelt » Lun Nov 28, 2011 11:26 pm

Well the forums load a lot faster for me, almost instantly. I don't know if that's because of the update.

EDIT: I rectify. Not "almost" instantly. Instantly.
~Holhol is the bestest friend anybody could ask for~
Image

♫ Check my musics! ♫
Avatar de l’utilisateur
Broocevelt
Moderator
 
Message(s) : 7390
Inscription : Ven Sep 11, 2009 6:06 pm
Localisation : Spain
Genre: Masculin
Langues parlées: ES/FR/EN/DE

Re: Server move on 8th or 10th November 

Message par Unas » Lun Nov 28, 2011 11:36 pm

Danielinhoni a écrit :Well the forums load a lot faster for me, almost instantly. I don't know if that's because of the update.

Yes, it most likely is ;-)
Now that the server has much more memory than it needs, it uses the extra to cache the most used files from the hard drive. Since RAM accesses are much faster than disk accesses, the whole page loading process goes faster :-)
ImageImageImage
If knowledge can create problems, it is not through ignorance that we can solve them.
Si le savoir peut créer des problèmes, ce n'est pas l'ignorance qui les résoudra. ( Isaac Asimov )
Avatar de l’utilisateur
Unas
Admin / Site programmer
 
Message(s) : 8773
Inscription : Mar Juil 10, 2007 4:43 pm
Genre: Masculin
Langues parlées: Français, English, Español

Re: Server move on 8th or 10th November 

Message par Phantom » Jeu Déc 01, 2011 2:20 am

I woulda just used CloudFlare, :P
Phantom
 

Re: Server move on 8th or 10th November 

Message par Unas » Jeu Déc 01, 2011 2:50 am

Something like that might be useful, but unrelated in this case.
Cloudfare acts as a local cache for static files, like the music and pictures. Probably useful on something quite media-heavy like AAO, but that wouldn't have helped the current problem.

What was slowing down the server were running applications, here the web server, php interpreter and database, that execute dynamic pages.
Cloudfare cannot cache dynamic content - thankfully, because if it did, it would lead to inconsistent states for what users see around the world (people seeing different posts on the forums at the same time, etc.).


No, if I really wanted AAO to be a distributed application, I'd rewrite its server code in Java or Python and rely on the Google App Engine system - which really distributes the whole application over the world and takes care of ensuring database consistency.
But rewriting the whole site and forum code in Java is not part of my plans :-P
ImageImageImage
If knowledge can create problems, it is not through ignorance that we can solve them.
Si le savoir peut créer des problèmes, ce n'est pas l'ignorance qui les résoudra. ( Isaac Asimov )
Avatar de l’utilisateur
Unas
Admin / Site programmer
 
Message(s) : 8773
Inscription : Mar Juil 10, 2007 4:43 pm
Genre: Masculin
Langues parlées: Français, English, Español

Re: Server move on 8th or 10th November 

Message par henke37 » Jeu Déc 01, 2011 8:35 pm

Unas a écrit :I'm investigating at the moment.

As for the 404, it's actually not the worst thing : here, it just meant that I disabled the website for a while to go checking on the backend server configuration. At least, when you see a 404, it means the server behind is still running :-P


No, that's status 503, Service Unavailable. A 404 means that the url is bad or that the server doesn't want to tell you what the real error is.
Currently working on a redesign of Court-records.net.
Avatar de l’utilisateur
henke37
Security expert / tools programmer
 
Message(s) : 3031
Inscription : Mer Mars 04, 2009 9:42 pm
Localisation : Sweden
Genre: Masculin
Langues parlées: Swedish,English

Re: Server move on 8th or 10th November 

Message par Unas » Jeu Déc 01, 2011 11:20 pm

Henke, given that I configured the server, I think I'm pretty much qualified to know what it answers in which case :-P
Let's just say that if the server runs fine, but the document root is set to an empty directory instead of the one with AAO's files, then requests will return 404 ;-)
ImageImageImage
If knowledge can create problems, it is not through ignorance that we can solve them.
Si le savoir peut créer des problèmes, ce n'est pas l'ignorance qui les résoudra. ( Isaac Asimov )
Avatar de l’utilisateur
Unas
Admin / Site programmer
 
Message(s) : 8773
Inscription : Mar Juil 10, 2007 4:43 pm
Genre: Masculin
Langues parlées: Français, English, Español

Précédent

Retour vers News and Announcements

Qui est en ligne ?

Utilisateur(s) parcourant ce forum : Aucun utilisateur inscrit et 1 invité