Hi,
Is it in theory possible to insert a perl output filter between
mod_proxy and mod_cache?
Or at least between mod_proxy and the client?
The problem I'm trying to solve is this:
We have 100+ web servers where apache fronts a separate tomcat server
using mod_proxy.
Sadly, the tomcat
Tim Watts wrote:
Hi,
Is it in theory possible to insert a perl output filter between
mod_proxy and mod_cache?
Or at least between mod_proxy and the client?
The problem I'm trying to solve is this:
We have 100+ web servers where apache fronts a separate tomcat server
using mod_proxy.
On 14/07/11 11:16, André Warnier wrote:
Hi Andre,
Thanks for the quick reply :)
(That would probably be difficult, inefficient or both)
Assuming that what you say about Tomcat is true (I don't know, and it
may be worth asking this on the Tomcat list), I can think of another way
to achieve
Hi Tim,
If you are after caching the responses, maybe an easier solution would
be to use a reverse proxy - like Varnish?
You would be then in complete control over the incoming and outgoing
headers and could cache responses based on the url / inject Expires
headers so browsers could cache them
On 14/07/11 11:52, Alex J. G. Burzyński wrote:
Hi Tim,
If you are after caching the responses, maybe an easier solution would
be to use a reverse proxy - like Varnish?
You would be then in complete control over the incoming and outgoing
headers and could cache responses based on the url /
Hi.
I have to apologise.
I misunderstood your first post, and I wanted to verify on the Tomcat list, so I quoted
the following passage of your first post in my message there :
Sadly, the tomcat dev's forgot to set any caching headers in the HTTP response (either
Expires, Last-Modified or
On 14/07/11 12:43, André Warnier wrote:
Hi.
I have to apologise.
I misunderstood your first post, and I wanted to verify on the Tomcat
list, so I quoted the following passage of your first post in my message
there :
Sadly, the tomcat dev's forgot to set any caching headers in the HTTP
response
On 14/07/2011 11:39, Tim Watts wrote:
On 14/07/11 11:16, André Warnier wrote:
Hi Andre,
Thanks for the quick reply :)
(That would probably be difficult, inefficient or both)
Assuming that what you say about Tomcat is true (I don't know, and it
may be worth asking this on the Tomcat list), I
I had to bolt on an input servlet filter to tomcat once. To do this I had to
write the servlet filter code and then add filter and filter-mapping tags
to the application WEB-INF/web.xml file.
-James
-Original Message-
From: Tim Watts [mailto:t...@dionic.net]
Sent: Thursday, July 14,
Tim Watts wrote:
...
LoL - I hate tomcat anyway (for it's fatness) so I don't mind if they
hate me ;-
I should have clarified as my Department's dev team (ie the ones who
use tomcat here) rather than the Tomcat Developers themselves...
Well, I said that too, and said I had misquoted you,
On 14/07/11 14:38, André Warnier wrote:
Tim Watts wrote:
...
I think for this problem, I have to treat tomcat as a little, rather
inefficient, black box ..
They liked that quote then? ;-
OT Rant
I'm sure it's a lovely development environment (there must be some
reason people use it) -
Le mercredi 13 juillet 2011 à 13:19 -0400, Perrin Harkins a écrit :
On Tue, Jul 12, 2011 at 8:45 AM, Vincent Veyron vv.li...@wanadoo.fr wrote:
-Is there anything wrong with my process?
If it's working for you, then it sounds fine. Needing to invoke
mod_perl on every hit could be bad if
On Thu, Jul 14, 2011 at 11:21 AM, Vincent Veyron vv.li...@wanadoo.fr wrote:
Could you explain (very briefly) how clustering prevents file storage of
a session?
A cluster in this case means multiple servers, so they don't share a
filesystem. There are ways to share files of course, but the
Le jeudi 14 juillet 2011 à 11:34 -0400, Perrin Harkins a écrit :
On Thu, Jul 14, 2011 at 11:21 AM, Vincent Veyron vv.li...@wanadoo.fr wrote:
Could you explain (very briefly) how clustering prevents file storage of
a session?
A cluster in this case means multiple servers, so they don't
On 07/14/2011 12:57 PM, Vincent Veyron wrote:
This is what I first did, using Apache::Session. But I noticed the call
to tie was very slow (response time around 70ms with it, 15ms without
it), so I changed for Storable because filesystem reads were much
faster.
I don't personally like
I'll have to watch my language here, as I might otherwise get ostracised on that other
list of mine.
Tim Watts wrote:
On 14/07/11 14:38, André Warnier wrote:
Tim Watts wrote:
...
I think for this problem, I have to treat tomcat as a little, rather
inefficient, black box ..
They liked
Yes, CPAN has very, very useful things. I consider its biggest problems
1) too difficult to find things when not knowing what one wants, 2) a
huge undergrowth of modules that are either bad quality or unmaintained
or duplicated with a later module. The number of lingering bugs are an
obstacle, yet
Hi Niels
On Thu, 2011-07-14 at 20:09 +0200, Niels Larsen wrote:
Yes, CPAN has very, very useful things. I consider its biggest problems
1) too difficult to find things when not knowing what one wants, 2) a
huge undergrowth of modules that are either bad quality or unmaintained
or duplicated
unsuscribe
Le jeudi 14 juillet 2011 à 13:02 -0400, Michael Peters a écrit :
On 07/14/2011 12:57 PM, Vincent Veyron wrote:
Also, I did not find how to store a hash in the database without tie. I
read it's possible to use Data::Dumper to write the data in a field and
read it as Perl code. Would that be
Tim Watts wrote:
Hi,
Is it in theory possible to insert a perl output filter between
mod_proxy and mod_cache?
Or at least between mod_proxy and the client?
...
mod_headers and mod_proxy don't seem to play well together and mod-cache
doesn't either (probably due to lack of cache control
And here is another link which might be interesting.
It is a message on the Tomcat list (where I re-posted your original request,
hem), from
Rainer Jung, who is one of the Apache/Tomcat mod_jk connector developers :
Yes, go for TC 7:
for the users who want to unsubscribe from this list please send an
empty email to modperl-unsubscr...@perl.apache.org instead of sending
to the list itself.
2011/7/15 RGKärcher gerkarc...@yahoo.com.ar
unsuscribe
Hi Andre,
Thanks for such a detailed reply:
On 14/07/11 21:07, André Warnier wrote:
Back to the main issue.
See this as just a bit more generic information, as to what/how you
could think of solving your problem, apart from the other suggestions
already submitted.
1) I am not sure about
24 matches
Mail list logo