Task Execution over the Space concurrency concerns
I was reading about task execution over the space: http://wiki.gigaspaces.com/wiki/displ...
I see that we can execute tasks asynchronously:
AsyncFuture<Integer> future = gigaSpace.execute(new MyTask())
Well, that's all good but how many tasks can XAP handle simultaneously. Is there some limit or do the tasks get queued up if they can't be executed immediately. Does this queue grow infinitely or will the execute call above block eventually?
The reason I'm asking is that I have lots of tasks to be executed simultaneously but I'm concerned about using up all the XAP threads or making some task queue grow without bounds.
Thanks for any insight on this matter.