Thanks a lot for this information Andy! This is very helpful! Martin ----- Original Message ----- From: AndyW To: [email protected] Sent: Sunday, August 19, 2012 9:20 PM Subject: Re: [APE Project] Re: Ape server running on different server possible?
Martin, Yes I have this running on my site. I have a load balanced system with 2 web servers, 1 load balancer and 1 ape server. You will have to test and use JSONP as some browsers don't like a different url, but I use the base url so its less of a problem. pretend my site name is www.mysite.com I would then call my ape server ape.mysite.com In the ape configs I set mysite.com as the base of the site. depending on what you are doing on your APE server will depend on what you have to code to get the data between the WWW and APE servers. I found APE to be a resource hog if I tried to access MySQL directly from the APE server. So what I'm using ape for I can get away with INLINEPUSH. When user1 sends a message to user2, Which ever web server user1 is connected to will do a PHP INLINEPUSH to user2 at the ape server. http://ape.mysite.com/inlinepush.php?to=user2&from=user1.... The APE server then sends the message to user2 client saying they have a new message. It works like a champ I do restart my APE servers nightly to free up any memory they didn't free, its less than 30 seconds of down time, I have less problems this way. /Andy On Sunday, August 19, 2012 1:59:13 AM UTC-7, Martin wrote: Now my questions: - Is this possible? - Has anyone done this and can verify that it works? - Does it has downsides (in speed for example?) Thanks in advance, Martin -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/ Geen virus gevonden in dit bericht. Gecontroleerd door AVG - www.avg.com Versie: 2012.0.2197 / Virusdatabase: 2437/5211 - datum van uitgifte: 08/20/12 -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
