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 
June 03, 2023, 10:47:10 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]   Go Down

Author Topic: JPPF behaviours when the driver crash  (Read 1739 times)

nabilasbi

  • JPPF Master
  • ***
  • Posts: 29
JPPF behaviours when the driver crash
« on: December 30, 2012, 03:26:02 PM »

Hello,

I'm trying to understand how JPPF act when one of its components crash, and how recovery of the driver and nodes work in case it was running a job before it crashed , Please advise since I cant find in the documentation what I need?

Thank you
Logged

lolo

  • Administrator
  • JPPF Council Member
  • *****
  • Posts: 2272
    • JPPF Web site
Re: JPPF behaviours when the driver crash
« Reply #1 on: December 31, 2012, 07:05:07 AM »

Hi Nabil,

The behavior in case of a server crash is explained in details in this part of the documentation.

When a node crashes, the tasks that it was executing are put back in the server's queue, so they can be disptached to another (or more) node.

In the case of a client crash, there are 2 possibilities for the jobs submitted:
- you can tell the server to continue executing the jobs, and the results will be lost. This is configured on each job, via JPPFJob.getSLA().setCancelUponClientDisconnect(false);
- you can use a persistence manager, so that any results received while the client was alive will be persisted and restored when the client is restarted. We have a sample showing how this can be used here.

-Laurent
Logged
Pages: [1]   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