On Sat, Nov 21, 2020 at 10:03 PM Daniel Singh <dannybwoy2...@hotmail.com>
wrote:

> Hi,
>
>
>
> Is there any reason that org.apache.http.impl.client.HttpClients (from
> org.apache.httpcomponents) can’t be used instead?
>

Extra dependency, we don't always need to go those lengths. Also, by
experience, once things are deployed it helps
to have two choices, sometimes one works and the other does not (it's not
always possible to go back to the code,
change, rebuild, redeploy).

MultithreadedHttpClient uses Commons HTTPClient (the old one), if you have
resources to upgrade to HTTPClient 4
it would be very much appreciated. It's something several would like to
see, but we lack funding to do so in working hours.


>  It looks like it handles connection pooling as well as well as allowing
> asynchronous requests. It looks as though MultithreadedHttpClient was
> written before this became available so it would make sense to swap it out
> to reduce the maintenance burden in GeoTools.
>

Asynchronous requests are not really a "need" for the downstream code we
have (GeoServer), everything is synchronous, if we made an async
request then we'd have to stop and wait anyways. If people with this need
want to chime in, and become the maintainer of a HTTP client module,
they are more than welcomed to do so.

Same goes for support for SSL and certificate authentication. All good
stuff, you're welcome to contribute and then maintain such code.
Core devs are maxed out already, if we get contracts and business hours to
develop something, we also grow the knowledge needed
to have easier maintenance down the road. Maintaining code that someone
else developed, and dropped on us, is, in the current situation,
and from my personal point of view, unsustainable. Other core devs might
think differently. If you cannot do long term maintenance of
new functionalities it would be ideal if you can find a core dev "sponsor"
that will do the maintenance on your behalf.

Cheers
Andrea


== GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information. == Ing. Andrea Aime @geowolf
Technical Lead GeoSolutions S.A.S. Via di Montramito 3/A 55054 Massarosa
(LU) phone: +39 0584 962313 fax: +39 0584 1660272 mob: +39 339 8844549
http://www.geo-solutions.it http://twitter.com/geosolutions_it
------------------------------------------------------- *Con riferimento
alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 -
Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni
circostanza inerente alla presente email (il suo contenuto, gli eventuali
allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i
destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per
errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le
sarei comunque grato se potesse darmene notizia. This email is intended
only for the person or entity to which it is addressed and may contain
information that is privileged, confidential or otherwise protected from
disclosure. We remind that - as provided by European Regulation 2016/679
“GDPR” - copying, dissemination or use of this e-mail or the information
herein by anyone other than the intended recipient is prohibited. If you
have received this email by mistake, please notify us immediately by
telephone or e-mail.*
_______________________________________________
GeoTools-Devel mailing list
GeoTools-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to