Gwyneth Llewelyn
|
99245f88ec
Filled in year & name on MIT Licence
|
6 سال پیش |
Gwyneth Llewelyn
|
2eaeeb02d3
Added pflags (drop-in replacement for flags, but POSIX-compliant) and bound flags to viper (configuration file), so that theoretically flags override config file instructions.
|
6 سال پیش |
Gwyneth Llewelyn
|
24b5ac01bc
Started revamping information on the README
|
6 سال پیش |
Gwyneth Llewelyn
|
3802c5d082
Added information that leveldb is a possible flag for database type.
|
6 سال پیش |
Gwyneth Llewelyn
|
c3bd1d79d1
Fix some bugs regarding leveldb.
|
6 سال پیش |
Gwyneth Llewelyn
|
a24152d11e
Simple mmap testing suite.
|
6 سال پیش |
Gwyneth Llewelyn
|
94261df406
Testing with leveldb
|
6 سال پیش |
Gwyneth Llewelyn
|
b95711d334
Testing with levels
|
6 سال پیش |
Gwyneth Llewelyn
|
e1d1677430
Reverting ‘no memory’ flag to use memory-mapping again
|
6 سال پیش |
Gwyneth Llewelyn
|
0ae1302925
Memory tests. go test -v will show mmap being used on files of increased RAM size, in multiples of 128 Mbytes.
|
6 سال پیش |
Gwyneth Llewelyn
|
ccf65e4714
Do some memory tests. Use go test -run ‘’ to experiment with some settings
|
6 سال پیش |
Gwyneth Llewelyn
|
57a9a2cd9b
Attempt to consume as little memory as possible, tweaking badger options.
|
6 سال پیش |
Gwyneth Llewelyn
|
1c3065d35d
Attempting to make the search iterators faster…
|
6 سال پیش |
Gwyneth Llewelyn
|
711f70ee37
Upgrade to use an external configuration file; preparation to allow several different database backends, since I’m having trouble with keeping memory limits; also, badger and bolt seem to be way too slow.
|
6 سال پیش |
Gwyneth Llewelyn
|
add89f31f9
Configuration now is read from file (using the Viper library). Some changes need to be made to support other databases.
|
6 سال پیش |
Gwyneth Llewelyn
|
16bd60461c
Added logging options to config file as well.
|
6 سال پیش |
Gwyneth Llewelyn
|
373224b041
Because this is getting increasingly complicated, there is now a configuration file.
|
6 سال پیش |
Gwyneth Llewelyn
|
01ac1dbb52
Attempt to use BuntDB instead of Badger
|
6 سال پیش |
Gwyneth Llewelyn
|
663c41bd0f
Reduce to batches of 100,000 keys
|
6 سال پیش |
Gwyneth Llewelyn
|
37808f31a7
Attempting to change all code to work with the new version of Badger (changed everything!)
|
6 سال پیش |
Gwyneth Llewelyn
|
01a083b88a
More (failed!) attempts to limit memory consumption by reducing the ValueLogFileSize
|
6 سال پیش |
Gwyneth Llewelyn
|
908ac9477e
While memory errors seem to be fixed, there is a strange error related to opening the correct directory under FastCGI.
|
6 سال پیش |
Gwyneth Llewelyn
|
1a196640ff
Changing to use BatchSetAsync; attempting to deal with excessive memory issues.
|
6 سال پیش |
Gwyneth Llewelyn
|
e901145ce8
Changed BATCH_BLOCK back to 100,000.
|
6 سال پیش |
Gwyneth Llewelyn
|
2ae117743a
Added comment regarding the new BatchSet import.
|
6 سال پیش |
Gwyneth Llewelyn
|
446bed38fc
Using goroutines with BatchSet to speed up the process of importing.
|
6 سال پیش |
Gwyneth Llewelyn
|
140ba84e40
Attempt to use the new interface for badger
|
6 سال پیش |
Gwyneth Llewelyn
|
bf56c63448
Deal with the changes of the badger API
|
6 سال پیش |
Gwyneth Llewelyn
|
cc83f5d69e
On the interactive shell, allows searches by either avatar name or UUID. UUID is just a special case of a 36-character string with a valid format, which is checked with a regex.
|
6 سال پیش |
Gwyneth Llewelyn
|
d4a4a36251
Adds -nomemory switch to try to reduce memory consumption. This is the default for FastCGI.
|
6 سال پیش |