Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
store capnproto data directly on disk (instead of JSON)
The advantage is that we now don’t have to convert capnproto to JSON until the client asks us for the specific page. I.e., for a query with 60_000 results on 6000 pages, we previously had to convert 60_000 results, whereas now chances are we’ll only need to convert a couple of dozen of results. This leads to a 2x speed-up (measured on large queries, but should be transferrable to small queries as soon as they have >1 page of results).
- Loading branch information
1 parent
e0b4b73
commit 466b7f3
Showing
1 changed file
with
31 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters