threads and database

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jun 24 12:37:44 CDT 2004


On 6/24/04 10:53 AM, "olivier vidal" <vidal_olivier at yahoo.fr> wrote:

Hi Oliver,

> I use a new process which allows me to use several mice simultaneously
> on several screens! (A mouse (a pointer) for every screen) (with a
> single computer).
> 
> Let us imagine that I use 4 screens for a software of reading and
> modification of data. On every screen, a similar graphic interface
> (Based on the spritesurface !) to read and modify data. On these 4
> screens, we can click simultaneously to handle a database (Valentina).
> 
> What is the best solution?:
> 
> 
> 1- Several applications customers working simultaneously (an app on
> every screen) handled with Valentina server?
> ( I am afraid that the interface is too slow)

Vserver + few client apps is the most right solution for this.

> 2- A single application with four windows (one by screen), every window
> being handled by one or several threads.
> The whole working with Valentina. Every call (cursor) to Valentina in a
> thread.
> ( I am afraid that threads slows down too much the application)
> 
> 3- A single application with four windows (one by screen), every window
> being handled by timers (for example every 1/10th of second), what
> allows to be much faster?

All this on single computer?

Then why you worry about speed?

Only ONE process can be at front.

Other process will sleep (in case you use threads or client/server)

In fact 3-A is the worse solution -- because you will eat CPU time.


-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list