JPPF, java, parallel computing, distributed computing, grid computing, parallel, distributed, cluster, grid, cloud, open source, android, .net
JPPF

The open source
grid computing
solution

 Home   About   Features   Download   Documentation   On Github   Forums 
December 13, 2019, 03:29:03 AM *
Welcome,
Please login or register.

Login with username, password and session length
Advanced search  
News: New users, please read this message. Thank you!
  Home Help Search Login Register  
Pages: 1 [2]   Go Down

Author Topic: Node and Server Connectivity  (Read 15361 times)

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2258
    • JPPF Web site
Re: Node and Server Connectivity
« Reply #25 on: December 22, 2011, 08:29:19 AM »

Hi Joseph,

Glad it's finally working!

As you have noticed, a node can only process one job at a time. Thus, concurrency within a node only occurs at the task level, meaning that, if a job has multiple tasks, and the load-balancer sends more than one task to each node, then the node will execute multiple tasks in parallel. You can easily test this by adding more than one "hello world" task to each job. If you need concurrency at the job level, you will need to have more than one node.

I hope this helps,
-Laurent
Logged

jbd

  • JPPF Knight
  • **
  • Posts: 19
Re: Node and Server Connectivity
« Reply #26 on: January 04, 2012, 06:38:03 PM »

Hi Laurent,


Is it also in your vision for the node to accept multiple jobs?  The reason I ask is, if a node is configured to have more than 1 thread and that node receives a job with 1 long running task, the other threads are idle which can be used if the node is able to accept another job.

Thanks again,

Joseph
« Last Edit: January 05, 2012, 12:31:22 AM by jbd »
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2258
    • JPPF Web site
Re: Node and Server Connectivity
« Reply #27 on: January 09, 2012, 07:27:38 AM »

Hi Joseph,

The behavior you describe is normal. By design a JPPF node can only execute one job at a time. The number of threads determines how many tasks from the job can be run in parallel, not how many jobs.
For more details, please look at the answer I gave in this other thread: http://www.jppf.org/forums/index.php/topic,1690.msg4007.html#msg4007

Sincerely,
-Laurent
Logged
Pages: 1 [2]   Go Up
 
JPPF Powered by SMF 2.0 RC5 | SMF © 2006–2011, Simple Machines LLC Get JPPF at SourceForge.net. Fast, secure and Free Open Source software downloads