More performance tweaks
This commit is contained in:
parent
8c36083e16
commit
6a0628141a
9 changed files with 63 additions and 24 deletions
|
|
@ -12,14 +12,14 @@ Olof Hagsand, 2019-04-17
|
|||
|
||||
## 1. Background
|
||||
|
||||
CIixon can handle large configurations. Here, large number of elements
|
||||
Clixon can handle large configurations. Here, large number of elements
|
||||
in a "flat" list is presented. There are other scaling usecases,
|
||||
such as large configuratin "depth", large number of requesting
|
||||
clients, etc.
|
||||
|
||||
Thanks to [Netgate](www.netgate.com) for supporting this work.
|
||||
|
||||
## 2.Overview
|
||||
## 2. Overview
|
||||
|
||||
The basic case is a large list, according to the following Yang specification:
|
||||
```
|
||||
|
|
|
|||
|
|
@ -254,7 +254,8 @@ When the startup process is completed, a startup status is set and is accessible
|
|||
|
||||
If the startup fails, the backend looks for a `failsafe` configuration
|
||||
in `CLICON_XMLDB_DIR/failsafe_db`. If such a config is not found, the
|
||||
backend terminates.
|
||||
backend terminates. In this mode, running and startup mode should be
|
||||
unchanged.
|
||||
|
||||
If the failsafe is found, the failsafe config is loaded and
|
||||
committed into the running db.
|
||||
|
|
@ -405,6 +406,7 @@ running |--------+------------> GOTO EXTRA XML
|
|||
|
||||
### Running mode
|
||||
|
||||
On failure, running is restored to initial state
|
||||
```
|
||||
running ----+ |----------+--------> GOTO EXTRA XML
|
||||
\ copy parse validate OK / commit
|
||||
|
|
@ -420,7 +422,7 @@ running |--------+------------> GOTO EXTRA XML
|
|||
startup -------+--+-------+------------+
|
||||
```
|
||||
|
||||
### Failure
|
||||
### Failure if failsafe
|
||||
```
|
||||
failsafe ----------------------+
|
||||
reset \ commit
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue