Thursday, October 09, 2014

How many page views can Apex sustain when running on Oracle XE?

Always check out the original article at http://www.oraclequirks.com for latest comments, fixes and updates.


While some people think that hosting a web site on top of Oracle XE can be hardly considered much more than a joke, I can claim instead, basing on my personal experience of the last 5 years, that for small sites it can be a perfectly reasonable choice, provided you have the technical skills required to maintain it.

Here are some figures collected last night when a new type of bot hit one of my websites with a somewhat intense flow of requests compared to the average.

Status log starting from 2014/10/08 20:00:00 to 2014/10/09 04:00:00 +00:00
TimeframeApp IDUser AgentHit count
10/08 20:00XXXXXMozilla/4.0 (compatible; ICS)3902
10/08 20:00XXXXXother agents with hits < 10046
10/08 20:00XXXXX*** Partial Hits by App ***3948
10/08 20:00
*** Partial Hits ALL Apps *** 3948
10/08 21:00XXXXXMozilla/4.0 (compatible; ICS)6381
10/08 21:00XXXXXMozilla/5.0 (compatible; bingbot/2.0; +http://www.bing.com/bingbot.htm)103
10/08 21:00XXXXXother agents with hits < 10017
10/08 21:00XXXXX*** Partial Hits by App ***6501
10/08 21:00
*** Partial Hits ALL Apps *** 6501
10/08 22:00XXXXXMozilla/4.0 (compatible; ICS)8149
10/08 22:00XXXXXother agents with hits < 10039
10/08 22:00XXXXX*** Partial Hits by App ***8188
10/08 22:00
*** Partial Hits ALL Apps *** 8188
10/08 23:00XXXXXMozilla/4.0 (compatible; ICS)8360
10/08 23:00XXXXXother agents with hits < 10052
10/08 23:00XXXXX*** Partial Hits by App ***8412
10/08 23:00
*** Partial Hits ALL Apps *** 8412
10/09 00:00XXXXXMozilla/4.0 (compatible; ICS)8420
10/09 00:00XXXXXother agents with hits < 10030
10/09 00:00XXXXX*** Partial Hits by App ***8450
10/09 00:00
*** Partial Hits ALL Apps *** 8450
10/09 01:00XXXXXMozilla/4.0 (compatible; ICS)8424
10/09 01:00XXXXXother agents with hits < 10073
10/09 01:00XXXXX*** Partial Hits by App ***8497
10/09 01:00
*** Partial Hits ALL Apps *** 8497
10/09 02:00XXXXXMozilla/4.0 (compatible; ICS)8413
10/09 02:00XXXXXother agents with hits < 10084
10/09 02:00XXXXX*** Partial Hits by App ***8497
10/09 02:00
*** Partial Hits ALL Apps *** 8497
10/09 03:00XXXXXMozilla/4.0 (compatible; ICS)1071
10/09 03:00XXXXXother agents with hits < 10029
10/09 03:00XXXXX*** Partial Hits by App ***1100
10/09 03:00
*** Partial Hits ALL Apps *** 1100


*** Total Hits ***53593
App IDApex UserPage IDHit count
XXXXXANONYMOUS153180
XXXXXANONYMOUS1049
XXXXXANONYMOUS187
XXXXXANONYMOUS257
XXXXXANONYMOUS3035
XXXXXANONYMOUS3221
XXXXXANONYMOUS4063
XXXXXANONYMOUS10049
XXXXXANONYMOUS30014
XXXXXANONYMOUS400159
XXXXXANONYMOUS5005
XXXXXANONYMOUS5204
XXXXX*** Total Hits for user ANONYMOUS ***
53593
XXXXX*** Total Hits for app XXXXX ***
53593
No errors found in 53593 log entries 


The blu dots belong to the Apache web server that acts as a proxy, the orange dots are the XE11g database server with Apex 4.2.

The Apache web server runs on a T2 micro instance on Amazon EC2, while the database server is a T2 small instance.

As you see the XE machine is handling pretty well the load which amounts more or less to an average of 2.36 requests per second in the busiest period.

The CPU load of course depends on the type of page visited, in this case most of the pages were not running expensive queries.

The spike at 22:00 hours UTC recorded a daily batch job activity that starts at midnight CET.

No comments:

yes you can!

Two great ways to help us out with a minimal effort. Click on the Google Plus +1 button above or...
We appreciate your support!

latest articles