tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: URL Import Question
Date Tue, 29 Apr 2008 14:29:32 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

Christopher Schultz wrote:
| IIRC, each stream requires a thread, which means that all your
| connections are creating lots of threads to manage input and output.

Before everyone jumps all over me, I'd like to redact that statement. I
was not properly caffeinated. URLConnection should be completely
synchronous. Any threading would be handled by the user of the
URLConnection, and typically the request is completely specified before
any data is read from the response, so no additional threads should be
necessary.

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkgXMMwACgkQ9CaO5/Lv0PAtVwCfasoFlyJN0+OEFI2xnEascO8g
LZEAoK+XOGclNgiwpSkJDCXi/qrkA19T
=rNrD
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message