Issue26

Title Clicking on experiment data tabs is slow
Priority BUG Status in-progress
Superseder Nosy List jgentry, sfalcon
Assigned To jgentry Topics

Created on 2006-05-31.20:54:54 by sfalcon, last changed 2006-06-01.12:11:42 by jgentry.

Messages
msg109 (view) Author: jgentry Date: 2006-06-01.12:11:42
I'm going to be soon checking in code that will:
- use select count(*) on the experiment view pages
- Have a 'Cache' tab in the ZMI, this will display which platforms are cached,
and allow the SA to cache all the platforms (would be nice to allow them to
selectively load particular platforms but I didn't do that (yet))
msg106 (view) Author: jgentry Date: 2006-06-01.06:59:16
I don't think select count(*) would need to be cached, it seems pretty
instantaneous for me, even on the 133plus2.
msg104 (view) Author: sfalcon Date: 2006-06-01.06:57:23
ERROR reading file: msg104
Possibly a access right configuration problem.
[Errno 13] Permission denied: '/extra/trackers/sgdi/db/files/msg/0/msg104'
msg97 (view) Author: jgentry Date: 2006-06-01.06:37:10
The only reason it is touching the cache is the total reporter count (it is
getting the # of keys in the dictionary).  This could easily be switched to a
'select count(*)', although that would just make some other point potentially slow.

And yeah, while bringing data into zope from the DB seems to be fairly
expensive, it isn't *that* expensive (ie the threshold of pain to get a long
wait is much lower than one would think but is at least an order of magnitude
higher than phenodata)
msg91 (view) Author: sfalcon Date: 2006-05-31.20:54:54
The only data that should be required to build the experiment pages is the
phenodata data frame and the experiment meta data.  

In an email conversation, Jeff suggested that the slowness is due to building a
geneid cache.  

Is that really what is going on?  If so, why?

If not, we need to at least understand why this is slow.  I would expect that
pulling this much data from the DB would not be so slow, but certainly I could
be wrong about that.
History
Date User Action Args
2006-06-01 12:11:42jgentrysetmessages: + msg109
2006-06-01 06:59:16jgentrysetmessages: + msg106
2006-06-01 06:57:23sfalconsetmessages: + msg104
2006-06-01 06:37:10jgentrysetstatus: unread -> in-progress
messages: + msg97
2006-05-31 20:54:54sfalconcreate