Server clustering & batch processor

The forum to discuss the Headless version of Servoy. Web, Java and Servlet development questions can all be posted here.

Server clustering & batch processor

Postby martinh » Mon Jan 11, 2010 12:39 pm

In Servoy 5 there is server clustering.

How about the batch processors. Does Servoy decide on what server it runs, or can the batch processor be attached to one of the servers.
In that way I can separate (process consuming) batch processing from standard online client processing.
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Server clustering & batch processor

Postby Andrei Costescu » Mon Jan 11, 2010 2:01 pm

Batch processors are specified in servoy.properties file. You have separate servoy.properties files for each server in the cluster => you can specify which batch processors run on each server :).
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Server clustering & batch processor

Postby martinh » Tue Jan 12, 2010 12:24 pm

Andrei,

Can I also make configuration that certain solutions can only run on 1 specific cluster.
I want 1 server to use for permanent batch processing and a second server for normal client access.
I ask this because those headless batch processors take lot of CPU and I don't want the standard clients run on the same server.

Martin
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Server clustering & batch processor

Postby Andrei Costescu » Tue Jan 12, 2010 12:56 pm

martinh wrote:Can I also make configuration that certain solutions can only run on 1 specific cluster.

You mean server, not cluster right?

You can start a cluster containing 2 servers, only one of them running batch processors, and only the other one being visible to client access. (you only set up a Servoy Server Cluster without load-balancing in this case and hide the batch-processor server (firewall/router)).

You should also think about what the batch processors are doing - if for example they do heavy data update operations, data broadcasts will possibly still reach the main (client accessible) server using some of the CPU - if changed data will affect solution running on main server. If you do only heavy CPU processing and tasks that don't require too much traffic between servers that would be ideal.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm

Re: Server clustering & batch processor

Postby martinh » Tue Jan 12, 2010 1:06 pm

Andrei Costescu wrote:
martinh wrote:Can I also make configuration that certain solutions can only run on 1 specific cluster.

You mean server, not cluster right?


Yes of course

Andrei Costescu wrote:You should also think about what the batch processors are doing - if for example they do heavy data update operations, data broadcasts will possibly still reach the main (client accessible) server using some of the CPU - if changed data will affect solution running on main server. If you do only heavy CPU processing and tasks that don't require too much traffic between servers that would be ideal.


These batch processors will be doing lot of database updates. It will process interface files from/to our old application. So there are lot of DB-updates.

I noticed that when such an update is running, sometimes smart client can't even make connection to the server, because that processing is so busy
Martin
------------------------------------------------
Servoy Developer
Version 5.2.10/5.2.13
Java version 1.6 update 31
Database SQL Server 2008 R2
martinh
 
Posts: 857
Joined: Wed May 09, 2007 5:34 pm
Location: Belgium

Re: Server clustering & batch processor

Postby Andrei Costescu » Tue Jan 12, 2010 1:24 pm

You should see an improvement anyway as only data-broadcasts would reach the main client server.
I guess that a lot of parsing/other operations that happen before the updates will be moved to the other server completely.
Andrei Costescu
Servoy
Andrei Costescu
 
Posts: 1018
Joined: Tue Jun 26, 2007 3:14 pm


Return to Servoy Headless Client

Who is online

Users browsing this forum: No registered users and 8 guests