Valentina and Web application (multithread)

Paxdo Presse paxdo at mac.com
Tue Nov 15 11:09:35 CST 2011


Le 15 nov. 2011 à 17:57, Ruslan Zasukhin a écrit :

> On 11/15/11 12:02 PM, "Paxdo Presse" <paxdo at mac.com> wrote:
> 
>> 
>> 
>> Hi,
>> 
>> Anyone uses valentina (standalone, not server) for a WEB application
>> (multithread) ?
>> 
>> Do you use mutex or you open / close the database on every request?
>> 
>> Does the use of mutex and standalone valentina is really reliable?
> 
> I will answer this part:
> 
> A) we use this approach self in the vserver.

> 
> B) this is from my chat with c++ developer about week ago, He have implement
> mutexing in his app
> 
>> 12:38:16 PM Steve Fisher (C++): Thanks, the mutex works well with two threads,
>> cutting the time to load in half. My machine has 4 cores so I tried it with 4
>> threads but it actually was slower than with the two threads.
> 
> 

:-)

But I'm not a very experienced developer. 

Just open (with timeout if blocked) and close the mutex valentina on every request, or it's more complicated?

REALbasic is it reliable in its handling of mutex?

Another problem with standalone valentina: If a user launches a major operation (like update thousands of records with join), all other users can no longer work and will be blocked.

So, there valentina server, but I like the simplicity of standalone, its API commands, and especially the fact that the installation/maintenance is very simpler for the customer.





> 
> -- 
> Best regards,
> 
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
> 
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
> 
> [I feel the need: the need for speed]
> 
> 
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list