[Gambas-devel] Gambas as a web server ...

Gareth Bult gareth at ...623...
Fri Feb 6 16:16:20 CET 2009


Ok,

That's saved me some time .. :-)

Might be do-able as separate processes .. I just need a persistent IPC mechanism for sharing sessions, which I would need anyway to load-balance across servers. Gambas has a fairly small footprint so it might be practical - will think some more .. :)

Gareth.



----- Original Message -----
From: "Benoît Minisini" <gambas at ...1...>
To: "mailing list for gambas developers" <gambas-devel at ...494...t>
Sent: Friday, 6 February, 2009 2:31:32 PM GMT +00:00 GMT Britain, Ireland, Portugal
Subject: Re: [Gambas-devel] Gambas as a web server ...

> Hi,
>
> As the script needs to access a database and the database open / connect
> time is significant, the script needs to be "resident" or live within a
> "resident" wrapped .. so CGI doesn't really do it for me. I guess Fast CGI
> might, but I've tried to use this in the past and been disappointed.
>
> I think the bottom line is, I need to find "some" way to make Gambas work
> with threads, even if I write in "C" and call Gambas from a thread 

The gambas interpreter cannot be called from two threads simultaneousely. If 
you want to run two bunch of Gambas code at the same time, you need two 
different processes.

Regards,

-- 
Benoît

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Gambas-devel mailing list
Gambas-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-devel

-- 
Gareth Bult (Gareth at ...624...)




More information about the Devel mailing list