ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-ai
perl-ai
Re: Yaswi question
by Salvador "Fandiņo other posts by this author
Sep 29 2005 8:26AM messages near this date
Yaswi question | Re: Yaswi question
--- Steffen Schwigon <schwigon@[...].de>  wrote:

>  Hi!
>  
>  I'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'm not sure about its performance. I expect about 1 to 3
>  requests
>  per second at peak times and I don't know yet how long my prolog
>  programm will take.
>  
>  Does Language::Prolog::Yaswi start a new "pl" process for every
>  query? 

No. It uses SWI-Prolog as a library, and the queries run inside the
perl process. L::P::Y just converts data structures between perl and
prolog. The overhead is relatively small, though it depends on how
big the data structures passing through the interface are.

Cheers,

  - Salvador


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com
Thread:
Steffen Schwigon
Salvador "Fandiņo
Ovid
Daniel L Budney

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved