[comixed-dev] Re: New library update code

  • From: "Guy Incognito" <dmarc-noreply@xxxxxxxxxxxxx> (Redacted sender "bareheiny" for DMARC)
  • To: "comixed-dev@xxxxxxxxxxxxx" <comixed-dev@xxxxxxxxxxxxx>
  • Date: Fri, 10 Jan 2020 13:53:05 +1300

A related issue – the library is slow to load.

I’m pretty sure I’ve mentioned this before (usually pointing my finger at the 
donut chart) – but I’ve been so focussed on the covers loading, that I didn’t 
realise the other impacts of the loading process.

At the moment, I’m sitting at a comic count of 21,385 out of around 48,000 – 
historically I’m timed out of CX before the load is fully complete.


I’ve only just noticed / realised that this also impacts the Collections pages. 
 For example, 2,183 series are loaded.  For now.  After a few minutes, I expect 
this will get to 3,000 or so.  

Obviously I can’t navigate to a specific series (or publisher, team, location 
etc. ) if it hasn’t been loaded – at the moment, I can’t find and navigate to 
Venom, as the load is only up-to the early Ts.

In some cases, navigating to a different CX page causes the library to start 
reloading, putting me back at square one.



Just something to put on the pile of things to look at – eventually :P  


From: Darryl L. Pierce
Sent: Wednesday, 8 January 2020 3:42 AM
To: comixed-dev@xxxxxxxxxxxxx
Subject: [comixed-dev] Re: New library update code

So glad to hear. Once this latest PR I put up this morning is merged I'm hoping 
we can put this to be for a while and hopefully get some more users and 
developers helping to improve it.

On Mon, Jan 6, 2020 at 9:44 PM Guy Incognito <dmarc-noreply@xxxxxxxxxxxxx> 
wrote:
The update is looking good – navigation is a lot better than it was.  It feels 
like up-to a minute to return a page of 100 covers...but it’s probably not that 
high.
Unless there are others with large libraries that can do some testing, I think 
for now this can be put to one side – it’s fast enough, but could be better.  
But without input from other users there’s no way to determine if it’s me, my 
machines or CX.
 
From: dmarc-noreply@xxxxxxxxxxxxx
Sent: Monday, 30 December 2019 10:23 AM
To: comixed-dev@xxxxxxxxxxxxx
Subject: [comixed-dev] Re: New library update code
 
Merry Christmas and all that 😊

So far, the latest build is looking good as far as navigation goes.  In saying 
that, I’m only about 12 hours into a four day import process.
 
I’ll keep an eye on things and report back later.
 
From: comixed-dev-bounce@xxxxxxxxxxxxx <comixed-dev-bounce@xxxxxxxxxxxxx> On 
Behalf Of Darryl L. Pierce
Sent: Sunday, 29 December 2019 8:32 AM
To: comixed-dev@xxxxxxxxxxxxx
Subject: [comixed-dev] New library update code
 
Hey, all! Hope you had a good holiday.
 
I've pushed up the PR for the updated library updating code. It's not as 
streamlined as I could make it, only loading the comic (not pages) and sending 
the minimum information needed to display comics in lists (including 
collections). I honestly can't think of how we could make it faster at this 
point.
 
I removed the paginated loading code since it was, ultimately, going to make 
the app far to unwieldy to extend since it required constantly going back to 
the server to load data.
 
Also, testing it locally on my slowest laptop, it's pretting performant with 
processing comics being imported and especially with loading covers and images. 
I had it load 100 comics/page and it would load the covers a very short period 
of time: not instantaneously, of course, but pretty fast. And I didn't 
experience any of the covers appearing and then being hidden. They stayed on 
the page once loaded.
 
I'm hoping that this PR can let us put this issue to bed for now and move on to 
other features I had hoped to get done for the next release.

-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
"Le centre du monde est partout." - Blaise Pascal
"Let's try and find some point of transcendence and leap together." - Gord 
Downie
 


-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
"Le centre du monde est partout." - Blaise Pascal
"Let's try and find some point of transcendence and leap together." - Gord 
Downie

Other related posts: