It was implemented to get greater scalablity, the registry is called every
time a JAI operation is instantiated
from the parameter block and the old implementation was limiting GeoServer
ability to run concurrent raster requests.

Cheers
Andrea

On Mon, Sep 17, 2018 at 2:35 PM Víctor González <[email protected]>
wrote:

> Hi,
>
> I have a question regarding the custom implementation of the JAI
> OperationRegistry:
>
>
> https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/jai/ConcurrentOperationRegistry.java
>
> https://github.com/geoserver/geoserver/blob/master/src/main/src/main/java/org/geoserver/GeoserverInitStartupListener.java#L128
>
> I've checked the code and it mainly replaces the default implementation
> with a new one using java.util.concurrent locks instead of old JAI locks.
>
> However I couldn't find any more info about it. Do you remember why was
> this implemented? Was it just a matter of performance or did you find any
> concurrency issues? Do you know whether it can have any functional
> implications or not?
>
> Thanks in advance.
> --
> Víctor González
> http://geomati.co
> _______________________________________________
> Geoserver-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>


-- 

Regards, Andrea Aime == 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.*
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to