Commit History

Autor SHA1 Mensaxe Data
  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. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 3802c5d082 Added information that leveldb is a possible flag for database type. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn c3bd1d79d1 Fix some bugs regarding leveldb. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 94261df406 Testing with leveldb %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn e1d1677430 Reverting ‘no memory’ flag to use memory-mapping again %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 57a9a2cd9b Attempt to consume as little memory as possible, tweaking badger options. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 1c3065d35d Attempting to make the search iterators faster… %!s(int64=7) %!d(string=hai) anos
  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. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn add89f31f9 Configuration now is read from file (using the Viper library). Some changes need to be made to support other databases. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 01ac1dbb52 Attempt to use BuntDB instead of Badger %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 663c41bd0f Reduce to batches of 100,000 keys %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 37808f31a7 Attempting to change all code to work with the new version of Badger (changed everything!) %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 01a083b88a More (failed!) attempts to limit memory consumption by reducing the ValueLogFileSize %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 908ac9477e While memory errors seem to be fixed, there is a strange error related to opening the correct directory under FastCGI. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 1a196640ff Changing to use BatchSetAsync; attempting to deal with excessive memory issues. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn e901145ce8 Changed BATCH_BLOCK back to 100,000. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 446bed38fc Using goroutines with BatchSet to speed up the process of importing. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 140ba84e40 Attempt to use the new interface for badger %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn bf56c63448 Deal with the changes of the badger API %!s(int64=7) %!d(string=hai) anos
  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. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn d4a4a36251 Adds -nomemory switch to try to reduce memory consumption. This is the default for FastCGI. %!s(int64=7) %!d(string=hai) anos
  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. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 04ddfece2c Works, but keys must be the other way round :( %!s(int64=7) %!d(string=hai) anos
  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! %!s(int64=7) %!d(string=hai) anos
  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) %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 0b6b681a94 Works flawlessly. TODO(gwyneth): add W-Hat database to pre-fill avatar UUIDs %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 88f263d536 First attempt to open/close the badger KV database. %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 7260eeb5c3 Attempt to get two handlers working under fastcgi, doesn’t seem to be possible :( %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn 4a697902ea Router: Wrong order of handling %!s(int64=7) %!d(string=hai) anos
  Gwyneth Llewelyn bcbe078f35 Skeleton framework to read avatar name & key from a touch. %!s(int64=7) %!d(string=hai) anos