Skip to content

v0.1.47

Choose a tag to compare

@breenyoung breenyoung released this 30 Oct 20:27
· 26 commits to master since this release

Parker 0.1.47 makes the chemistry insights and creator pages much faster on large libraries, stops a slow page from holding up the rest of the server, and picks every series cover with one rule.

Highlights

  • Chemistry insights are much faster. On a 73,000-issue library, Character Chemistry went from about 10 seconds to 2 or 3 on first load, and repeat visits load straight away until the next scan. Creator, Writer and Artist Chemistry are faster too, and the results are exactly the same as before.
  • Creator pages load much faster. On the same library, a typical creator's page went from about 0.36 seconds to 0.025, and the busiest creator's from 0.47 to 0.13.
  • A slow page no longer holds up the server. While a chemistry page was loading, other requests (thumbnails, the reader, other people browsing) had to wait for it. Now they don't.
  • One rule for every series cover. Every page now shows the earliest volume's first regular issue as a series' cover: #1 when that volume has one, and its lowest issue when it doesn't. Action Comics shows its 1938 #1 everywhere, and Captain America shows its 1968 #100. Annuals, specials, #0, negative and .5 issues are skipped unless nothing else exists, and reverse-numbered series still use their highest issue. Before, the library series list, Advanced Search's Series view, Home rails, Featured Rails, creator pages and OPDS feeds each had their own rule.

Improvements

  • Parker now keeps SQLite's database statistics up to date, refreshing them after each scan, cleanup or metadata rehydrate. Without them, SQLite can pick very slow ways to run queries on large libraries. Series recommendations, for example, went from 0.37 seconds to 0.05 on a 73,000-issue library.
  • Creator pages pick each series' cover from the earliest volume of that creator's issues, instead of the earliest-dated #1.

Fixes

  • Fixed Advanced Search's Series view and Home rails sometimes showing a later volume's cover for a multi-volume series, such as Action Comics showing its 2011 #1 instead of its 1938 #1.
  • Fixed the library series list, the series list and OPDS feeds showing a later volume's #1 when the first volume has no #1, such as Captain America showing its 1996 #1 instead of its 1968 #100.
  • Fixed the series page's background image and colors coming from a different issue than its cover for a series whose first volume has no #1.

Upgrade notes

  • The upgrade adds one index to the credits table, and on first start builds database statistics if there are none yet. On a 73,000-issue library both take about a second. No rescan is needed.
  • After each scan, the first visit to a chemistry page works out its results again. Later visits are instant.