This commit is contained in:
EntireTwix 2021-07-15 19:34:54 -07:00
parent 335fd4983c
commit c11bf24d90

View file

@ -1,19 +1,20 @@
[PREVIOUS PAGE](user_side.md) | [NEXT PAGE](../building.md)
# Implementation Features
## Multi-threading support
## Parallel Hashmap
<!-- memory vs database -->
<!-- phmap vs std hash map -->
<!-- benefits from multi-threading -->
<!-- https://greg7mdp.github.io/parallel-hashmap/ -->
### Scalability
below is `GetBal()` being called where `x` axis grows with # of users reaching 10 million users, `y` axis is time in ns. The name given is random between 0 and max users at that time as to provide more accurate results
![image](GetBal().png)
as the graph demonstrates, regardless of size GetBal remains consistent at around 39ns on my 3700x.
as the graph demonstrates, regardless of size GetBal remains consistent at around 39ns on my 3700x single threaded.
## xxHash
## Base64
## Simdjson
## Drogon webframework
## Multi-threading support
## Intelligent saving
### Saving on close
when the program is interupted with CONTROL + C it will save before closing the webserver, **it will not however save during a crash**.