tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Braun <brianbr...@gmail.com>
Subject Re: Best way to log requests from a servlet and to a database?
Date Sat, 26 Jan 2013 02:44:46 GMT
Hi Hassan,

I forgot to mention that I am already using Amazon's cloud (EC2+load
balancer) so I love to see a suggestion that mentions it! I will definitely
check your advice. The problem is that it costs money to use it, and I
would love to just use some kind of framework that uses my own RAM to host
a buffer/queue. However, creating my own queue would not escalate to
hundreds or thousands of requests per second, so considering that I was
already considering some kind of queue service and actually I thought about
Amazon's..... but I did it while sleeping so I forgot to mention it in my
list  :-)
Thanks again for your suggestion!



On Fri, Jan 25, 2013 at 9:32 PM, Hassan Schroeder <
hassan.schroeder@gmail.com> wrote:

> On Fri, Jan 25, 2013 at 6:00 PM, Brian Braun <brianbraun@gmail.com> wrote:
>
> > What I need is to be able to accept as much HTTP requests as possible, to
> > log every one of them as fast as possible (not syncronously), and to make
> > everything fast and with a very low usage of RAM when MySQL gets slow and
> > inserts need to queue. I think I need some kind of queue to buffer the
> > entries when the speed of http request is higher than the speed of
> > insertions in the database log.
>
> > 3- Using some kind of any other framework that specializes in this?
>
> http://aws.amazon.com/sqs/
>
> Let us know how that works out if you try it  :-)
>
> --
> Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
> http://about.me/hassanschroeder
> twitter: @hassan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message