-
☆ A M B ☆
- 24,524 Posts
Ah, the light flashes on at last! Now I know where the "sticky bit" comes from! Somebody implemented a "coffee bit", and of course spilled it on his keyboard, and voila... sticky bit!
(for the UNIX-impaired:
http://en.wikipedia.org/wiki/Sticky_bit)
I do that all the time with my snippets, especially when doing development on them. I’m not sure about plugins but I would think it would work there as well.
Just thought I would add my two cents.
I ran http_load against Modx on my test server and got similar results:
http_load -parallel 5 -fetches 100 /home/mregan/bin/test.url
100 fetches, 5 max parallel, 773600 bytes, in 5.45256 seconds
7736 mean bytes/connection
18.34 fetches/sec, 141878 bytes/sec
msecs/connect: 0.15374 mean, 0.237 max, 0.027 min
msecs/first-response: 271.273 mean, 5452.32 max, 53.746 min
HTTP response codes:
code 200 -- 100
However, I thought that was pretty good. When I run it against the same code on a shared host machine I get much slower response.
You can’t blame the Modx cache for all the delays. (Although it is a bit of a bear.) There are two other bottle necks the .htaccess and the start time for PHP.
Anyway - just a thought.
Some one asked about other CMS respose times. I ran the same test against WordPess on the same test server - just the intro I don’t have any entries - it was 10 fetches/sec
I try to test modx 096 with HttpTrafficGen.
And reseived such result
1 user, without HttpTrafficGen:
MySQL: 0.0066 s, 0 request(s), PHP: 0.2340 s, total: 0.2407 s, document retrieved from cache.
MySQL: 0.0702 s, 17 request(s), PHP: 0.5033 s, total: 0.5735 s, document retrieved from database.
11 users at the same time:(Me + 10 HttpTrafficGen)
MySQL: 1.7143 s, 17 request(s), PHP: 2.2653 s, total: 3.9796 s, document retrieved from database.
MySQL: 0.3066 s, 0 request(s), PHP: 1.1193 s, total: 1.4259 s, document retrieved from cache.
I think it’s quite good.
p.s. my test pc P3 700, 196mb,
WinXP SP2, apache 1,3 php 4, mysql 5