Uploaded image for project: 'SimplyE 2.0'
  1. SimplyE 2.0
  2. SIMPLY-2015

When generating a grouped feed, use Elasticsearch multisearch to generate book lists for all lanes simultaneously

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Low Low
    • 3.0.2cm
    • Server - Core
    • None
    • S20 SIMPLY Sep 17 - Oct 1, S21 SIMPLY Oct 1 - Oct 15

      Currently we generate a grouped feed by making a separate Elasticsearch query for each lane in the feed. Elasticsearch has a feature that would let us send all these queries out simultaneously:

      https://www.elastic.co/guide/en/elasticsearch/reference/current/search-multi-search.html

      This would require some rearchitecture but it would dramatically increase the speed of grouped query generation. In one sense this doesn't really matter, because grouped query generation happens in the background. However this might make it possible to generate grouped feeds in the foreground – opening up the possibility that we could dynamically serve different grouped feeds to different types of patrons.

            leonardrichardson Leonard Richardson [X] (Inactive)
            leonardrichardson Leonard Richardson [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: