mirror of
https://github.com/Expand-sys/CCash
synced 2025-12-17 00:22:14 +11:00
📚🚧
This commit is contained in:
parent
335fd4983c
commit
c11bf24d90
1 changed files with 3 additions and 2 deletions
|
|
@ -1,19 +1,20 @@
|
||||||
[PREVIOUS PAGE](user_side.md) | [NEXT PAGE](../building.md)
|
[PREVIOUS PAGE](user_side.md) | [NEXT PAGE](../building.md)
|
||||||
|
|
||||||
# Implementation Features
|
# Implementation Features
|
||||||
|
## Multi-threading support
|
||||||
## Parallel Hashmap
|
## Parallel Hashmap
|
||||||
<!-- memory vs database -->
|
<!-- memory vs database -->
|
||||||
<!-- phmap vs std hash map -->
|
<!-- phmap vs std hash map -->
|
||||||
|
<!-- benefits from multi-threading -->
|
||||||
<!-- https://greg7mdp.github.io/parallel-hashmap/ -->
|
<!-- https://greg7mdp.github.io/parallel-hashmap/ -->
|
||||||
### Scalability
|
### 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
|
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
|
||||||
.png)
|
.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
|
## xxHash
|
||||||
## Base64
|
## Base64
|
||||||
## Simdjson
|
## Simdjson
|
||||||
## Drogon webframework
|
## Drogon webframework
|
||||||
## Multi-threading support
|
|
||||||
## Intelligent saving
|
## Intelligent saving
|
||||||
### Saving on close
|
### 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**.
|
when the program is interupted with CONTROL + C it will save before closing the webserver, **it will not however save during a crash**.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue