Coder Social home page Coder Social logo

Comments (5)

Bonbhel avatar Bonbhel commented on September 27, 2024

C'est Go pour moi.

Tout est dit :
*
You can try OkHttp without rewriting your network code. The core module
implements the familiar java.net.HttpURLConnection API. And the optional
okhttp-apache module implements the Apache HttpClient API.*

2013/8/2 Patrick [email protected]


Reply to this email directly or view it on GitHubhttps://github.com//issues/27
.

Max Bonbhel - http://www.bonbhel.com/
Congo JUG Leader - http://www.congojug.com/
JCertif Founder and Managing Director - http://www.jcertif.com
JUG-AFRICA President - http://java.net/projects/jug-africa/pages/Home

Java.net Blogger : http://weblogs.java.net/blog/bonbhel/
LinkedIn : http://ca.linkedin.com/in/bonbhel

Twitter : http://twitter.com/bonbhel
Google+ : gplus.to/maxbonbhel

from jcertif-android-2013.

bashizip avatar bashizip commented on September 27, 2024

En effet @max c'est juste quelques lignes a remplacer dans une seule classe.
L'avantage par contre est énorme :

  • support complet de Picasso , a savoir le cache sur disque et autres optimisations .
  • usage du protocole spyd avec ses avantages (voir le lien ci haut )

Ça vaut le coup :)

from jcertif-android-2013.

Bonbhel avatar Bonbhel commented on September 27, 2024

Je viens d'implémenter quelques tests basique :

  1. Appel d'un Webservice qui retourne un gros volume avec Apache
    HttpClient (temps de latence)
  2. Appel d'un Webservice qui retourne un gros volume avec Apache
    HttpClient + un Thread spécial (pas temps de latence)
  3. Appel d'un Webservice qui retourne un gros volume avec OkHttp (Pas de
    temps de latence apparent)
  4. Appel d'un Webservice qui retourne un gros volume avec Apache
    HttpClient + un Thread spécial (Pas de temps de latence apparent)

Le 2 août 2013 05:07, Patrick [email protected] a écrit :

En effet @max https://github.com/Max c'est juste quelques lignes a
remplacer dans une seule classe.
L'avantage par contre est énorme :

  • support complet de Picasso , a savoir le cache sur disque et autres
    optimisations .
  • usage du protocole spyd avec ses avantages (voir le lien ci haut )

Ça vaut le coup :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-21994507
.

Max Bonbhel - http://www.bonbhel.com/
Congo JUG Leader - http://www.congojug.com/
JCertif Founder and Managing Director - http://www.jcertif.com
JUG-AFRICA President - http://java.net/projects/jug-africa/pages/Home

Java.net Blogger : http://weblogs.java.net/blog/bonbhel/
LinkedIn : http://ca.linkedin.com/in/bonbhel

Twitter : http://twitter.com/bonbhel
Google+ : gplus.to/maxbonbhel

from jcertif-android-2013.

Bonbhel avatar Bonbhel commented on September 27, 2024

+1 pour la taille 190 Ko.
Mais ça s'ajoute aux Ko native d'Apache HttpClient

Le 2 août 2013 05:16, Max Bonbhel [email protected] a écrit :

Je viens d'implémenter quelques tests basique :

  1. Appel d'un Webservice qui retourne un gros volume avec Apache
    HttpClient (temps de latence)
  2. Appel d'un Webservice qui retourne un gros volume avec Apache
    HttpClient + un Thread spécial (pas temps de latence)
  3. Appel d'un Webservice qui retourne un gros volume avec OkHttp (Pas
    de temps de latence apparent)
  4. Appel d'un Webservice qui retourne un gros volume avec Apache
    HttpClient + un Thread spécial (Pas de temps de latence apparent)

Le 2 août 2013 05:07, Patrick [email protected] a écrit :

En effet @max https://github.com/Max c'est juste quelques lignes a

remplacer dans une seule classe.
L'avantage par contre est énorme :

  • support complet de Picasso , a savoir le cache sur disque et autres
    optimisations .
  • usage du protocole spyd avec ses avantages (voir le lien ci haut )

Ça vaut le coup :)


Reply to this email directly or view it on GitHubhttps://github.com//issues/27#issuecomment-21994507
.

Max Bonbhel - http://www.bonbhel.com/
Congo JUG Leader - http://www.congojug.com/
JCertif Founder and Managing Director - http://www.jcertif.com
JUG-AFRICA President - http://java.net/projects/jug-africa/pages/Home

Java.net Blogger : http://weblogs.java.net/blog/bonbhel/
LinkedIn : http://ca.linkedin.com/in/bonbhel

Twitter : http://twitter.com/bonbhel
Google+ : gplus.to/maxbonbhel

Max Bonbhel - http://www.bonbhel.com/
Congo JUG Leader - http://www.congojug.com/
JCertif Founder and Managing Director - http://www.jcertif.com
JUG-AFRICA President - http://java.net/projects/jug-africa/pages/Home

Java.net Blogger : http://weblogs.java.net/blog/bonbhel/
LinkedIn : http://ca.linkedin.com/in/bonbhel

Twitter : http://twitter.com/bonbhel
Google+ : gplus.to/maxbonbhel

from jcertif-android-2013.

bashizip avatar bashizip commented on September 27, 2024

Somme toutes. Pour l'instant on va d'abord le mettre de côté et continuer
avec l'existant. Une fois assez avancé côté présentation , on fera un
refactoring .Entre temps on perdra la mise en cache sur disque des images
(Picasso) mais nous avons le cache mémoire entre temps .
Le souci est que le support partiel de okhttp (simple ajout au classpath)
ramène un bug très célèbre : square/okhttp#227

from jcertif-android-2013.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.