nginx reverse proxy on separate vps
My thinking: I'm deploying what I would like to be a scalable, high-availability web app. If I have to take the main server down for maintenance/move/whatever, or if it goes down on its own, I can display a friendly "check back later" message to users instead of their connection timing out. Also, if I had to set up load balancing down the line this would make it easier.
I would get 2 linodes in the same datacenter, and use the private IP feature for traffic between them. My only concern is, would shuttling the requests between two VPS's incur a performance penalty? Any thoughts?
I'd probably be running nginx on both nodes, if it matters.
2 Replies
Pings:
0.436ms: Public
0.273ms: Private
0.043ms: Localhost
Do your applications work well with clustering? If you setup two identical Linodes in the same DC and buy a third IP, you could map your DNS to the third IP, and then bring it up on whichever VPS you want (so you can move the IP before maintenance).