-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce an initial size of datastore. #136
Comments
Hello! To me that was the single most important lesson on "today's constant is tomorrow's variable". Check out this discussion for tips on altering hash table constants, although the discussion tries to increase hash table size, but using similar technique you can also reduce the hash table size: Adjusting collection data file is way easier than hash table, only one line requires an adjustment: Making hash table's size smaller will slightly reduce performance, but feel free to do so until there's a good performance/file size balance. |
Thank you so much for your speedy reply! 👍 I will to try to change a value and to rebuild a bundle from sources. In my sorry, I can't found a page describing of building process of software. Does this action require some special settings? |
No worries at all. tiedot does not use any fancy un-official tool for building, By the way, after having adjusted the hashtable and collection constants, please run all tests |
Feel free to come back if you have more questions. |
Hello!
My issue linked with that request but different :)
I want to run tiedot in a httpd mode at x64 VDS with reduced resources, such as disk space ( is no more dozen megabytes). In that regard, I want to reduce an initial size of datastore. At the moment, almost empty storage have a size in 384 Megabytes (it's contains only a one collection with two records). Can I to reduce disk space utilization by extremelly low (e.g. 20 Megabytes) and at the same time save a working condition and impressive performance?
Maybe somewhere is available builded bundle with minimal requirements? Or I'll need to rebuild it after I will change some values (e.g. constants)?
Thank you!
The text was updated successfully, but these errors were encountered: