Performance of discojuice showing entities seems slow

26 views
Skip to first unread message

chris phillips

unread,
Jul 4, 2013, 8:55:37 AM7/4/13
to disco...@googlegroups.com
Hi.

I'm experiencing latency for entities to show up in the selection list and am trying to pinpoint the challenge.
Latencies are a few seconds on top of the the 500ms page render of the single index.php file. Sometimes end to end is 6 seconds.  Way too long.

I have two entities that are being shown which are inlined in the javascript and that's it which is why I'm surprised it has such long latencies.

I'm seeing 400ms response times from store.discojuice.com and digging into what the request looks like.  I'm more than happy to run a 'local, federation operated' store myself if that resolves the problem.
I've also looked at the 

I've read Andreas' explanation of how discojuice works[1] and suspect it's the discovery protocol bits that are slow, but that's just a hypothesis at this stage.


From an implementation perspective, I have left the feeds entry 'blank'(suppressing the site name for now):

e,g, 
 var djc = DiscoJuice.Hosted.getConfig(
        "the title of the  site",

);
and then do 2 inline entities.

Not sure if this is one of the causes of the latency. 
I am going through analyzing the network traffic with the Charles proxy to see what's flying around and from where given the sophisticated calls that are going on.
I'm also looking into the javascript debug window to see if it reveals anything there.

Thoughts and comments welcome.

Chris.





Reply all
Reply to author
Forward
0 new messages