[JIRA] Created: (EDS-50) Add some asynchrony around loading

Rod Widdowson (JIRA) noreply at shibboleth.net
Sat Nov 3 09:59:07 EDT 2012


Add some asynchrony around loading
----------------------------------

                 Key: EDS-50
                 URL: https://issues.shibboleth.net/jira/browse/EDS-50
             Project: Embedded Discovery Service
          Issue Type: Improvement
            Reporter: Rod Widdowson
            Assignee: Rod Widdowson
            Priority: Minor


I have  noticed of late that when I log in to the Shibboleth SPs there is a marked delay at the DS between getting to the page and the EDS div being displayed.

My suspicion is that this is due to the time for the JSON to be downloaded.  This is done purely synchronously right now and done before any of the discvovery div is made visible.

It shouldn't be too difficult to add some asychrony in here.  As I recall the loading API has a concept similar to an AST in VMS&RSX11 System Service calls - a function to be called on completion.  If we use then then  we can draw of the screen as is possible without any metadata immediately and then  fill in the rest (plus start listening to key strokes) once the metadata is loaded (in the context of the AST)

It is probably worth spending a couple of hours to see if this is easy to do - and then deciding whether to do it or not.  I am aware that there is the potential to allow the user to get ahead f the screen and that could end up badly, unless care is taken.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the commits mailing list