Alex,
    What does your logs say ?..exceptinos and not configuring log4j are 2
reasons I found to increase response time significantly.

On Tue, Feb 23, 2010 at 3:27 AM, Alex Kotchnev <akoch...@gmail.com> wrote:

> Dmitry,
>   I have a suspicion that every once in a while my app gets started on some
> messed up server that has a problem . Every once in a while, when I load a
> new version of the app, it starts doing this. Often times, if I give it
> some
> extra time after the upload and before the first request after uploading
> the
> app, it works fine. If I issue the first request too soon, I start getting
> this problem.
>
>   Additionally, just looking at my stats on your ping-service (
> zadachite-dev.appspot.com), every few days the response times go up
> significantly and the uptime (as reported by ping-service) goes down to 60%
> -70% . So, something is definitely going on in the infrastucture - maybe
> every once in a while my app gets loaded in JVM running on overburdened
> hardware...
>
> Regards,
>
> Alex K
>
> On Mon, Feb 22, 2010 at 6:12 AM, Dmitry Gusev <dmitry.gu...@gmail.com
> >wrote:
>
> > Hi,
> >
> > 10 seconds limit is the limit of URLFetchService. Regular request (like
> > browser's request for asset) have 30 seconds limit.
> >
> > It may however took too long time for your app to startup then timeout
> > issue
> > may occur.
> > Have you tried to debug assets loading using firebug?
> >
> > On Mon, Feb 22, 2010 at 13:46, Alex Kotchnev <akoch...@gmail.com> wrote:
> >
> > > Muhammad,
> > >    regarding T5 & serving assets : are you saying that if you map the
> > > application version (e.g. app-version) to a static number instead of
> the
> > > one
> > > generated by T5, you stop getting the intermittent asset access problem
> >  ?
> > >
> > >   My problem is that assets do get served (they're not blocked);
> however,
> > > on the first couple of tries they fail to load (my suspicion is that it
> > > takes more than 10 seconds to serve them up the first couple of times
> and
> > > the GAE limit kicks in)
> > >
> > > Regards,
> > >
> > > Alex K
> > >
> > > On Sun, Feb 21, 2010 at 6:31 AM, Muhammad Mohsen <m.gelb...@gmail.com
> > > >wrote:
> > >
> > > > Alex,
> > > >
> > > > You can check my blog post to fix the assets problem. It's about a
> > > > configuration variable regarding the application version. Or check
> the
> > > > "Assets" documentation entry at tapestry.com (i.e. for t5.1). It's
> > > > discussed
> > > > at the end of the page.
> > > >
> > > > But regarding tapx components..i couldn't figure out how to solve the
> > > > assets
> > > > issue..it never resolves an asset !
> > > >
> > > > ..check my blog post to find solutions to what i'm talking about :)
> > > >
> > > > On Sat, Feb 20, 2010 at 6:27 AM, Kalle Korhonen
> > > > <kalle.o.korho...@gmail.com>wrote:
> > > >
> > > > > No, I haven't had issues with static assets but then again, the
> > > > > current example is pretty bare bones. I've certainly noticed that
> GAE
> > > > > is dog slow though. I read about how GAE scales and it's evident in
> > > > > our example as well that GAE just spawns new JVMs rather the new
> > > > > threads for additional instance fairly often. You end up using
> > > > > memcache and having to optimize for GAE quite a bit. I wouldn't run
> a
> > > > > production system on GAE. The bigger issue for me is no threading -
> > if
> > > > > I was satisfied with that I'd just do PHP apps. Decent hosted VMs
> > cost
> > > > > less than $50/month and they are blazingly fast compared to GAE.
> > > > > Depending on where you live and what the system does it's not a
> huge
> > > > > cost; but fully understand the other side of it as well - can't
> beat
> > > > > free.
> > > > >
> > > > > Kalle
> > > > >
> > > > >
> > > > > On Fri, Feb 19, 2010 at 6:14 PM, Alex Kotchnev <akoch...@gmail.com
> >
> > > > wrote:
> > > > > > Kalle,
> > > > > >   do you have any issues w/ static assets not being served from
> GAE
> > ?
> > > > I'm
> > > > > > prepping an app to be deployed in production on GAE, and in its
> > > > > development
> > > > > > state (http://zadachite-dev.appspot.com), I'm a bit discouraged
> :
> > > > often,
> > > > > > when the app is loaded, I often get missing assets and I have to
> > > reload
> > > > > the
> > > > > > pages a few times before I get all assets showing up.
> Additionally,
> > > > I've
> > > > > set
> > > > > > up the app to be monitored by Dmitry's Ping-Service (
> > > > > > http://ping-service.appspot.com), and a few times a day it takes
> > > more
> > > > > than
> > > > > > 10 seconds to load (and ping service times out).
> > > > > >
> > > > > >   I've considered trying to figure out a way to deploy these
> assets
> > > > (e.g.
> > > > > > images, swf files, js) on a static server somewhere but that will
> > > > > > unnecessarily complicate the app...
> > > > > >
> > > > > > Regards,
> > > > > >
> > > > > > Alex K
> > > > > >
> > > > > > On Thu, Feb 18, 2010 at 10:19 PM, Kalle Korhonen <
> > > > > kalle.o.korho...@gmail.com
> > > > > >> wrote:
> > > > > >
> > > > > >> On that note, I also recently deployed Tynamo's conversation
> > example
> > > > > >> to GAE (see http://tynamo.org/tapestry-conversations+guide and
> > > > > >> http://tapestry-conversations.tynamo.org/), it was pretty
> > > > > >> straight-forwarded. It's all mavenized and naturally, the source
> > is
> > > > > >> available for others to look at.
> > > > > >>
> > > > > >> Kalle
> > > > > >>
> > > > > >>
> > > > > >> On Wed, Feb 17, 2010 at 7:21 AM, Muhammad Mohsen <
> > > m.gelb...@gmail.com
> > > > >
> > > > > >> wrote:
> > > > > >> > I'd like to share my experience regarding the issue. I'm not a
> > > > > tapestry
> > > > > >> guru
> > > > > >> > but I just fought my way through hosting it on google
> > application
> > > > > engine.
> > > > > >> >
> > > > > >> > Here is my blogpost about hosting tapestry5.1 on Google
> > > application
> > > > > >> > engine<
> > > > > >>
> > > > >
> > > >
> > >
> >
> http://java-army.blogspot.com/2010/02/hosting-apache-tapestry51-on-gae-google.html
> > > > > >> >
> > > > > >> > You'll find the application's link it but here it is
> > > > > >> > again<http://j-army.appspot.com/>
> > > > > >> > .
> > > > > >> >
> > > > > >> > Please note that it has absolutely NOTHING but registering,
> > > logging
> > > > in
> > > > > >> and
> > > > > >> > logging out !
> > > > > >> > That's as much as I've gone with tapestry so far. I had
> nothing
> > in
> > > > > mind
> > > > > >> to
> > > > > >> > do !
> > > > > >> >
> > > > > >> > Enjoy :)
> > > > > >> >
> > > > > >> > --
> > > > > >> > Muhammad Mohsen Hussien
> > > > > >> > Jr. Java Software Engineer
> > > > > >> > HP Enterprise Services
> > > > > >> >
> > > > > >>
> > > > > >>
> > > ---------------------------------------------------------------------
> > > > > >> To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > > > >> For additional commands, e-mail: users-h...@tapestry.apache.org
> > > > > >>
> > > > > >>
> > > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
> > > > > For additional commands, e-mail: users-h...@tapestry.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Muhammad Mohsen Hussien
> > > > Jr. Java Software Engineer
> > > > HP Enterprise Services
> > > >
> > >
> >
> >
> >
> > --
> > Dmitry Gusev
> >
> > AnjLab Team
> > http://anjlab.com
> >
>



-- 
Muhammad Mohsen Hussien
Jr. Java Software Engineer
HP Enterprise Services

Reply via email to