[Geoserver-devel] Multiple rendering requests for a single WMS call

Dear All,
I noticed that a single WMS call generates multiple underlying
rendering requests.
Is this a side effect of the latest changes with the refactor on WMS
tht Gabriel did?
I guess it is worth double checking since this is rather scary :).

Ciao,
Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313
mob: +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------

On Fri, Jan 28, 2011 at 1:58 PM, Simone Giannecchini
<simone.giannecchini@anonymised.com> wrote:

Dear All,
I noticed that a single WMS call generates multiple underlying
rendering requests.
Is this a side effect of the latest changes with the refactor on WMS
tht Gabriel did?
I guess it is worth double checking since this is rather scary :).

Simone,
do you have details on how to reproduce this? Like, is this happening for
any request, does it have to have a particular layout (thinking compatibility
with the GWC tilesets).
Where does one put the breakpoint to see the multiple requests happening?

Cheers
Andrea

--
Ing. Andrea Aime
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

I am seeing it with a raster mosaic.
Put a brakpoint anywhere inside the direct raster path.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313
mob: +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------

On Fri, Jan 28, 2011 at 2:42 PM, Andrea Aime
<andrea.aime@anonymised.com> wrote:

On Fri, Jan 28, 2011 at 1:58 PM, Simone Giannecchini
<simone.giannecchini@anonymised.com> wrote:

Dear All,
I noticed that a single WMS call generates multiple underlying
rendering requests.
Is this a side effect of the latest changes with the refactor on WMS
tht Gabriel did?
I guess it is worth double checking since this is rather scary :).

Simone,
do you have details on how to reproduce this? Like, is this happening for
any request, does it have to have a particular layout (thinking compatibility
with the GWC tilesets).
Where does one put the breakpoint to see the multiple requests happening?

Cheers
Andrea

--
Ing. Andrea Aime
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-----------------------------------------------------

scary as it sounds I dont't seem to be able of reproducing.

Simone can you send a request against the default nurc:mosaic layer that
makes this happen? I'd be certainly surprised that rendering is called
twice for a single request and can't think of a reason for that to
happen, but in any case will fix it asap if that's the case, I just
can't reproduce so far.

Gabriel

On Fri, 2011-01-28 at 15:09 +0100, Simone Giannecchini wrote:

I am seeing it with a raster mosaic.
Put a brakpoint anywhere inside the direct raster path.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313
mob: +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------

On Fri, Jan 28, 2011 at 2:42 PM, Andrea Aime
<andrea.aime@anonymised.com> wrote:
> On Fri, Jan 28, 2011 at 1:58 PM, Simone Giannecchini
> <simone.giannecchini@anonymised.com> wrote:
>> Dear All,
>> I noticed that a single WMS call generates multiple underlying
>> rendering requests.
>> Is this a side effect of the latest changes with the refactor on WMS
>> tht Gabriel did?
>> I guess it is worth double checking since this is rather scary :).
>
> Simone,
> do you have details on how to reproduce this? Like, is this happening for
> any request, does it have to have a particular layout (thinking compatibility
> with the GWC tilesets).
> Where does one put the breakpoint to see the multiple requests happening?
>
> Cheers
> Andrea
>
> --
> Ing. Andrea Aime
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax: +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------
>
>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Gabriel Roldan
groldan@anonymised.com
Expert service straight from the developers

Ciao Gabriel,
i delete the nurc:mosaic store and recreated it likewise the old one.

Now, I have put a breakpoint inside the read method if
ImageMosaicReader and then I have sent this request:

http://localhost:8080/geoserver/wms?LAYERS=mosaic&FORMAT=image%2Fjpeg&TILED=false&TILESORIGIN=706433.48857411%2C4368532.7140124&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=epsg%3A3857&BBOX=706433.48857411,4368532.7140124,2318784.9932239,5980884.2186622&WIDTH=256&HEIGHT=256

I hit the breakpoint twice in a row, which means I am going to read
from disk twice.

As I said, I did not investigate, but I noticed this while doing some
optimizations on the mosaic and I though it was worth reporting.

Ciao,
Simone.

-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313
mob: +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------

On Fri, Jan 28, 2011 at 4:26 PM, Gabriel Roldán <groldan@anonymised.com> wrote:

scary as it sounds I dont't seem to be able of reproducing.

Simone can you send a request against the default nurc:mosaic layer that
makes this happen? I'd be certainly surprised that rendering is called
twice for a single request and can't think of a reason for that to
happen, but in any case will fix it asap if that's the case, I just
can't reproduce so far.

Gabriel

On Fri, 2011-01-28 at 15:09 +0100, Simone Giannecchini wrote:

I am seeing it with a raster mosaic.
Put a brakpoint anywhere inside the direct raster path.

Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy

phone: +39 0584962313
fax: +39 0584962313
mob: +39 333 8128928

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------

On Fri, Jan 28, 2011 at 2:42 PM, Andrea Aime
<andrea.aime@anonymised.com> wrote:
> On Fri, Jan 28, 2011 at 1:58 PM, Simone Giannecchini
> <simone.giannecchini@anonymised.com> wrote:
>> Dear All,
>> I noticed that a single WMS call generates multiple underlying
>> rendering requests.
>> Is this a side effect of the latest changes with the refactor on WMS
>> tht Gabriel did?
>> I guess it is worth double checking since this is rather scary :).
>
> Simone,
> do you have details on how to reproduce this? Like, is this happening for
> any request, does it have to have a particular layout (thinking compatibility
> with the GWC tilesets).
> Where does one put the breakpoint to see the multiple requests happening?
>
> Cheers
> Andrea
>
> --
> Ing. Andrea Aime
> Technical Lead
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax: +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------
>
>

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Gabriel Roldan
groldan@anonymised.com
Expert service straight from the developers

------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel