Editing
Quixir/Fault-Tolerance
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== Fault-Tolerance Strategies == Quixir provides several fault-tolerance strategies that can be used to handle different types of failures. These strategies ensure that the system remains stable and responsive in the face of errors and faults. Some of the commonly used fault-tolerance strategies in Quixir include: === Restart === The restart strategy, which is the default strategy in Quixir, involves restarting the failed process without affecting other processes in the system. This strategy is suitable for isolated failures that do not impact the overall system stability. === Shutdown === The shutdown strategy involves shutting down the entire system when a critical failure occurs. This strategy is useful when it's essential to bring the system to a controlled stop to prevent further damage or data corruption. === Ignore === The ignore strategy allows the system to ignore failures completely. This strategy is suitable when the failure is expected and can be safely ignored without affecting the system's overall behavior. === Temporary === The temporary strategy involves terminating the failed process and then restarting it after a specified delay. This strategy is useful for failures that are expected to be temporary, such as network connectivity issues, where waiting for a certain period can resolve the problem. === Transient === The transient strategy involves restarting a failed process a limited number of times within a specific time window. If the process continues to fail after reaching the maximum limit, the supervisor decides on the appropriate action, such as shutting down the system. === Permanent === The permanent strategy involves terminating the failed process and not attempting to restart it. This strategy is suitable for failures that are considered permanent, such as logical errors in the code that cannot be fixed without code modifications.
Summary:
Please note that all contributions to Elixir Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Elixir Wiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information