Measuring on Read-Intensive News Sites

[About] [Source code] [Measurement data] [Problem definition] [Conclusion] [Contact us]

About

This web site is made in connection with our master thesis (pdf) written in spring 2005 for IDI, NTNU.

Our master thesis builds to some extent on the our pre-project (pdf), written fall 2004. On this site we will present additional support material to this thesis.

Source code

In our thesis we have programmed a Resource Function Workbench. This is somethings which aids in the measuring and data collection fase. It should be fairly easy to reuse this on similar projects, so we have included the source code of the scripts below.

The scripts used can by found here. Click on the appropirate directory to find the script which you are looking for. Please consult Chapter 9 and/or Appendix C for further explainations of the scripts (all the scripts can be opened in notepad).

Measurement data

Below is the spreadsheets contains a in-depth summary of all the mesurements. These files are in excel format.

  • The measurements for web on the old node (here)
  • The measurements for web on the new node (here)
  • The measurements for database on the new node (here)

  • All the individual measurements can be found as a zipped archieve.

    Conclusion

    We have in this thesis continued the work started in our project, i.e. to explore the practical and economic feasibility of assessing the scalability of a read-intensive large-scale Internet site. To do this we have installed the main components in a news site using open source software. This scalability exploration has been driven by the scaling scenario of increased article size. We have managed to assess the scalability of our system in a good way, but it has been more time consuming and knowledge demanding than expected. This means that the feasibility of such a study is lesser than we expected, but if the experiences and the method of this thesis are applied, such a study should be more feasible. We have assessed the scalability of a general web architecture, and this means that our approach can be applied to all read-intensive web sites and not just the one looked at in the. This general focus is one of the strengths with this thesis. One of the objectives in our thesis was to make a resource function workbench (RFW) that is a framework which aids in the measuring and data interpretation. We feel that our RFW is one of the most important outcomes from this thesis, because it should be easy to reuse, thus saving time for future projects and making the feasibility of such a study higher. In Chapter 11 we discuss the main findings in our thesis, and one of the most important is that the impact of increased article size on the throughput is bigger than expected. A small increase in article size, especially image size, leads to a clear decrease in the throughput. This reduction is larger on the small image sizes that on the large ones. This has wide implications for news sites, as many of them expect to increase the article size and still use the same system. Another major finding is that it is hard to predict the effects a scale-up of one or more components (a non-uniform scaling) will have on the throughput. This is because the throughput have different levels of dependency on the components on different image/text sizes. As we have seen the effects of the scale-up on the throughput varied between the different image sizes (a increase in throughput by 4.5 on 100 KB, but only an increase by a factor of 3.2 on image size 300 KB). In our case we have performed a non-uniform scaling, where we have increased the CPU by 2.4 and the disk by 1.1 On some image sizes and text sizes, the overall throughput was increased by a factor 10, but on others there was almost no improvement. The implications this have for web sites, is that it is hard for them to predict how system alternations will affect the overall throughput. As it is dependant on the current image and article size. It was an open question whether or not a dynamic model of the system could be constructed and solved. We have managed to construct the dynamic model, but the predictions it makes are a bit crude. However, we feel that creating a dynamic model has been very useful, and we believe it can make valuable predictions if the accuracy of the parameters are improved. This should be feasible, as our measurements should be easy to recreate. This thesis has been very demanding, because scalability requires a wide field of knowledge (statistics, hardware, software, programming, measurements etc). This has made this work very instructive, as we have gained knowledge in so many different aspects of computer science. Ideally, the thesis should have a larger time span, as the there are so many time consuming phases, which would have been interesting to spend more time on. As consequence of this short time span there are some further work which can be conducted in order to gain further valuable knowledge.

  • Perform more measurements with different cache levels to fully explore its effects.
  • Look into the problems with the disk measurements on the old disk.
  • Spend some time validating the response time, so that the accuracy of the prediction made by the dynamic model can be increased.
  • Investigate the effects of a scale-up on the database.
  • Measure on a system which allows the same scale-up on all major components (memory, CPU and disk).
  • Continue the work of the resource function workbench, to make it less domain specific.
  • Contact us

    Olav Gisle TveitenJørgen Ruud
    email:olavgisl@idi.ntnu.no email:jorgenru@idi.ntnu.no