Gwyneth Llewelyn
|
16bd60461c
Added logging options to config file as well.
|
пре 7 година |
Gwyneth Llewelyn
|
373224b041
Because this is getting increasingly complicated, there is now a configuration file.
|
пре 7 година |
Gwyneth Llewelyn
|
01ac1dbb52
Attempt to use BuntDB instead of Badger
|
пре 7 година |
Gwyneth Llewelyn
|
663c41bd0f
Reduce to batches of 100,000 keys
|
пре 7 година |
Gwyneth Llewelyn
|
37808f31a7
Attempting to change all code to work with the new version of Badger (changed everything!)
|
пре 7 година |
Gwyneth Llewelyn
|
01a083b88a
More (failed!) attempts to limit memory consumption by reducing the ValueLogFileSize
|
пре 7 година |
Gwyneth Llewelyn
|
908ac9477e
While memory errors seem to be fixed, there is a strange error related to opening the correct directory under FastCGI.
|
пре 7 година |
Gwyneth Llewelyn
|
1a196640ff
Changing to use BatchSetAsync; attempting to deal with excessive memory issues.
|
пре 7 година |
Gwyneth Llewelyn
|
e901145ce8
Changed BATCH_BLOCK back to 100,000.
|
пре 7 година |
Gwyneth Llewelyn
|
2ae117743a
Added comment regarding the new BatchSet import.
|
пре 7 година |
Gwyneth Llewelyn
|
446bed38fc
Using goroutines with BatchSet to speed up the process of importing.
|
пре 7 година |
Gwyneth Llewelyn
|
140ba84e40
Attempt to use the new interface for badger
|
пре 7 година |
Gwyneth Llewelyn
|
bf56c63448
Deal with the changes of the badger API
|
пре 7 година |
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.
|
пре 7 година |
Gwyneth Llewelyn
|
d4a4a36251
Adds -nomemory switch to try to reduce memory consumption. This is the default for FastCGI.
|
пре 7 година |
Gwyneth Llewelyn
|
accad7a5e8
Added support for keeping the grid of origin as part of the database entries. This required some JSON marshalling. Added some stopwatches, too, to give an idea how long it takes to include W-Hat’s database.
|
пре 7 година |
Gwyneth Llewelyn
|
b1dbdd9015
Added more information about importing databases.
|
пре 7 година |
Gwyneth Llewelyn
|
2e36cb33eb
Exclude directory where database resides, if it appears on the current directory (basically the default!)
|
пре 7 година |
Gwyneth Llewelyn
|
04ddfece2c
Works, but keys must be the other way round :(
|
пре 7 година |
Gwyneth Llewelyn
|
9551eb7d80
First attempt at loading W-Hat database into KV database; currently failing, even though it reads 8 million records or so. The question is why the searches all fail!
|
пре 7 година |
Gwyneth Llewelyn
|
4a4688b2e5
Persistent KV database files are now properly written on the current working directory (maybe they shouldn’t…); added a ‘compatibility mode’ with W-Hat, namely, if “compat=false” is passed, it send back cute messages; if not, it just sends back the UUID (or avatar name)
|
пре 7 година |
Gwyneth Llewelyn
|
6dbb45f5ff
Added files from KV database that have to be ignored
|
пре 7 година |
Gwyneth Llewelyn
|
0b6b681a94
Works flawlessly. TODO(gwyneth): add W-Hat database to pre-fill avatar UUIDs
|
пре 7 година |
Gwyneth Llewelyn
|
88f263d536
First attempt to open/close the badger KV database.
|
пре 7 година |
Gwyneth Llewelyn
|
5f25aec017
Explain better what external packages are needed and added some limitations of this code and how to improve it in the future.
|
пре 7 година |
Gwyneth Llewelyn
|
7260eeb5c3
Attempt to get two handlers working under fastcgi, doesn’t seem to be possible :(
|
пре 7 година |
Gwyneth Llewelyn
|
4a697902ea
Router: Wrong order of handling
|
пре 7 година |
Gwyneth Llewelyn
|
c4fa5524f2
Small bugs stamped out
|
пре 7 година |
Gwyneth Llewelyn
|
bcbe078f35
Skeleton framework to read avatar name & key from a touch.
|
пре 7 година |
Gwyneth Llewelyn
|
67d5096f15
Counterpart script for registering avatar names & keys
|
пре 7 година |