I understand that apache would bottleneck the node.js and vice versa (Where 
applicable). What if I Loaded the main part of my site using LAMP with my php. 
I would then log in, load most of the files etc. Then, I would like my "news 
feed" like function to be its own node server. So it would be dynamically 
loaded in my php, by using an iframe? 

Would it be possible to take login credentials with php and then send 
information about the user to node for updating? My "newsfeed" section would be 
dynamic and ajax heavy and would be bottlenecked by the php at extremely high 
usage rates.




Jon Morehouse
Moeller High School Class of 2009
Pepperdine University 2009-2010
University of Southern California Class of 2013




On Jan 31, 2012, at 4:45 PM, Philipp Klose wrote:

> As long as you are not using socket.io you could use mod_proxy to use
> node.js behind Apache. But it is kind of pointless, because Apache more
> or less destroys all the advantages of node.js
> 
> Am 31.01.2012 23:34, schrieb USCTrojans:
>> Hello,
>> 
>> I'm fairly new to programming and working on a large project which is
>> currently using a lamp stack. I was just wondering if I could get some
>> thoughts on potentially using a combination of Apache and NodeJS to
>> deliver my site. From what I understand thus far, NodeJS is far
>> superior to apache for working with multiple threaded ajax requests,
>> the heart of my site. However, I would like to continue to use my php
>> framework for more sql based stuff that is not as ajax heavy, and also
>> to deliver my base "site". Would it be good/smart/efficient practice
>> to put them both behind a reverse proxy like NginX and then
>> essentially embed the NodeJS core into my php framework with an iframe
>> or something else? Would it be possible to pass variables like logged
>> in information between the two systems?
>> 
>> Thanks for any help, I'm excited to start working with NodeJS
>> 
> 
> -- 
> Job Board: http://jobs.nodejs.org/
> Posting guidelines: 
> https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
> You received this message because you are subscribed to the Google
> Groups "nodejs" 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/nodejs?hl=en?hl=en

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" 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/nodejs?hl=en?hl=en

Reply via email to