On Sun, Jul 3, 2016 at 5:13 AM, Amos Shapira wrote:
> Yes I know it's possible to fork multiple processes with one thread in
> each and all that jazz.
>
> I'm asking in the context of Erez' response - if he runs single-threaded
> code on a multiprocessor hardware, how would he take advantage of m
Yes I know it's possible to fork multiple processes with one thread in each
and all that jazz.
I'm asking in the context of Erez' response - if he runs single-threaded
code on a multiprocessor hardware, how would he take advantage of more than
one processor core?
On 3 July 2016 at 08:35, Steve L
On Sun, 3 Jul 2016 07:13:13 +1000
Amos Shapira wrote:
> Thanks for the explanation. I like this.
> How would a single-threaded process take advantage of muti- CPU?
Threads is just one method of multiprocessing. IIRC, back in the day
Apache multiprocessed by forking a new process for every HTTP
c
On Sat, 2 Jul 2016 10:49:35 +0300
Erez D wrote:
> but node.js requires code in js. and i am more of a c++ guy
> (and of course c++ is more efficient than js)
Not just any Javascript, but Javascript with gratuitous callbacks, in
order that nothing blocks anything else. After programming for a f
Thanks for the explanation. I like this.
How would a single-threaded process take advantage of muti- CPU?
On 2 Jul 2016 5:49 PM, "Erez D" wrote:
> doing some research on servers i found out that i can handle more
> connections simultaneously as single threaded.
> on thread per connection i have a
you didn't say you needed dynamic content - your example "code" seemed
to focus on serving static content.
try to be more specific about what you need
--guy
On 07/02/2016 06:41 PM, Erez D wrote:
On Sat, Jul 2, 2016 at 2:00 PM, guy keren mailto:guy.choo.ke...@gmail.com>> wrote:
https
On Sat, Jul 2, 2016 at 2:00 PM, guy keren wrote:
>
> https://en.wikipedia.org/wiki/Thttpd
dont know if it fits my requierments but last version dated 2014
>
>
> and
>
> https://www.lighttpd.net/
uses fastcgi. fastcgi is multithreaded.
>
>
> both existed before anyone used javascript on server
https://en.wikipedia.org/wiki/Thttpd
and
https://www.lighttpd.net/
both existed before anyone used javascript on server side, as far as i know
(and they are written in C, not C++)
--guy
On 07/02/2016 10:49 AM, Erez D wrote:
doing some research on servers i found out that i can handle more
doing some research on servers i found out that i can handle more
connections simultaneously as single threaded.
on thread per connection i have a huge overhead, just think of the default
2MB stack per connection - 1000 connections is 2GB ram just for stack.
however as single threaded, i can server
I'm curious - what's the background of this question? What's the original
goal that led you to ask this?
On 28 June 2016 at 18:04, Erez D wrote:
> i tried searching the web but got no result
>
> what web servers other than node.js are single threaded ?
> anyone has experience with one ?
> is the
On יום שלישי, 28 ביוני 2016 11:04:49 IDT Erez D wrote:
> i tried searching the web but got no result
>
> what web servers other than node.js are single threaded ?
lighttpd.
> anyone has experience with one ?
Used it in old embedded product.
> is there one in which the cgi is in c++ ?
By defin
On Tuesday 28 June 2016 11:04:49 Erez D wrote:
> i tried searching the web but got no result
>
> what web servers other than node.js are single threaded ?
> anyone has experience with one ?
> is there one in which the cgi is in c++ ?
for the the joy of serving HTML+JS via sprintfs :)
I can sugge
if anybody is interested, i found nghttp2 (
https://nghttp2.org/documentation/libnghttp2_asio.html ).
On Tue, Jun 28, 2016 at 11:04 AM, Erez D wrote:
> i tried searching the web but got no result
>
> what web servers other than node.js are single threaded ?
> anyone has experience with one ?
> i
On Tue, Jun 28, 2016 at 4:39 PM, Baruch Siach wrote:
> Hi Erez,
>
> On Tue, Jun 28, 2016 at 11:04:49AM +0300, Erez D wrote:
> > i tried searching the web but got no result
> >
> > what web servers other than node.js are single threaded ?
>
> nginx uses one single threaded process per CPU core to
Hi Erez,
On Tue, Jun 28, 2016 at 11:04:49AM +0300, Erez D wrote:
> i tried searching the web but got no result
>
> what web servers other than node.js are single threaded ?
nginx uses one single threaded process per CPU core to handle HTTP requests
(https://www.nginx.com/blog/inside-nginx-how-w
i tried searching the web but got no result
what web servers other than node.js are single threaded ?
anyone has experience with one ?
is there one in which the cgi is in c++ ?
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il
16 matches
Mail list logo