e).
(I only try to improve the speed of the code, so the use of proxy shouldn't
be relevant here - I think, I could be wrong).
Does anyone has any other suggestion to improve a web application's speed?
I'd give more details if needed...
Thanks for your attenti
n't really accurate. How do I make it to show the
statistics of the subroutines called from the handler?
Thank you...
---
Badai Aqrandista
Cheepy (?)
From: "Philip M. Gollucci" <[EMAIL PROTECTED]>
To: Badai Aqrandista <[EMAIL PROTECTED]>
CC: modperl@perl.apache.o
, like this:
require Apache::DB;
Apache::DB->init;
Any code that you compile (e.g. use from startup.pl) before this will not
get profiled at all.
- Perrin
Thanks for the replies...
I'll give it a try...
---
Badai Aqrandist
en?
Is it memcached? Or is it how apache works? Or is it because of the
benchmarking application that I use?
Thanks...
---
Badai Aqrandista
Cheepy (?)
_
SEEK: Over 80,000 jobs across all industries at Australia's #1 job
ll requests are accepted (apache forks off lots of
children), then processed (no process finishes), and after a while, all the
processes finish almost at the same time...
....
---
Badai Aqrandista
Cheepy (?)
_
SEEK: Over 80,000
Badai Aqrandista wrote:
My mod_perl web app uses memcached to cache most of the (MySQL) database
query results and as the session storage (Apache::Session::Memcached).
Would it be a problem for your application if you suddenly lost all of your
session data? That could happen with
/mysql/en/join.html).
Thanks...
---
Badai Aqrandista
Cheepy (?)
_
REALESTATE: biggest buy/rent/share listings
http://ninemsn.realestate.com.au
here...
Thanks a lot...
---
Badai Aqrandista
Cheepy (?)
_
Your opinion counts..for your chance to win a Mini Cooper click here
http://www.qualifiedopinions.com/joinup.php?source=hotmail
!$_[0]->_load_memcached() )
{
$_[0]->_load_mysql();
}
}
I thought about the same thing last night, but is there any race condition
problem if I use it for session?
---
Badai Aqrandista
Cheepy (?)
_
SEEK:
ome advice as well. And don't forget that there is a profiler for DBI
queries that comes with DBI.
I've done the database profiling as well...
Thanks for your help...
---
Badai Aqrandista
Cheepy (?)
_
REALESTATE: bi
e
tested without it and it still use 99.98% of the time...
Wierd eh?
Thanks a lot...
---
Badai Aqrandista
Cheepy (?)
_
Sell your car for $9 on carpoint.com.au
http://www.carpoint.com.au/sellyourcar
thod...
does this prevents the debugger to know which subroutine should be profiled?
all the test that I've done is on the hostname whose object is of class
ELRes::Property...
Anyway,
Hmmm... Where can I learn more about the debugger?
I didn't know profiling needs debugger,
Apache::DProf uses the debugger hooks. You can also try Sam Tregar's
Devel::Profiler::Apache which is somewhat slower but easier to use since it
doesn't use the debugger.
I'll look into that...
Thanks for your suggestions...
---
Badai Aq
Will let you know how it goes...
Thanks, mate...
---
Badai Aqrandista
Cheepy (?)
_
Single? Start dating at Lavalife. Try our 7 day FREE trial!
http://lavalife9.ninemsn.com.au/clickthru/clickthru.act?context=an99&locale=en_AU&a=19179
Got bitten by that on the last project...
Cheers...
---
Badai Aqrandista
Cheepy (?)
_
Low rate ANZ MasterCard. Apply now!
http://clk.atdmt.com/MAU/go/msnnkanz003006mau/direct/01/ Must be over
18 years.
stored in memory.
---
Badai Aqrandista
Cheepy (?)
_
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site.
http://ninemsn.seek.com.au?hotmail
oach?
1. declare @context with 'my' in the package
2. add this to your module:
sub clean_context { @context = () }
3. add this to your config file:
PerlCleanupHandler MyApp::clean_context
I think that'll do the trick...
--
e detail if requested.
THANKS A LOT!!!
---
Badai Aqrandista
Cheepy (?)
_
REALESTATE: biggest buy/rent/share listings
http://ninemsn.realestate.com.au
hared memory usage. I've tried
to load every modules upfront. But even before any request comes in, the
shared memory is only 7 Mb. What makes it so small?
Thank you...
---
Badai Aqrandista
Cheepy (?)
_
REALESTATE: bigges
ry modules upfront. But even before any request comes in, the
shared memory is only 7 Mb. What makes it so small?
Thanks...
---
Badai Aqrandista
Cheepy (?)
_
Your opinion counts..for your chance to win a Mini Cooper click
On Tue, 2005-08-23 at 17:23 +1000, Badai Aqrandista wrote:
> How do I maintain the size of the shared memory between apache children?
> What cause a memory page to be copied (not shared) from perl's point of
> view?
Anything that writes to memory -- modifying any variable (even ju
is. It seems that the more connection
there is, the higher the avg reply time.
Does anyone ever experienced this? Why does it happen?
Basically I just want to make my webapp ready to launch... (doesn't anyone?)
THANK YOU.
e out... Especially perrin... I'll let you know how it
goes...
---
Badai Aqrandista
Cheepy (?)
_
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site.
http://ninemsn.seek.com.au?hotmail
emory consumption -> look for ways to do more things on compile
time
To reduce CPU usage -> write the most called subroutine in C
To reduce database contention -> cache as much as possible
Thanks for all your help...
The journey just begins...
---
Badai Aqr
(or probably I uncounciously don't want to make
changes because I don't have any test suites)...
---
Badai Aqrandista
Cheepy (?)
_
Low rate ANZ MasterCard. Apply now!
http://clk.atdmt.com/MAU/go/msnnkanz003006mau/dir
On 29 Aug 2005, at 01:15, Badai Aqrandista wrote:
I think I have to write some of the code in C. I can't find any other
places in the code to optimize (or probably I uncounciously don't want to
make changes because I don't have any test suites)...
Then how do you know wha
eed less than 10 sec/request.
Is that possible without changing hardware?
---
Badai Aqrandista
Cheepy (?)
_
Sell your car for $9 on carpoint.com.au
http://www.carpoint.com.au/sellyourcar
hit the server with some requests and watch the strace output.
This is especially useful for finding I/O or IPC bottlenecks.
Hmmm... Interesting... I'll give it a try...
good luck
Thanks...
---
Badai Aqrandista
Cheepy (?)
_
rocess, so all the combinations
can be calculated in parallel.
Thanks for helping...
---
Badai Aqrandista
Cheepy (?)
_
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site.
http://ninemsn.seek.com.au?hotmail
lmost 100%, around 90%...
---
Badai Aqrandista
Cheepy (?)
_
Your opinion counts..for your chance to win a Mini Cooper click here
http://www.qualifiedopinions.com/joinup.php?source=hotmail
search request. That lets your server scale to handling many
more clients at once, even though some of them are just waiting for their
turn.
Good idea!!! Thanks... You've been a great help...
POE sounds good to start with, right?
---
Bad
ailable room
and package combinations on the particular hotel, based on various
constraints.
---
Badai Aqrandista
Cheepy (?)
_
REALESTATE: biggest buy/rent/share listings
http://ninemsn.realestate.com.au
mpare to Parallel::ForkManager.
Thanks.
---
Badai Aqrandista
Cheepy (?)
_
Low rate ANZ MasterCard. Apply now!
http://clk.atdmt.com/MAU/go/msnnkanz003006mau/direct/01/ Must be over
18 years.
-Cron-0.9/Cron.pm
---
Badai Aqrandista
Cheepy (?)
_
SEEK: Over 80,000 jobs across all industries at Australia's #1 job site.
http://ninemsn.seek.com.au?hotmail
http://search.cpan.org/~chamas/Apache-ASP-2.59/ASP.pm
---
Badai Aqrandista
Cheepy (?)
_
REALESTATE: biggest buy/rent/share listings
http://ninemsn.realestate.com.au
want to connect to a backend server, why do you need a secure
connection anyway?
However, other probably know better...
---
Badai Aqrandista
Cheepy (?)
From: Mark Moseley <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: modperl@perl.apache.org
Subject: Masquerading requests as HTTPS
Da
t to check this out: http://www.perlmonks.org/?node_id=504724
I quite agree with it...
---
Badai Aqrandista
Cheepy (?)
_
REALESTATE: biggest buy/rent/share listings
http://ninemsn.realestate.com.au
vious process that has
been cancelled before releasing it.
Does anyone know a workaround or a way to combat this?
Thanks...
---
Badai Aqrandista
Cheepy (?)
_
Start something musical - 15 free ninemsn Music downloads!
http://ninemsn.c
modproxy server that "talks" directly to the perl code
... perhaps as a open software project
What do you mean by 'a custom reversed modproxy server that "talks" directly
to the perl code'?
---
Badai Aqrandista
Cheepy (?)
On Wed, 2005-11-16 at 10:11 +1000, Badai Aqrandista wrote:
> But I need to know if a request has been cancelled. The problem is that
I
> need to release the session lock when someone click submit button before
the
> page is fully loaded, otherwise the next page won't load
appreciated. Thank you, in advance, for any
assistance.
IMHO, you can learn more than what you have ever imagined about perl here:
http://www.perlmonks.org/?node=Tutorials
---
Badai Aqrandista
Cheepy (?)
_
Start something musical
data.
I am just wondering has anyone experience problems with the size of the data
put in the session using Apache::Session? The problem is so critical yet so
intermittent that we can only fix it by trial and error.
Thank you...
---
Badai Aqrandista
Cheepy
data into database tables
instead and only loading it as needed.
Yes, that's why I am using Storable hooks to only serialize as small
information as possible.
---
Badai Aqrandista
Cheepy (?)
_
SEEK: Over 80,000 jobs across al
7;t really know what causes
this. That the size is just a guess. I am just looking for inspiration from
you guys because you all are very helpful.
Thanks for all who replied.
---
Badai Aqrandista
Cheepy (?)
_
SEEK: Over 80,000 jo
44 matches
Mail list logo