hi there,
i discovered s9y a few weeks ago as i was looking for a lean blogging software which i wanted to use on a home server.
the server is an old thinkpad x40 with 1.5gb ram and a intel pentium m. its running a debian stable with a very basic installation: apache2, php, postgresql and it is administrated via ssh.
the server is connected to the net via dyndns at a vdsl with upload 2.5mbit/s. static webpages are delivered in an acceptable time.
dynamic webpages need some more time, almost intolerable.
only few plugins: easy podcasting, syndication.
does anybody have a hint, how to make it smoother. do you think, the hardware is the limitating factor?
i know debian quite ok, but never had to do with php and databanks before.
greetings
manes
hardware requirements
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: hardware requirements
Hi!
Check out APC for PHP, it speeds up PHP by caching - and you might want to switch to sqlite or mysql, which is faster than postgresql and easier to tune with the mysql query cache...
HTH,
Garvin
Check out APC for PHP, it speeds up PHP by caching - and you might want to switch to sqlite or mysql, which is faster than postgresql and easier to tune with the mysql query cache...
HTH,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: hardware requirements
thank you for instantly answering!
ok, i'll try it with mysql and apc. guess it'll take me some time, but then i'll report.
greetings
manes
ok, i'll try it with mysql and apc. guess it'll take me some time, but then i'll report.
greetings
manes
-
LazyBadger
- Regular
- Posts: 176
- Joined: Mon Aug 25, 2008 12:25 pm
- Location: Russia
- Contact:
Re: hardware requirements
As Garvin already said, you'll get better (and faster) proper results if you'll correctly configure all parts of your complex infractructure.manes wrote: does anybody have a hint, how to make it smoother.
I, personally, don't think APC is first-step action, but totally agree with MySQL as the right backend (with non-default config). At least even on Celeron-700|ancient slow HDD I had reasonable good results with LAMP (no APC, but in my case increasing RAM and playing with mysqld settings had visible effect)
Quis custodiet ipsos custodes?