Sto utilizzando Volley introdotto in Google IO 2013. Eseguo lo stesso URL nel browser e ritorna in meno di un secondo. Mi piacerebbe sapere come posso ottimizzare Volley. Non è chiaro su cosa rappresenta la coda della cache e perché è 3,6 secondi. o perché vengono aggiunti cache queue take e network complete per un tempo di risposta di 6,8 secondi? Come dovrei ottimizzare volley per servizi che non usano ETags. Inoltre, cos'è BasicNetwork.logSlowRequests?Ottimizzazione Volley
Grazie
07-26 09:52:31.395: D/Volley(5651): [4378] BasicNetwork.logSlowRequests: HTTP response for request=<[ ] http://theurl.com/path 0xd6183ced NORMAL 6> [lifetime=3172], [size=940], [rc=200], [retryCount=0]
07-26 09:52:31.400: D/Volley(5651): [4377] BasicNetwork.logSlowRequests: HTTP response for request=<[ ] http://theurl.com/path 0xd6183ced NORMAL 5> [lifetime=3182], [size=940], [rc=200], [retryCount=0]
07-26 09:52:31.445: D/Volley(5651): [1] MarkerLog.finish: (6848 ms) [ ] http://theurl.com/path 0xd6183ced NORMAL 6
07-26 09:52:31.445: D/Volley(5651): [1] MarkerLog.finish: (+0 ) [ 1] add-to-queue
07-26 09:52:31.445: D/Volley(5651): [1] MarkerLog.finish: (+3622) [4376] cache-queue-take
07-26 09:52:31.450: D/Volley(5651): [1] MarkerLog.finish: (+6 ) [4376] cache-hit-expired
07-26 09:52:31.450: D/Volley(5651): [1] MarkerLog.finish: (+0 ) [4378] network-queue-take
07-26 09:52:31.450: D/Volley(5651): [1] MarkerLog.finish: (+3173) [4378] network-http-complete
07-26 09:52:31.450: D/Volley(5651): [1] MarkerLog.finish: (+36 ) [4378] network-parse-complete
07-26 09:52:31.450: D/Volley(5651): [1] MarkerLog.finish: (+11 ) [4378] network-cache-written
07-26 09:52:31.450: D/Volley(5651): [1] MarkerLog.finish: (+0 ) [4378] post-response
07-26 09:52:31.455: D/Volley(5651): [1] MarkerLog.finish: (+0 ) [ 1] done
07-26 09:52:31.455: D/
07-26 09:52:31.525: D/Volley(5651): [1] MarkerLog.finish: (6998 ms) [ ] http://myurl 0xd6183ced NORMAL 5
07-26 09:52:31.525: D/Volley(5651): [1] MarkerLog.finish: (+0 ) [ 1] add-to-queue
07-26 09:52:31.530: D/Volley(5651): [1] MarkerLog.finish: (+3683) [4376] cache-queue-take
07-26 09:52:31.530: D/Volley(5651): [1] MarkerLog.finish: (+7 ) [4376] cache-hit-expired
07-26 09:52:31.530: D/Volley(5651): [1] MarkerLog.finish: (+1 ) [4377] network-queue-take
07-26 09:52:31.530: D/Volley(5651): [1] MarkerLog.finish: (+3184) [4377] network-http-complete
07-26 09:52:31.535: D/Volley(5651): [1] MarkerLog.finish: (+39 ) [4377] network-parse-complete
07-26 09:52:31.535: D/Volley(5651): [1] MarkerLog.finish: (+21 ) [4377] network-cache-written
07-26 09:52:31.535: D/Volley(5651): [1] MarkerLog.finish: (+0 ) [4377] post-response
07-26 09:52:31.535: D/Volley(5651): [1] MarkerLog.finish: (+63 ) [ 1] done
qualcuno in ascolto su Android-volley? – gitright
[controllare questo] (http://androidcustomviews.com/portfolio/volley-easy-fast-networking-for-android/) potrebbe essere utile. –