>To complete the fault tolerance system, we have another Amazon instance that >is running another copy of 4D Server as a mirror. Production 4D Server sends >log files to Mirror 4D Server every 10 minutes. If Production 4D Server goes >down, we can switch to Mirror 4D Server and have the 4D Clients connect to >that.
Tim, is this an automatic failover or do you have to down the clients and make a quick config change or relaunch with a different 4DLink file? Tom Benedict > On Jan 28, 2020, at 13:38, Tim Nevels via 4D_Tech <4d_tech@lists.4d.com> > wrote: > > On Jan 28, 2020, at 3:22 PM, Stephen J. Orth <s.o...@the-aquila-group.com> > wrote: > >> I've always wondered, when people recommend using 4D Client as a web server, >> how you go about load balancing. It's one thing if your user base is small, >> however when you have 50-100 users, you cannot send them all to one 4D >> Client web server. >> >> So, what is the solution for balancing multiple 4D Client web servers? > > > Hi Steve, > > We run 4D instances on Amazon and use it’s load balancing features. I didn’t > set it up, but we have 2 copies of 4D running that respond to web requests. > Amazon decides which machine to send the web requests to. > > In addition to load balancing you get fault tolerance too. If one 4D crashes > or goes deaf to web requests, the other 4D instance is still there. We have a > process that runs on 4D Server that pings the 4D Client web servers every 2 > minutes to notify us if one goes down. > > To complete the fault tolerance system, we have another Amazon instance that > is running another copy of 4D Server as a mirror. Production 4D Server sends > log files to Mirror 4D Server every 10 minutes. If Production 4D Server goes > down, we can switch to Mirror 4D Server and have the 4D Clients connect to > that. > > So a basic system consists of 4 Amazon instances: Production 4D Server > machine, Mirror 4D Server machine, 4D Client Web Server 1 and 4D Client Web > Server 2. > > You max out the 2 4D Client web server instances, just add more instances. > You max out Production 4D Server, reconfigure the instance with more CPU and > resources. > > Tim > ********************************************************************** 4D Internet Users Group (4D iNUG) Archive: http://lists.4d.com/archives.html Options: https://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************