Node.js is far better than Apache, ok Apache and other web-servers are a bit easier to implement a web-server out of the box, but node.js is so much faster and using the same language on the server and client makes life easier. It's worth sticking with node.js.
On Monday, 9 June 2014 03:05:59 UTC+1, William Hermans wrote: > > And, I bet Node.js will "smoke" them both. Which still has nothing to do > with the OP's question. > > > On Sun, Jun 8, 2014 at 6:46 PM, liyaoshi <[email protected] <javascript:>> > wrote: > >> Use Default Apache Benchmark within Ubuntu 12.04 on PC >> >> See attatch test log file >> >> In static page case , Apache never wins,as I know >> >> >> 2014-06-09 7:23 GMT+08:00 John Syn <[email protected] <javascript:>>: >> >>> >>> From: William Hermans <[email protected] <javascript:>> >>> Reply-To: <[email protected] <javascript:>> >>> Date: Saturday, June 7, 2014 at 8:37 AM >>> To: <[email protected] <javascript:>> >>> Subject: Re: [beagleboard] BeagleBone Black web server >>> >>> *Apache on arm is not a too good option try lighthttpd ?* >>> >>> I haven’t used Apache much, but my understanding is that Apache uses a >>> thread per connection which sucks up resources pretty quickly and doesn’t >>> scale very well. This is the reason why Node.js is preferred because it is >>> single threaded and uses asynchronous I/O so it scales so much better. >>> Given the limited resources on the BBB, Node.js is able to support >100x >>> connections compared to Apache. I don’t know much about Lighthttpd. >>> >>> Regards, >>> John >>> >>> >>> >>> Really ? Care to enlighten us as to why Apache on ARM is no good ? >>> >>> >>> On Sat, Jun 7, 2014 at 5:19 AM, Don deJuan <[email protected] >>> <javascript:>> wrote: >>> >>>> darkhttpd and nginx are also good alternatives as well as a few >>>> others. >>>> >>>> On 06/07/2014 04:19 AM, Li926744 wrote: >>>> >>>> Apache on arm is not a too good option try lighthttpd ? >>>> >>>> Michael Thompson <[email protected]> <javascript:>编写: >>>> >>>> I flashed Debian to the eMMC and it seems to be working fine. My plan >>>> is to host a small web page using Apache. I installed Apache and using the >>>> IP address the BeagleBone 101 loads fine from outside my network. >>>> >>>> So, my question is, in what directory do I save my index.html file in >>>> order to see it as the default page served by Apache? There are no files >>>> in >>>> the /var/www/ directory so I am confused. On my Linux Mint (Debian >>>> edition) >>>> all I had to do was save my index file in the www directory. >>>> >>>> Anyone know where I am going wrong? >>>> >>>> Thanks!! >>>> -- >>>> For more options, visit http://beagleboard.org/discuss >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "BeagleBoard" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected] <javascript:>. >>>> For more options, visit https://groups.google.com/d/optout. >>>> -- >>>> For more options, visit http://beagleboard.org/discuss >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "BeagleBoard" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected] <javascript:>. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>>> >>>> -- >>>> For more options, visit http://beagleboard.org/discuss >>>> --- >>>> You received this message because you are subscribed to the Google >>>> Groups "BeagleBoard" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected] <javascript:>. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >>> -- >>> For more options, visit http://beagleboard.org/discuss >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "BeagleBoard" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected] <javascript:>. >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
