I have a distributed program, for example, it has ten process, and all of them will execute some job, all job info will storage to a same MySQL database. At a same moment, there was a lot of running job in database, and they are belong to different process. When one process crash, how can I recovery it running job info in a new process. By the way, my enviroment has MySQL and zookeeper.
In a distributed program, how to recovey its corresponding data when a process crashes
51 Views Asked by hehe At
1
There are 1 best solutions below
Related Questions in ARCHITECTURE
- Is it recommended to use Node.js for an online room booking web application?
- Defining Callbacks for custom Javascript Functions
- iOS: app doesn't pass the upload for the architecture
- What is the value of multiple Hybris extensions?
- os kern error : "ld: symbol(s) not found for architecture x86_64"
- How to avoid context in business layer
- Libgdx: Objects creating other objects
- Do software engineers in general have no idea about Software Architecture Design?
- Java generic class that contains an instance of implementation of generic interface
- Web application architecture, N-tiers, 3 tiers or multi-layer
- Is having 3 layers Controller, BO and DAO a standard way? why not just Controller and DAO?
- Architecture for creating a JavaScript framework
- Symfony2 proper use for services
- Refactor some calls on each Zf2 controller action
- Architecture - Task Scheduling (Data File Processing) - Windows Service
Related Questions in DISTRIBUTED-SYSTEM
- Is curator's persistent ephemeral nodes just regular ephemeral with retries?
- Sequential Consistency in Distributed Systems
- Elastic Search: how to move a primary shard?
- Hbase: Understanding difference between smallCompactions and largeCompactions under majorCompaction
- Mnesia - Replicate ram_copy table to disc_only_copy table from another node
- Logical Clocks: Lamport Timestamps
- Lamport’s (Physical) Clock Synchronization Algorithm
- distributed database replication design: efficient network transfer
- Use SimPy to simulate Chord distributed system
- How CreateEntity PDU works?
- How to automatically update server and client side in java
- Distributed database use cases
- Pass map, slice over channel and over network?
- Creating a distributed memory service in Scala
- What is the biggest Couchbase cluster nodes number?
Related Questions in DATA-CONSISTENCY
- Ensuring consistency in in-memory data structures
- How to maintain data consistency across multiple tables in cassandra?
- matplotlib plot whole data
- Are there any difference between data integrity and data consistency?
- How do i satisfy business requirements across microservices with immediate consistenc?
- Reliably fetch LDAP (AD) updates
- What is the accurate way of removing outliers from a set of data and make the data consistent using javascript?
- "Maximum allowed trigger depth" in SQL Server?
- solution to synch back cache value to database?
- Oracle how child table behave when data from parent table is modified?
- Read Your Own Writes Consistency Before MongoDB 3.6
- PostgreSQL accessing the same data in different timezones
- Aerospike cluster behavior in different consistency mode?
- shell command to import a portion of mysql dump of a table (from a specific row)
- How to manage Data consistency between two microservices?
Related Questions in CRASH-RECOVERY
- Electron recovery after crash on render process
- How do I check rebuild is complete after losing a replica?
- How to call ENDCMTCTL with pending changes?
- Why we should not have the collective size of innodb_log_files more than the size of the innodb_buffer_pool
- Good Architecture/Library For Robust Plugin/Addon Management
- Building a crash tolerant serial number generator via log files
- Could anyone explain why is Write-Ahead Log the use NO-FORCE?
- How to know if a MapReduce job has restarted or is a fresh start?
- Is it possible to verify data of multiple sequential writes just by checking the last n bytes written?
- In a distributed program, how to recovey its corresponding data when a process crashes
- Notepad++ fixing after a crash, interpreting the .dmp interpretation
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You should set an ID to every running process You should set an ID to every running job You should put code process in try...catch...finally , to know which ID trashed You should manage relations between process ID and its IDs jobs