[ic] Static pages to boost performance
Jonathan Melhuish
interchange-users@icdevgroup.org
Tue Jun 24 08:06:01 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 24 June 2003 02:36, Steve wrote:
> Do your expire the old sessions?
> http://www.icdevgroup.org/i/doc/wiki/AdvExpiringSessions.html
>
> This can be a big drag on interchange if there are too many....
Thanks for the tip. I put the following in my crontab, as I use the default
DBM database at the moment:
>> 40 4 * * * perl /usr/local/interchange/bin/expireall -r
However, after running this, my server performance still tops out about 0.7
requests/sec! What's even more worrying is that feeding it more than one
request at a time seems to cause it to drop the others. Eg.
[root@secure /root]# ab -n 3 http://www.smssat.biz/
Concurrency Level: 1
Time taken for tests: 3.119 seconds
Complete requests: 3
Failed requests: 2
(Connect: 0, Length: 2, Exceptions: 0)
Requests per second: 0.96
Why does that happen? Or am I just reading the output wrong?
I can live with this level of performance, it's not a problem - I just need to
be able to serve my actual store with something much faster, like Apache.
Can anybody point me in the right direction regarding creating a static
version?
Cheers,
Jon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
iD8DBQE++D6geTVvFHAhe5cRAtQUAJ9dxVgVrLJmJ29pkPcqYjSMV1j2bwCfc3Am
hxJwaiJQ813lJmtkHnG4ibo=
=5N58
-----END PGP SIGNATURE-----