The for API servers, we'll look at 3 different API calls:
- An simple API call that has no database interaction (e.g., a function that just returns the current time)
- A function that implements a basic authentication - (e.g., inputs: username and password, output: auth token)
- A function that pulls a fair amount of data from a database, packages it up, and ships the data back.
- LAMP stack using POX (plain old XML) - The P being PHP in this stack.
- Tomcat (Java) using servlets to process POX
- Tomcat (Java) SOAP using Axis2
- C++ using libxml++ -- stand-alone server using POX
- C++ using gSOAP
I've dabbled in the various areas above, but I'm ready for a deep dive into each stack to be able to gain the expertise to do a real apples-to-apples comparison. The tests will consist of running each script a number of times in a row (say 100), and measuring the average, min, max, and standard deviation, to see how consistent each stack is. We'll also be running MySQL with caching disabled for the database calls, to eliminate caching as a source of variation (we'll turn it back on when we look at optimizing some of the stacks).
No comments:
Post a Comment