- Change library from
async-std
tosmol
- Remove
evmap
and substitute it withdashmap
to reduce memory size. This effectively reduces the RAM usage by about 90% - Change the structure of the database
- Move from using global variables to local variables with use of
Arc
instead - Hold sled database (a TuringDB document) as a file descriptor inside a hashmap to prevent opening and closing the file all the time
- Unblock all the blocking file operations
- Move away from storage of database and repo structure in files to initializing the repository by recursively walking the directory in search of databases and holding their contents in memory
- Move all error handling away from the library
- Move the server code into its new repository
- Change all the dependencies to ones that can co-exist without bloat