storj/storage/testsuite
paul cannon e2c0dd437a
offer PostgreSQL storage for pointerdb (#440)
..although it ought to work for other storage.KeyValueStore needs as
well. it's just optimized to work pretty well for a largish hierarchy of
paths.

This includes the addition of "long benchmarks" for KeyValueStore
testing. These will only be run when -test-bench-long is added to the
test flags. In these benchmarks, a large corpus of paths matching a
natural ("real-life") hierarchy is read from paths.data.gz (which you
can get from https://github.com/storj/path-test-corpus) and imported
into a particular KeyValueStore. Recursive and non-recursive queries are
run on it to detect performance problems that arise only at scale.

This also includes alternate implementation of the postgreskv client,
which works in a less-bizarre way for non-recursive queries, but suffers
from poor performance in tests such as the long benchmarks. Once this
alternate impl is committed to the tree, we can remove it again; I just
want it to be available for future reference.
2018-10-25 12:11:28 -05:00
..
bench.go Implement ListV2 with storage rework (#303) 2018-09-05 19:10:35 +03:00
long_bench.go offer PostgreSQL storage for pointerdb (#440) 2018-10-25 12:11:28 -05:00
test_crud.go Implement ListV2 with storage rework (#303) 2018-09-05 19:10:35 +03:00
test_iterate_all.go Add IsPrefix support to piecestore (#313) 2018-09-07 17:20:15 +03:00
test_iterate.go Add IsPrefix support to piecestore (#313) 2018-09-07 17:20:15 +03:00
test_list.go Separate storj.io packages in imports (#481) 2018-10-16 14:43:44 +03:00
test_listv2.go Separate storj.io packages in imports (#481) 2018-10-16 14:43:44 +03:00
test_prefix.go Add IsPrefix support to piecestore (#313) 2018-09-07 17:20:15 +03:00
test.go Enforce lookup limit for storage (#312) 2018-09-07 12:00:00 +03:00
utils.go offer PostgreSQL storage for pointerdb (#440) 2018-10-25 12:11:28 -05:00