From 025016667d93598b672a6b0a69759984c06e2c44 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Wed, 26 Sep 2018 03:29:56 +0300 Subject: [PATCH] Update notes for 2018-09-25 --- content/posts/2018-09.md | 6 ++---- docs/2018-09/index.html | 12 +++++------- docs/sitemap.xml | 10 +++++----- 3 files changed, 12 insertions(+), 16 deletions(-) diff --git a/content/posts/2018-09.md b/content/posts/2018-09.md index a30557055..62451f699 100644 --- a/content/posts/2018-09.md +++ b/content/posts/2018-09.md @@ -513,9 +513,7 @@ http://localhost:8081/solr/statistics/update?commit=true&stream.body= diff --git a/docs/2018-09/index.html b/docs/2018-09/index.html index f98688079..177db63ac 100644 --- a/docs/2018-09/index.html +++ b/docs/2018-09/index.html @@ -18,7 +18,7 @@ I’m testing the new DSpace 5.8 branch in my Ubuntu 18.04 environment and I " /> - + After a few hours the Solr statistics core is down to 44GB on CGSpace!
  • I did a major refactor and logic fix in the DSpace Statistics API’s indexer.py
  • Basically, it turns out that using facet.mincount=1 is really beneficial for me because it reduces the size of the Solr result set, reduces the amount of data we need to ingest into PostgreSQL, and the API returns HTTP 404 Not Found for items without views or downloads anyways
  • -
  • I deployed the new version on CGSpace and now there are only 92,000 pages of item views, which is half that it was before… but still seems like way too many (we only have about 74,000 items, which I’d assume would be 740 pages of 100)
  • -
  • Anyways, the indexing crashed kinda… I think
  • -
  • But systemd seems to have restarted it, and I now see:
  • +
  • I deployed the new version on CGSpace and now it looks pretty good!
  • Indexing item views (page 28 of 753)
    @@ -709,7 +707,7 @@ Indexing item downloads (page 260 of 260)
     
      -
    • So that looks really awesome! I wonder if the first crash was due to some caching shit in Solr?
    • +
    • And now it’s fast as hell due to the muuuuch smaller Solr statistics core
    diff --git a/docs/sitemap.xml b/docs/sitemap.xml index 28487b86e..7b4a7ca18 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -4,7 +4,7 @@ https://alanorth.github.io/cgspace-notes/2018-09/ - 2018-09-25T23:54:29+03:00 + 2018-09-26T03:24:46+03:00 @@ -184,7 +184,7 @@ https://alanorth.github.io/cgspace-notes/ - 2018-09-25T23:54:29+03:00 + 2018-09-26T03:24:46+03:00 0 @@ -195,7 +195,7 @@ https://alanorth.github.io/cgspace-notes/tags/notes/ - 2018-09-25T23:54:29+03:00 + 2018-09-26T03:24:46+03:00 0 @@ -207,13 +207,13 @@ https://alanorth.github.io/cgspace-notes/posts/ - 2018-09-25T23:54:29+03:00 + 2018-09-26T03:24:46+03:00 0 https://alanorth.github.io/cgspace-notes/tags/ - 2018-09-25T23:54:29+03:00 + 2018-09-26T03:24:46+03:00 0