Benchmark for AWS (Ada Web Server)
This is an entry for the benchmark suit of the tests run by TechEmpower, using the AWS framework.
The structure is simple: the URL is taken and parsed and the page portion is used to look up and execute a callback that has been associated with that string. If there is no such association, then the error-page displays the submitted URL's page and the registered pages.
Generally, the tests are of the form
adb files– with three exceptions:
tests.get_callbacks — The function returning the associated callbacks.
tests.callbacks — The package containing the callbacks and listing functions (
get_callbacks is used to initialize the constant used by the system).
tests.database — The package for interfacing into the database; interface is intended to be accomplished via
1: JSON serialization
2: Single database query
3: Multiple database queries
5: Database updates
I could not get any database interfacing working acceptably on my home machine, I was going to use InterBase/ODBC but the ODBC manager itself seemed unable to associate with the
FRAMEWORK_TEST.IB file except under odd circumstances.