Announcement

Collapse
No announcement yet.

EP counts

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • EP counts

    I read the document, but still not sure how the EP counts. Can anyone show some examples, please?
    If I visit a webpage made with PHP / MySQL, let's say the page includes 10 images, 5 Javascript files, 2 CSS files. How many EP will it be? Only one connection? Or 17 or 18 concurrent connections?

  • #2
    Static files are not counted toward EP. Images, javascript, CSS are not taken into consideration.

    The best way to understand is to imagine that Apache is connecting to PHP to compile a page, and only that connection is counted as EP. Basically, it means 1 website visitor to PHP is counted as 1 EP for a period of time needed by PHP to produce a page. Usually, it is blazing fast, however with slow MySQL (Apache -> php -> Mysql waiting time) the EP could stay active for some time. As soon as PHP rendered a page the EP is reduced and static files are transferred to the visitor with EP = 0.

    Comment

    Working...
    X