perl.ai...Re: Yaswi question by Salvador "Fandio"- September 29, 2005 --- Steffen Schwigon <schwigonwebit.de> wrote:> Hi!> > I&39;m about to intermix a Perl web application with SWI-Prolog.> Currently Language::Prolog::Yaswi seems to be useful.> > The prolog part ought to solve only one particular problem,> everything else is a mod_perl driven web app.> > Now I&39;m not sure about its performance. I expect about 1 to 3> requests> per second at peak times and I don&39;t know yet how long my prolog> programm will take.>..http://www.nntp.perl.org/group/perl.ai/2005/09/msg539.html Re: Yaswi question by Ovid- September 29, 2005 --- Steffen Schwigon <schwigonwebit.de> wrote:> Now I&39;m not sure about its performance. I expect about 1 to 3> requests> per second at peak times and I don&39;t know yet how long my prolog> programm will take.> > Does Language::Prolog::Yaswi start a new "pl" process for every> query > The README talks about threads, so maybe it already does something> clever about this.The reason threads are mentioned is because Perl and SWI-Prolog mustboth have...http://www.nntp.perl.org/group/perl.ai/2005/09/msg538.html RE: Yaswi question by BUDNEY, DANIEL L- September 29, 2005 If you are worried about the Language::Prolog::Yaswi module being a bottleneck, the proper action is to make up a group of test requests and write a script that calls the L:P:Y module repeatedly for these cases. You can then time the number of "typical" requests that can be handled each minute (and you can even compare the results of a "short" request vs. a "long" request). Run each case 100 or 1000 times in a loop.For the most meaningful results, you should run...http://www.nntp.perl.org/group/perl.ai/2005/09/msg537.html |