Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question
1

Executor Based Remoting and Number of Service Thread

Hi,

We are using the Executor Based Remoting to call a remote service. The client calls the following interface:

Data process(@Routing Integer routingId, Data[] data);

We have 4 partitions that run the service implementation. I was wondering how many instances of the service implementation is created on a particular partition? and if there is a way to control the number of service thread per space instance?

Thanks, Ali

asked 2014-04-01 15:33:34 -0500

salemi gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Each instance creates a single service implementation to serve all the requests submitted to it. The requests are served via a thread pool owned and manage by the space, which handles all task executions on that space. In previous versions (before 9.7), there was no separation between task executions and data grid operation - all were executed using a single threadpool. Starting 9.7 we have separate thread pool for data grid operations (write/read/etc) and task executions, which contains custom user code.

answered 2014-04-03 10:44:53 -0500

niv gravatar image
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-04-01 15:33:34 -0500

Seen: 46 times

Last updated: Apr 03 '14