Commit Graph

13 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 755f9e63db feat(queries): fixed keyset non-sequential scan pagination 2020-05-10 17:35:45 +01:00
Dimitrie Stefanescu 34490a5a1b feat(queries): keyset cursor works on non-unique field values 2020-05-10 17:17:38 +01:00
Dimitrie Stefanescu dfc8920d3a feat(queries): finished implementation of getObjectChildrenQuery
It's as efficient as I could get it to be, while still providing a totalCount of the requested
object subset given the query constraints.
2020-05-08 19:10:32 +01:00
Dimitrie Stefanescu b39d729729 feat(queries): implemented 90% of the getObjectChildrenQuery
bobby drop tables is not welcome
2020-05-08 18:30:38 +01:00
Dimitrie Stefanescu 090370da0d feat(queries): added query filters & verbs to getObjectChildrenQuery 2020-05-07 21:55:20 +01:00
Dimitrie Stefanescu 1a4442b5a7 feat(queries): implemented fast query route for children
and started scaffolding the slower, filter enabled one
2020-05-07 21:10:49 +01:00
Dimitrie Stefanescu 85cc525663 feat(queries): figuring out the perfect querie for getting objects
quite a few things are being considered, perf. wise: pagination, ordering, querying, depth.
2020-05-04 16:25:37 +01:00
Dimitrie Stefanescu 666e69c428 feat(trees): migrated reference tracking to closure table for faster scans on getChildren
change reduces query time from 4s to a predictable 500ms for queries with totalCount; without
totalCount we get a predictable <100ms. Benchmarking done on 300k object "commit"
2020-05-03 17:49:54 +01:00
Dimitrie Stefanescu 9999bd6eae test(objects): added sample data from .net sdk output 2020-05-03 14:40:23 +01:00
Dimitrie Stefanescu 7be78e0535 feat(tree): figuring out the best queries for object children 2020-05-01 12:13:14 +01:00
Dimitrie Stefanescu f0e556042f feat(graphql): get object children query in place 2020-05-01 00:20:45 +01:00
Dimitrie Stefanescu d35af3bb94 feat(graphql): added first working test 2020-04-23 18:25:49 +01:00
Dimitrie Stefanescu e3dd8b1d81 feat(app init): async'ed app init & awaiting knex.migrate.latest() on first run
fixes the bug where the server would start w/o actually waiting for migrations to happen
2020-04-22 17:32:01 +01:00