Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add: reload the database in a separate process
This means that during reloads, the server is fully responsive with the old code. Once the reload is done, the database is swapped around in memory, and any changes will be available from that point on. There was need for some rewrite, as the less is sent over the wire during process creation, the better. This should now be brought to a minimum: things like configuration and that is it. This has one downside, that for a time there are two full dictionaries are in memory. This increases the memory footprint of the application a bit; in return we get a non-blocking reload.
- Loading branch information
Showing
5 changed files
with
97 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters