Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App is very slow to load on Tor (or slow) connections #2

Open
hivewallet opened this issue Oct 26, 2013 · 10 comments
Open

App is very slow to load on Tor (or slow) connections #2

hivewallet opened this issue Oct 26, 2013 · 10 comments

Comments

@hivewallet
Copy link
Collaborator

Get the spinning beachball often, for up to 3-4 seconds. Also on first-load.

@weilu
Copy link
Member

weilu commented Apr 25, 2014

I believe the beachball was caused by synchronized ajax calls (wtf?!). That issue is solved in #3.

I don't know how we can help with slowness with Tor tough, given that this is just an app that talks to localbitcoins APIs. Any general advice on building apps (client and server) that are Tor friendly? @javgh @jsuder @w-hive?

@ghost
Copy link

ghost commented Apr 25, 2014

I suggest doing whatever @tgerring did when making the Bitstamp app, which works great. :)

@weilu
Copy link
Member

weilu commented Apr 25, 2014

@ghost
Copy link

ghost commented Apr 25, 2014

Cache things, give feedback to clicks even before data is returned, etc.

@mackuba
Copy link
Member

mackuba commented Apr 25, 2014

I'm pretty sure this was all about the sync requests, and you can probably just close this.

@tgerring
Copy link
Member

If there are still performance issues with this, we can take a look at the resources being loaded locally vs remotely. One of the reasons that the hiveapp-bitstamptrader app was so network performant is because all data is local except small bits that it needs from API calls :)

@weilu
Copy link
Member

weilu commented Apr 26, 2014

@w-hive A new version of this app is available in app store. Why don't you give it a try on Tor see if we can close this?

@ghost
Copy link

ghost commented Apr 26, 2014

Doesn't work. Hangs here.

screen shot 2014-04-26 at 4 39 24 pm

@weilu
Copy link
Member

weilu commented Apr 26, 2014

Doesn't load at all or takes super long to load? It took me ~2 seconds to see results for Thailand without Tor

@ghost
Copy link

ghost commented Apr 26, 2014

Didn't load at all in that case, upon reload worked after about 10 seconds. Unreliable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants