Re: Reducing load for LAMP app?
- From: Jerry Stuckle <jstucklex@xxxxxxxxxxxxx>
- Date: Sat, 05 Jan 2008 23:23:42 -0500
Gilles Ganault wrote:
On Sat, 5 Jan 2008 02:55:24 +0100, "Richard" <root@localhost> wrote:Why (or how) are the queries "session-specific"?
No way to get rid of that?
I don't know what it means, really. I don't have enough experience
with PHP and MySQL to know the details.
Generally speaking, is there a way to share query results among all
viewers using the site, and if yes, what's the right way to do this?
Thanks for all the suggestions guys. It's very helpful.
Not from PHP, there isn't. Every user is considered independent. Just like every program running in a system is considered independent.
Yes, you can share information between users - just like you can share information between programs, i.e. shared memory. But it's not done by default.
And as Richard indicated, the MySQL query cache may be more efficient.
However, right now it looks like me you are trying to optimize your system - but haven't even identified where the source of your problem.
The FIRST thing you need to do is find out what's causing the high resource utilization!
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@xxxxxxxxxxxxx
==================
.
- Follow-Ups:
- Re: Reducing load for LAMP app?
- From: Gilles Ganault
- Re: Reducing load for LAMP app?
- References:
- Reducing load for LAMP app?
- From: Gilles Ganault
- Re: Reducing load for LAMP app?
- From: Richard
- Re: Reducing load for LAMP app?
- From: Gilles Ganault
- Reducing load for LAMP app?
- Prev by Date: Re: How to use MySQL from PHP ?
- Next by Date: Re: best approach to caching DB results
- Previous by thread: Re: Reducing load for LAMP app?
- Next by thread: Re: Reducing load for LAMP app?
- Index(es):
Relevant Pages
|
Loading