2019 Unicorn enterprise heavily recruited Python engineer standard & GT; > >
Because I saw the word “Error Kernel Pattern” when looking at Akka’s materials, I wanted to check the meaning of the materials.
The concept of Error Kernel is introduced in Roland Kuhn’s Reactive Design Patterns book.
Let me translate this:
“In a supervisory hierarchy, keep important application state or functionality near the root directory while delegating dangerous operations to the leaves.”
This pattern, built on the Simple Component pattern, is suitable for combining components with different failure probabilities and reliability requirements anywhere in a larger system or application — some features of the system must never fail, while others must fail. Applying the simple component pattern usually puts you in this position, so you need to be familiar with the error kernel pattern.
This pattern has been built into The Erlang program for decades, and was one of JonasBoner’s main inspirings for implementing the Actor frame-Akka on the JVM. The name Akka was originally thought to be a palindrome from the Actor Kernel, referring to this core design pattern.
Since this pattern is designed according to the simple component pattern, translate what the author wrote.
“A component can only do one thing, but do it all.”
This pattern applies anywhere the system performs multiple functions, or it performs functions that are so complex that they need to be broken down into different components. An example is a text editor that includes spell checking: two separate functions (editing can be done without spell checking, and spelling can be done on finished text without editing), but on the other hand, these functions are simple.
The simple component pattern originates from the principle of single responsibility proposed by Tom DeMarco in his 1979 book “Structural Analysis and System Specification” (Prentice Hall). In its abstract form, it requires “maximizing cohesion and minimizing coupling.” Applied to object-oriented software design, it is generally stated as follows: “A class should have only one reason to change.”
Reference: https://www.reactivedesignpatterns.com/patterns/error-kernel.html
Reproduced in: https://my.oschina.net/u/2277632/blog/2934056
Read More:
- Error of replacing VIM editor: s in Linux: pattern not found
- Error: Projects must list all files or use an ‘include‘ pattern.
- Linux dynamically loads kernel modules
- WSL 2 needs to update its kernel components
- On the kernel error of jupyter notebook
- kernel_stack_inpage_error
- Unable to boot : please use a kernel appropriate for your cpu
- Anaconda Jupiter notebook kernel error solution
- Interrupt the kernel in Jupiter does not respond
- Oops error location method in ARM kernel
- A solution to the kernel error of Jupiter notebook in Anaconda under Windows 10
- VsCode+Anaconda+jupyter Error: Kernel died with exit code
- spyder an error ocurred while starting the kernel (How to Fix)
- [Solved] VMware Workstation startup error: Unable to open kernel device…
- Black apple card error loading kernel cache
- CUDA Error: no kernel image is available for execution on device
- kernel: [ 3166.869181] EDAC MC2: 1 CE memory read error on CPU_SrcID#1_Ha#1_Chan#1_DIMM#0
- [MMCV]RuntimeError: CUDA error: no kernel image is available for execution on the device
- Error ns when starting VirtualBox virtual machine after upgrading kernel_ ERROR_ FAILURE