Jump to content



Photo

New frontend nginx servers online

neowin

  • Please log in to reply
12 replies to this topic

#1 Steven P.

Steven P.

    aka Neobond

  • 30,609 posts
  • Joined: 09-July 01
  • Location: Neowin HQ

Posted 25 July 2013 - 06:55

Early this morning the new frontend servers were brought online. We replaced all three Apache servers with new hardware using nginx, as well as the latest PHP :)

 

I'm also pleased to announce that we have also purchased a SSL certificate that will allow https logins here on Neowin (not completed yet).

 

This means that all of the upgrades are nearing completion

 

Done so far:

  • New db server, and SSD's in production 
  • Three new nginx servers, replacing the three Apache servers

To do:

  • Two SATA harddrives need installing in the db server
  • HTTPS logins (certificate already purchased)

Enjoy :)




#2 Marshall

Marshall

    ▇ ▂ ▃ ▁ ▁ ▅

  • 12,606 posts
  • Joined: 22-June 03
  • Location: USA

Posted 25 July 2013 - 06:57

Awesome! Things seem to be spinning like a top.  f3NQHE5.png



#3 Roger H.

Roger H.

    Neowinian Senior

  • 12,837 posts
  • Joined: 18-August 01
  • Location: Germany
  • OS: Windows 8.1
  • Phone: Nexus 5

Posted 25 July 2013 - 07:47

Is that's why the Spy isn't working? Keep getting Nginx gateway timeout errors?



#4 OP Steven P.

Steven P.

    aka Neobond

  • 30,609 posts
  • Joined: 09-July 01
  • Location: Neowin HQ

Posted 25 July 2013 - 07:50

Yep, I see quoting doesn't work either. Alerted devs to it.

 

Edit nm I couldn't quote Shottas post for some reason, I can quote others though :s



#5 neohelp

neohelp

    Neowinian

  • 152 posts
  • Joined: 18-June 13

Posted 25 July 2013 - 08:10

Just to be curious, why the switch between Apache to nginx?



#6 Nick H.

Nick H.

    Neowinian Senior

  • 11,462 posts
  • Joined: 28-June 04
  • Location: Switzerland

Posted 25 July 2013 - 09:33

I should really learn to check the announcements before sounding off in the staff chat. :pinch:

Great news about the servers. I know it's a long shot, but is there any kind of timeframe for when we're 100% online again?

#7 +Nik L

Nik L

    Where's my pants?

  • 34,083 posts
  • Joined: 14-January 03

Posted 25 July 2013 - 09:45

HTTPS logins

 

+1 Likes for you :)



#8 TheGhostWalker

TheGhostWalker

    Neowinian

  • 205 posts
  • Joined: 04-February 10
  • OS: Windows 7 x64 Ultimate & Fedora 19

Posted 25 July 2013 - 09:50

Just to be curious, why the switch between Apache to nginx?

 

One of the advantages is that nginx uses much less resources on the server than Apache.

And the other reason is that they probably let Apache handle the php-side, and Nginx the static content side. (Images/JS/css)



#9 DaveLegg

DaveLegg

    Coderator at heart

  • 7,660 posts
  • Joined: 31-October 04
  • Location: Oxford, UK

Posted 25 July 2013 - 10:39

Just to be curious, why the switch between Apache to nginx?

nginx is lighter than Apache, so will stand up to heavy traffic better. From testing, it's also quicker to connect and respond to requests. We're actually not using Apache behind nginx for handing the php, php requests get passed straight to php-fpm from nginx.

 

Once everything is finished, I'll probably write up a post about our new architecture. We have a few new toys on the backend that will make life easier for us moving forward.



#10 Roger H.

Roger H.

    Neowinian Senior

  • 12,837 posts
  • Joined: 18-August 01
  • Location: Germany
  • OS: Windows 8.1
  • Phone: Nexus 5

Posted 25 July 2013 - 12:10

Did a full CTRL+F5 and quotes work now, wasn't working before that :p

 

Spy still offline for now though :no:



#11 Geoffrey B.

Geoffrey B.

    LittleNeutrino

  • 15,969 posts
  • Joined: 25-July 05
  • Location: Ohio
  • OS: Windows 8.1u1
  • Phone: Nokia Lumia 928 WP8.1

Posted 25 July 2013 - 12:25

Excellent upgrade, now onward to the new theme we keep hearing nothing about.



#12 SuperKid

SuperKid

    Im no superman

  • 2,513 posts
  • Joined: 21-April 08
  • Location: Birmingham, England, UK
  • OS: OS X 10.8, iOS 7
  • Phone: iPhone 4S

Posted 27 July 2013 - 13:40

nginx is lighter than Apache, so will stand up to heavy traffic better. From testing, it's also quicker to connect and respond to requests. We're actually not using Apache behind nginx for handing the php, php requests get passed straight to php-fpm from nginx.

 

Once everything is finished, I'll probably write up a post about our new architecture. We have a few new toys on the backend that will make life easier for us moving forward.

 

When I mentioned nginx on this site a while ago you guys were like nah Apache is fine. You can really tell you're using nginx now I mean look how fast the pages are loading now its a massive difference!



#13 OP Steven P.

Steven P.

    aka Neobond

  • 30,609 posts
  • Joined: 09-July 01
  • Location: Neowin HQ

Posted 05 August 2013 - 10:34

I agree the page load speeds are impressive! There's a lot of other things that contribute to that as well though, not just nginx :p