Transcript
00:01That’s me. I'm going to talk about strategies that we did for our Travel Information Map for Wyoming.
00:06We got some interesting weather in Wyoming, if you didn't know that.
00:11We don't have many residents, if you don't count the antelope, but a lot of traffic…
00:15…particularly on the major transportation corridors like I-80.
00:18Our goal is to provide the best information we can to a traveling public so they can make decisions about whether to go out.
00:26Bad weather is when we see the most traffic; when the weather's nice, we got nothing. Bad weather, we get hammered.
00:32That's when we need to get our information out the most, so we need to handle, or plan for the worst-case scenario.
00:39We've targeted high throughput, primarily because that improves or increases our capacity.
00:45Secondarily, it provides a better user experience. So, basic strategies…
00:51…make the map service fast; I'll talk more about that in a minute.
00:55Get somebody else to serve your basemap. We use Google; Esri can do it.
01:00We do a lot of other stuff without ArcGIS Server, which I'll talk about, in order to reserve service capacity…
01:05…to generate our maps as fast as possible. And finally, make the web application itself fast.
01:12Make the map service fast. There was a talk earlier today about performance strategies.
01:16I'm not going to talk about any of that and do all of that.
01:20What we've done above and beyond that is, our data's dynamic, so we can't do tiled. We have to do dynamic service.
01:26We use the Analyze tool in ArcMap to get through all those humps. We use the optimized map service…
01:31…from the MSDs. We found that choosing your Join syntax can be crucial. We had a case of…
01:37…a map service that was taking four seconds to render. We changed the syntax to the join…
01:41…got it down to a hundred milliseconds.
01:44Finally, test, test, test, which really should be measure, measure, measure.
01:48We've used an internally developed tool called Hammer. Lately we've been using JMeter.
01:52You can do all kinds of tests with JMeter. Other stuff. We have a number of things on our map.
01:59Alerts and closures, web cameras, weather stations, all that stuff. Those are all served JSON. None of it hit…
02:05None of it hits ArcGIS Server. Again, reserve Server for generating maps.
02:11They're all georeference points that are precomputed, so no geometry involved to them...
02:16…other than just serving up lat-longs. The Google interface will plop in the map for us.
02:21Finally, make the web application itself fast.
02:25You want to minimize the number of files you load by combining files, things into single files.
02:30I'd bundle all the CSS and JavaScript I can into a single file. I actually work with them as separate files…
02:36…during development, but at deployment, combines into one big load.
02:40Put your styles at top so things look pretty fast. Put your scripts at the bottom, and then your scripts are going to run…
02:46…until everything is loaded anyway, so make it look pretty first, and then get your script-based functionality.
02:52Finally, we serve our static content with the Apache web server. We do our dynamic stuff with Tomcat.
02:58Tomcat's fast, but Apache web server is faster. References...
03:05A book by Steve Souders. Highly recommend it. It's got a lot of tips. It's not thick, but it's got good stuff.
03:11And Apache JMeter. It's very useful. Thanks.
Web Map Performance Strategies
David Rush of the Wyoming Department of Transportation shares his approach for creating a traffic and road conditions map for the state of Wyoming.
- Recorded: Mar 27th, 2012
- Runtime: 03:14
- Views: 2305
- Published: May 31st, 2012
- Night Mode (Off)Automatically dim the web site while the video is playing. A few seconds after you start watching the video and stop moving your mouse, your screen will dim. You can auto save this option if you login.
- HTML5 Video (Off) Play videos using HTML5 Video instead of flash. A modern web browser is required to view videos using HTML5.
Right-click on these links to download and save this video.
- 480x270:WebM (7.2 MB)MP4 (7.4 MB)
- 960x540:WebM (18.6 MB)MP4 (19.0 MB)
If you don't have an Esri Global Login ID, please register here.