I'm glad you understand some of the challenges we are facing. We have
several proposed solutions, but each solution has a tradeoff. Sun's
investment in the JVM is massive, and they focused on building a virtual
machine that pays a bit more of an upfront cost for a bigger performance
benefit over the long run (startime time, JIT). At times, this is at odds
with some of the requirements of building a flexible cloud system: we need
to assume lifespans are ephemeral, we need to teardown and startup new app
instances quickly, we need to sandbox applications for security.

I can understand quick and dirty. I just try to discourage people from doing
it as much as possible.

On Wed, Feb 24, 2010 at 11:04 AM, Guillermo Schwarz <
[email protected]> wrote:

> Ikai,
>
> I agree wholehartedly with you.
>
> Nevertheless, I think what Locke needs is a quick and dirty solution
> before the correct one you mention is implemented (which can take a
> while, because it is the correct one).
>
> At the same time, that solution needs to not interfere with other
> applications. The poll initiative using cron would be of that kind.
>
> I suppose Locke could load a static page somewhere (I think that is
> possible right now in GAE, but I'm not sure) and inside that page have
> a link (let's say an image) that is hosted with the rest of the app.
> This way the application would the pinged whenever a user enters the
> page and everyone would be happy.
>
> Cheers,
> Guillermo.
>
> On 24 feb, 15:29, "Ikai L (Google)" <[email protected]> wrote:
> > The "correct" solution is to drive more traffic to your application, and
> we
> > discourage "pinging". We're working on solutions that will reduce load
> times
> > all around. The issue with pinging your application, as some users do, is
> > that it decreases resources from the global pool and increases the amount
> of
> > application cycling that happens. A more subtle effect of this is this
> > affects our instrumentation and causes your application to be grouped in
> our
> > reporting with applications that are seeing normal cycling - the % of
> your
> > requests that are loading requests drops significantly, and it tells us
> that
> > your application is fine when it is not.
> >
> > On Tue, Feb 23, 2010 at 1:45 PM, Guillermo Schwarz <
> >
> >
> >
> > [email protected]> wrote:
> > > Does any one have a way to test this?
> >
> > > I've been doing tests manually against my app and it takes between 6 to
> 8
> > > secs to load, just the landing page.
> >
> > > After that, it has subsecond performance. Nice!
> >
> > > I've read that you can have the one app in python access the same data
> > > store as another app in Java. Would that break the GAE contract?
> >
> > > It sure would fix this problem while GAE fix this issue.
> >
> > > Cheers,
> > > Guillermo.
> >
> > > On Tue, Feb 23, 2010 at 4:44 PM, Locke <[email protected]> wrote:
> >
> > >> Some Java load times are here. When using the database, these times
> > >> can be worse, of course.
> >
> > >>http://groups.google.com/group/google-appengine/browse_thread/thread/.
> ..
> >
> > >> On Feb 23, 12:23 pm, Guillermo Schwarz <[email protected]>
> > >> wrote:
> > >> > Dear all,
> >
> > >> > I've read some of you are having load latency issues. How much time
> > >> > you have to wait for your applications to load? I ask this because I
> > >> > haven't noticed any delay in my applications so I was wondering what
> > >> > it could be.
> >
> > >> > Cheers,
> > >> > Guillermo.
> >
> > >> --
> > >> You received this message because you are subscribed to the Google
> Groups
> > >> "Google App Engine for Java" group.
> > >> To post to this group, send email to
> > >> [email protected].
> > >> To unsubscribe from this group, send email to
> > >> [email protected]<google-appengine-java%[email protected]>
> <google-appengine-java%[email protected]<google-appengine-java%[email protected]>
> >
> > >> .
> > >> For more options, visit this group at
> > >>http://groups.google.com/group/google-appengine-java?hl=en.
> >
> > > --
> > > Saludos cordiales,
> >
> > > Guillermo Schwarz
> > > Sun Certified Enterprise Architect
> >
> > >  --
> > > You received this message because you are subscribed to the Google
> Groups
> > > "Google App Engine for Java" group.
> > > To post to this group, send email to
> > > [email protected].
> > > To unsubscribe from this group, send email to
> > > [email protected]<google-appengine-java%[email protected]>
> <google-appengine-java%[email protected]<google-appengine-java%[email protected]>
> >
> > > .
> > > For more options, visit this group at
> > >http://groups.google.com/group/google-appengine-java?hl=en.
> >
> > --
> > Ikai Lan
> > Developer Programs Engineer, Google App Enginehttp://
> googleappengine.blogspot.com|http://twitter.com/app_engine
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine for Java" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine-java%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine-java?hl=en.
>
>


-- 
Ikai Lan
Developer Programs Engineer, Google App Engine
http://googleappengine.blogspot.com | http://twitter.com/app_engine

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to