Re: singlethreaded or multithreaded

"Beatrice Tamburrino" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi Alejandro,

The webserver should be part of a big software engine which my company develops. we also use the apache server but for incoming traffic, we need a custom build one for overviewing the requests.

anyway, its not a big deal to write a webserver, but I'm really interested on how the output-requests are done?

maybe you have an idea?
-------- Original-Nachricht --------
> Datum: Wed, 6 May 2009 17:41:15 +0200
> Von: Alejandro Guerrieri <[email protected]>
> An: Beatrice Tamburrino <[email protected]>
> CC: Andreas Fink <[email protected]>, [email protected]
> Betreff: Re: singlethreaded or multithreaded

> Beatrice,
> 
> May I ask why are you going to develop a custom web server instead of  
> using any of the well-proven open source alternatives already available?
> 
> Regards,
> --
> Alejandro Guerrieri
> [email protected]
> 
> 
> 
> On 06/05/2009, at 17:28, Beatrice Tamburrino wrote:
> 
> > thx!
> >
> > I probably will do it multithreaded.. any idea where to find the  
> > sending process in the source code?
> >
> >
> > -------- Original-Nachricht --------
> >> Datum: Wed, 6 May 2009 17:15:49 +0200
> >> Von: Andreas Fink <[email protected]>
> >> An: Beatrice Tamburrino <[email protected]>
> >> CC: devel Devel <[email protected]>
> >> Betreff: Re: singlethreaded or multithreaded
> >
> >> I think you should for sure be able to accept multiple simultaneous
> >> incoming connections as its in the nature of a webserver. If you
> >> process them sequentially or more than one in parallel is then a
> >> performance issue. Kannel for sure doesnt stop working until it got
> >> the answer from the webserver as its written asynchronously. So it  
> >> can
> >> have multiple parallel requests to multiple servers (this happens
> >> especially during WAP use). I'm not 100% sure how it handles requests
> >> to the same server as there it can keep a connection open and reuse  
> >> it
> >> (HTTP Keepalive) but it for sure would not hurt your software to be
> >> able to handle a few requests in parallel as it would give you speed.
> >>
> >> On 06.05.2009, at 16:30, Beatrice Tamburrino wrote:
> >>
> >>> Hi,
> >>>
> >>> I am writing a little webserver for an extern application, this
> >>> webserver should handle the incoming http request which kannel calls
> >>> with the dlr-url given.
> >>>
> >>> Now, the question is, if kannel forwards the http request
> >>> sequentiel, i won't need to take care of the multithreaded stuff..
> >>>
> >>> well, I took a look at the source code but i wasn't able to find
> >>> something..
> >>>
> >>> -------- Original-Nachricht --------
> >>>> Datum: Wed, 6 May 2009 16:23:54 +0200
> >>>> Von: Andreas Fink <[email protected]>
> >>>> An: Beatrice Tamburrino <[email protected]>
> >>>> CC: devel Devel <[email protected]>
> >>>> Betreff: Re: singlethreaded or multithreaded
> >>>
> >>>> What do you mean by DLR request?
> >>>> Kannel asks the SMSC to report back. The SMSC will report whenever
> >>>> something is happening and kannel forwards it to http.
> >>>>
> >>>> On 06.05.2009, at 16:18, Beatrice Tamburrino wrote:
> >>>>
> >>>>> hi,
> >>>>>
> >>>>> how does kannel send the dlr-requests? sequentiell? or pararell
> >>>>> multithreaded??
> >>>>>
> >>>>> xox
> >>>>>
> >>>>> bea
> >>>>> -- 
> >>>>> Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit
> >>>>> allen: http://www.gmx.net/de/go/multimessenger01
> >>>>>
> >>>>
> >>>
> >>> -- 
> >>> Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate +
> >>> Telefonanschluss für nur 17,95 Euro/mtl.!*
> >> http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
> >>
> >
> > -- 
> > Neu: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate +  
> > Telefonanschluss für nur 17,95 Euro/mtl.!*
> http://dslspecial.gmx.de/freedsl-surfflat/?ac=OM.AD.PD003K11308T4569a
> >

-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.