databio / bedhost

API and UI for BEDbase
http://api.bedbase.org
BSD 2-Clause "Simplified" License
2 stars 1 forks source link

bedhost is slow to start #69

Closed nsheff closed 5 months ago

nsheff commented 1 year ago

when I launch this on ECS, it takes several minutes to start up. why?

nsheff commented 1 year ago

I could trace this to bbconf. In the past, when you built a new BedBaseConf object, it would take forever if pointed at the real database.

Now with pipestat, and the databases are new, it is fast.

But, this could be because the databases are empty. So, it might have been solved by the pipestat upgrade, but we should keep an eye on this once

Basically, the question is: if there are tons of records in the database, does it take forever to init a PipestatManager object? It shouldn't be querying the database like that so it should be fast to instantiate.

nsheff commented 1 year ago

Related to #58 -- probably the same thing

khoroshevskyi commented 11 months ago

Is it still an issue?

nsheff commented 8 months ago

It might be. We haven't yet gotten more than 400 files into the server, so it hasn't really been tested.

Can you please populate the server with a few larger sets to get a few thousand files in there? Then we can start to see if it's still a problem.

khoroshevskyi commented 5 months ago

This issue is outdated, because we rewrote bbconf