Select to view content in your preferred language

Queue vs BackgroudWorker ... when rendering 1000+ symbols

565
1
07-20-2010 01:16 PM
richardboyd
Deactivated User
We are having performance issues rendering 1000+ symbols.

An earlier post got a reply (thanx Rex) that suggested we replace the ESRI PictureMarkerSymbol ... with the Silverlight ImageBrush.
That "fix" worked.

But in general, it seems we are left with two options.


  1. Use the System.Collections.Generic.Queue ... and have the rendering start almost immediately and the screen remaining interactive.

  2. Use the System.ComponentModel.BackgroundWorker  threads to have the fastest rendering ... but have the screen "freeze" until rendering has finished.


Is there a better way to handle rendering 1000+ symbols?
( ... or 5000+ symbols !! )
Note ... the symbols may be any concurrent mix of Points, Lines, Polygons.

A summary of the problem can be found at ...
http://rem7.info/rgia/esri/Rendering_Performance.html

Any better suggestions on way to handle this?  🙂

Thanx.

-richard-
0 Kudos
1 Reply
dotMorten_esri
Esri Notable Contributor
Unfortunately UI has to be rendered on the UI thread, so a background worker wont help.
I suggest you watch the performance portion of this session:
http://proceedings.esri.com/library/userconf/devsummit10/tech/tech_53.html
0 Kudos