This blog has, IMO, some great resources. Unfortunately, some of those resources are becoming less relevant. I'm still blogging, learning tech and helping others...please find me at my new home on http://www.jameschambers.com/.

Friday, April 17, 2009

Performance-holic

I have made a number of configuration and code changes today that should improve the performance of EMS overall.  I’ve already had some good feedback and hopefully the boat will remain stable.

In particular, our users should notice performance gains when searching for and drilling into customers, service orders and work orders.

Here’s a list of some, but not all, of the optimizations:

  1. added indexes to all the common tables (the ones with the most records) to cover the most common fields
  2. increased the memory allocated to the query engine
  3. increased the caching limits
  4. modified startup parameters in MySql to allow for a bigger buffer and dictionary store
  5. increased total key and sort buffers
  6. scheduled daily worker process recycling in the application pool for IIS
  7. scheduled worker process recycling after every 5000 requests (was at 35000)
  8. reduced the number of applications in the EMS pool
  9. stopped unnecessary Windows services and set them to manual startup
  10. changed any queries marked as long running by MySql to include a where clause limiting the number of records returned (specifically for queries that end users don't see, like when the code is only used to template out the columns).

That should help us hold out for the short term. 

Now…off to the real work…

No comments:

Post a Comment