Hopefully you have a big VMWare or Xen cluster in your office; if not, just pay Amazon or Rackspace to host an instance for a few days. Most importantly, write scripts to set up these servers. Write a script to do all the manual fix-ups that the environment requires i.e. installing programs, changing configuration settings, and copying files . Eventually, the goal is to hit a button and have a test development environment magically appear.Once the environment is restored, get your unit tests running. Verify that all your unit tests work. You'd be surprised how often these unit tests fail! Keep at it until your isolated environment passes all the tests. If you don't have tests, well hellip; now would be a great time to write a few.Refactor the program and break out the task you want to improve. I virtually guarantee you that your task is wrapped up in lots of layers of unnecessary code. Try to redo the task so it can be run all by itself, without triggering any other systems. Ideally, it could be a command line program run with a small selection of options.With this in place, you have everything you need to start breaking down the problem.Monitoring is peopleNext, you need to know how the task is working in order to know what to improve. You need some statistics; meaningful ones, something better than CPU Memory Disk utilization. Here are some useful statistics you might want to gather:Duration ndash; How long does the task take to run? How long did it take back when everyone used to be happy with it?Errors amp; Warnings ndash; How many errors, if any, does the task encounter when it runs? Do you have a full log output from each time the task runs?How often is it supposed to run? Is it supposed to work daily but they only run it weekly? Do they wish it was continuous?Size of the task queue. How many items are waiting to be processed?Average wait time. How long does an average item take to process?Monitoring can go great with a command line task. I like to build long running server tasks as command line executables which record their progress in the database when they launch and when they finish. I can then use a clever performance monitoring package to check how long the task took to run. I take the task's console output logs and write them to disk and cycle them out after a reasonable period of time ndash; say 90 days.Fixing performanceSo now that you've got a working environment, rs gold try drawing up a flowchart of the steps the application goes through. Break it down to meaningful levels and explain it to the guy or girl sitting next to you, even if that person doesn't know anything about the program in fact, if you have to explain it to somebody new, it's often better ndash; the challenge forces you to clarify your thoughts .With this flowchart in hand, let's start trying to figure out what kind of a performance problem we have.Sequential tasks that could be run in parallel ndash; Check the dependencies in each stage; can you fire off three steps at once and then just wait for them all to finish?Data that can be pre-computed and cached ndash; Is there any work that can be moved outside of the task? For example, let's imagine my program builds a taxi price chart for London and updates it each week. It doesn't make sense to have my program query Google Maps for distance information each week; instead, I should gather that data once, cache it, and only update it on demand. Perhaps you should set an "age" limit on each cached data element and have a secondary task go through and parse the old data periodically?Work that can be divided ndash; Sooner or later, in every big complex task, you find the core: the gigantic loop that hits every data element in your project. When you finally find this part you'll know you're getting close to the end. This is the component that you want to "Map Reduce": you have tons of data and a small element of code that must be run on each item of data.What happens if you can't map reduce your data? Don't worry: even if you're not writing for a Hadoop environment you can still split up the work. Consider writing an inherently parallel version of your program that runs multiple items at once. What prevents you from running two threads at once? Ten? Twenty? What prevents you from having dozens of servers doing this work at the same time?The answer is likely to be well understood by anyone who does parallel work: synchronization and bottlenecks. You synchronize your tasks by making sure each server doesn't interfere with the next one, and you identify the bottlenecks by noticing where the pain occurs.stay at the very light, casual level. Some of them will level-up, so to speak, and become more serious Runeacape gamers. " A good example of this is the firm's E3 focus being not just on big boxed Runeacape games, but also on Quantum Conundrum, the digitally-distributed first-person puzzler designed by Kim Swift of Portal fame. It's been created in a year with just a small team at Airtight Runeacape games, but recent titles like Fez, Journey and The Walking Dead have hit big on downloads market, so the upside potential is good.