Re: Question about deployment of math computing

Mithun Bhattacharya <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <CAHTPV9+RsR0LJ=8BXNRkb+0exuyQO_7StECVRYZYmb2PRBd-=w@mail.gmail.com>
Do you really need a webserver which is providing a blocking service ?

Assuming you are doing some sort of map reduce you would be better of
creating a job queue and placing requests into it. You would have a
separate consumer of the queue which could scale up or down depending upon
how long the job queue is.

On Tue, Aug 4, 2020 at 8:23 PM Wesley Peng <[email protected]> wrote:

> Hi
>
> We do math programming (so called machine learning today) in webserver.
> The response would be slow, generally it will take 100ms~500ms to finish
> a request.
> For this use case, shall we deploy the code within preforked modperl ,or
> event-driven server like dancer/starman?
> (we don't use DB like mysql or other slow IO storage server, all
> arguments were passed to webserver by HTTP POST from client).
>
> Thank you.
>
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.