Re: Hosting Tapestry App on Cloud

2012-10-26 Thread George Christman
Thanks everyone for all your suggestions. I think I'll just test the
difference solutions out on free test accounts and see which one works best
for me. 



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236p5717301.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Tapestry App on Cloud

2012-10-26 Thread trsvax
I've been using VPS style hosting for almost 10 years now, switched to Amazon
about 5 years ago and my current thought is I will never buy hardware again.
I ended up with AWS because the various VPS venders I was using would come
and go and switching was too much work. My thought is AWS is here to stay.
It also provides other services which are useful but do lock you in to AWS
if you are not careful.

if your existing budget is $350 a month plus hardware I think you could
easily beat that with AWS. A small dedicated MySQL instance with two front
end webservers load balanced is about $100/month



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236p5717290.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Tapestry App on Cloud

2012-10-26 Thread Onno Scheffers
> I looked into Amazon and it seems a bit pricey for a
> small app, so I'm wondering if anybody has any other suggestions?



I have deploying our Tapestry application to Jelastic. Works pretty well
for me so far and not very expensive either. We are still in a closed pilot
phase though, ironing out the functionality, so we don't have that many
users yet.
Best thing for me is that I don't need to make any big changes to the
application in order to host it there, so I can always move it back to
self-hosted servers if needed.

- Onno


Re: Hosting Tapestry App on Cloud

2012-10-25 Thread Kalle Korhonen
On Thu, Oct 25, 2012 at 1:02 PM, George Christman
 wrote:
> Who do you guys recommend for VPS? I'd rather get out of owning my own box.
> Our current hosting cost is 350/mo for a 2 space rack. This includes a 45mb
> pipe, but does not include hardware cost.

Not having to own your own box is a major reason for moving to a VPS
even if the immediate price/performance was lower. It's sometimes
difficult to factor in the total costs of owning and maintaining your
own hardware. For the price of $350/mo, you get a pretty good deal on
hi-perf VPS from Tektonic, see
http://www.tektonic.net/hiperf-vps.html. I've consistently evaluated
them as one of the cheapest around.

As others have said, offloading image processing might be your
cheapest way for added scalability. You should benchmark your server,
some apps spend a staggering amount of time just pushing bits around.
There are different takes for CDN library support for Tapestry but
things are moving around all the time both in terms of core Tapestry
and different storage providers so I haven't seen a clear winner so
far. AWS has lots of options there but you want to carefully evaluate
the costs.

Kalle

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread Chris Mylonas
off topic dude - create a new thread marked [OT] in the subject so you don't 
piss people off :)
check webhostingtalk forums, it's a hosting related question.
you get for what you pay for - it's not a price only thing, otherwise you could 
run up a bunch of lowendbox.com servers for really crappy but high number of 
nodes service

in australia, we pay heaps for hosting, same in hong kong

chris


On 26/10/2012, at 7:29 AM, George Christman wrote:

> Thanks guys, I'll have to get some help with the image processing. So does
> $350/mo seem a bit steep for our own dedicated box? I guess I don't know how
> to value our current services.
> 
> 
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236p5717246.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> -
> 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



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread George Christman
Thanks guys, I'll have to get some help with the image processing. So does
$350/mo seem a bit steep for our own dedicated box? I guess I don't know how
to value our current services.



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236p5717246.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread Chris Mylonas
hetzner in germany is well priced for a dedicated servers, perhaps create a new 
thread with [OT] in the subject
what thiago/lenny say are right...have an image processing service seeing as 
it's your bottleneck - an aws instance and cloudfront may be the way to go

On 26/10/2012, at 7:02 AM, George Christman wrote:

> Who do you guys recommend for VPS? I'd rather get out of owning my own box.
> Our current hosting cost is 350/mo for a 2 space rack. This includes a 45mb
> pipe, but does not include hardware cost.  
> 
> 
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236p5717242.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> -
> 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



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread Lenny Primak
Sounds like you need a services based approach. This is outside the scope of 
tapestry. 

We for example use web services and JavaEE for this type of situation. 

On Oct 25, 2012, at 4:12 PM, George Christman  wrote:

> We currently have one box doing all the work which is probably less than
> ideal. I really never gave it a thought to use AWS or a VPS to do the image
> processing. I have an image processing service within my T5 app, how would
> you tell tapestry to use a different server to handle this, or is my
> thinking entirely wrong here. 
> 
> 
> 
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236p5717243.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> -
> 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



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread George Christman
We currently have one box doing all the work which is probably less than
ideal. I really never gave it a thought to use AWS or a VPS to do the image
processing. I have an image processing service within my T5 app, how would
you tell tapestry to use a different server to handle this, or is my
thinking entirely wrong here. 



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236p5717243.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread George Christman
Who do you guys recommend for VPS? I'd rather get out of owning my own box.
Our current hosting cost is 350/mo for a 2 space rack. This includes a 45mb
pipe, but does not include hardware cost.  



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236p5717242.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread Thiago H de Paula Figueiredo
On Thu, 25 Oct 2012 17:47:45 -0200, George Christman  
 wrote:



We seem to be pushing our processor limits while
processing photo's at peak times of the day, so I was looking for an
affordable way to scale the processors at those times of the day.


Why, at least for now, don't you use AWS or a VPS just for the image  
processing and leave the rest as it is now? That seems to be your  
bottleneck now. Usually, the web app itself isn't the bottleneck, but the  
database or in some external processing like you do in your images.


The majority of our user base is outside of our local area, so I was  
hoping for some sort of CDN, however I'm not sure how tapestry uses this  
though.


Just generate  elements with src attributes pointing to wherever the  
images are stored.


--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread Thiago H de Paula Figueiredo
On Thu, 25 Oct 2012 17:30:24 -0200, Kalle Korhonen  
 wrote:



If you are not expecting exploding growth, I wouldn't move onto a
cloud platform. It's difficult to beat the price/performance ratio of
a VPS/dedicated platform. You really need to have some traffic on the
system before you need the out-scalability for a reasonably well
implemented Tapestry app.


Agreed.


On cloud platforms, Google app engine is fairly restrictive for Java
apps. However, Google Cloud SQL seems to offer a MySQL slice nowadays.
Of the newcomers, Cloudbees is decent, offers mysql instances and runs
on AWS. But I've been very impressed with Jelastic myself. I love that
they allow tweaking the container configuration to your heart's
content and their real-time monitoring/control panel is one of the
simplest I've ever seen. Our VPS-based alpha system still beats a
similarly-powered single instance on Jelastic by at least 2 to 1.


If you want to try some cloud solution without paying anything, Red Hat's  
OpenShift is a good option. It has a free tier that I believe can hold  
some small traffic and data without problems.


As Kalle said, just worry about scaling when you really have a scaling  
problem, specially when you just have it after exhausting the VPS level.


--
Thiago H. de Paula Figueiredo

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread George Christman
Hi Kalle, my app "CarDaddy.com, a vehicle classified app", in its current
state does around 20/30 thousand unique visitors /mo and approximately 2000
vehicle postings a month. We have been seeing pretty consistent growth over
the past few months. We seem to be pushing our processor limits while
processing photo's at peak times of the day, so I was looking for an
affordable way to scale the processors at those times of the day. The
majority of our user base is outside of our local area, so I was hoping for
some sort of CDN, however I'm not sure how tapestry uses this though. The
biggest problem is our site is for the most part free which means there
isn't a whole lot of cash to work with. I'll deff check out your
suggestions. 



--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236p5717239.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Tapestry App on Cloud

2012-10-25 Thread Kalle Korhonen
If you are not expecting exploding growth, I wouldn't move onto a
cloud platform. It's difficult to beat the price/performance ratio of
a VPS/dedicated platform. You really need to have some traffic on the
system before you need the out-scalability for a reasonably well
implemented Tapestry app.

On cloud platforms, Google app engine is fairly restrictive for Java
apps. However, Google Cloud SQL seems to offer a MySQL slice nowadays.
Of the newcomers, Cloudbees is decent, offers mysql instances and runs
on AWS. But I've been very impressed with Jelastic myself. I love that
they allow tweaking the container configuration to your heart's
content and their real-time monitoring/control panel is one of the
simplest I've ever seen. Our VPS-based alpha system still beats a
similarly-powered single instance on Jelastic by at least 2 to 1.

Kalle


On Thu, Oct 25, 2012 at 12:14 PM, George Christman
 wrote:
> Hello all, I figured it's been a while since this topic has been brought up.
> Anyhow I'm preparing to move my Tapestry app from our own dedicated server
> onto a cloud. I'm wondering if anybody has any recent experience in doing
> so. My app is rather simple and uses a mysql db which I assume eliminates
> the google app engine? I looked into Amazon and it seems a bit pricey for a
> small app, so I'm wondering if anybody has any other suggestions? Also, I'm
> no server guy, so how does Tapestry scale as traffic increases? Does the
> server just see Tapestry requiring more resources and auto expand hardware
> as needed? Thanks Everyone.
>
>
>
> --
> View this message in context: 
> http://tapestry.1045711.n5.nabble.com/Hosting-Tapestry-App-on-Cloud-tp5717236.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> -
> 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



Re: hosting

2012-02-21 Thread François Facon
 > Recently I've discovered another one: Jelastic(.com). I haven't tried i yet.

Thanks for the link thiago.
Jelastic is brillant.  two clicks and my Tapestry jQuery Mobile Web app is up.
http://techforum.jelastic.com/

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: hosting

2012-02-11 Thread Thiago H. de Paula Figueiredo
On Sat, 11 Feb 2012 10:12:16 -0200, François Facon  
 wrote:



Very easy to deploy on heroku seens
http://www.jamesward.com/2012/02/08/deploy-containerless-tapestry-apps-on-heroku


Recently I've discovered another one: Jelastic(.com). I haven't tried i  
yet.




François

2011/11/29 Christian Köberl :

2011-11-29 14:17, csckid:

Isn't there any free java hosting site?

There are some:
http://www.cloudbees.com/
http://www.heroku.com/
https://openshift.redhat.com/app/
http://www.cloudfoundry.com/
and as you already noted GAE: http://appengine.google.com/
I guess there are some more, and there will be more in the next couple
of months.

All providers give you at least one free application to host.

I've run Tapestry apps successfully in Cloudbees, and GAE. I guess there
won't be many problems on the others.

Chris

-
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




--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
Consultor, desenvolvedor e instrutor em Java, Tapestry e Hibernate
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: hosting

2012-02-11 Thread François Facon
Very easy to deploy on heroku seens
http://www.jamesward.com/2012/02/08/deploy-containerless-tapestry-apps-on-heroku

François

2011/11/29 Christian Köberl :
> 2011-11-29 14:17, csckid:
>> Isn't there any free java hosting site?
> There are some:
> http://www.cloudbees.com/
> http://www.heroku.com/
> https://openshift.redhat.com/app/
> http://www.cloudfoundry.com/
> and as you already noted GAE: http://appengine.google.com/
> I guess there are some more, and there will be more in the next couple
> of months.
>
> All providers give you at least one free application to host.
>
> I've run Tapestry apps successfully in Cloudbees, and GAE. I guess there
> won't be many problems on the others.
>
> Chris
>
> -
> 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



Re: hosting

2011-11-29 Thread Christian Köberl
2011-11-29 14:17, csckid:
> Isn't there any free java hosting site?
There are some:
http://www.cloudbees.com/
http://www.heroku.com/
https://openshift.redhat.com/app/
http://www.cloudfoundry.com/
and as you already noted GAE: http://appengine.google.com/
I guess there are some more, and there will be more in the next couple
of months.

All providers give you at least one free application to host.

I've run Tapestry apps successfully in Cloudbees, and GAE. I guess there
won't be many problems on the others.

Chris

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: hosting

2011-11-29 Thread Barry Books
I've used both Google and Amazon to host Tapestry sites. If you know
how to administer a Linux box then AWS is better if not Google might
be better. Google has some/many restrictions AWS has none and in fact
has many other useful services.

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: hosting

2011-11-29 Thread Thiago H. de Paula Figueiredo

On Tue, 29 Nov 2011 11:17:49 -0200, csckid  wrote:


Is it possible to host tapestry site on google app engine?


Yes. Search the mailing list archives.


Isn't there any free java hosting site?


Amazon AWS has a free tier (http://aws.amazon.com/free/), so does Red Hat  
(https://openshift.redhat.com/app/). I haven't tried any of them.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor

Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-23 Thread Muhammad Mohsen
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  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  >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  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  > > >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
> > > > 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  >
> > > > 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

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Alex Kotchnev
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 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  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  > >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
> > > 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 
> > > 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:
> > > > >> 

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Thiago H. de Paula Figueiredo
On Mon, 22 Feb 2010 11:48:46 -0300, Muhammad Mohsen   
wrote:



Thiago,


Hi!

I'm not absolutely sure, but I think tapestry's registry uses this  
service to invoke it's modules in threads..


It doesn't. Even if it did, it would only happen once, when the  
application is started, not when handling requests.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.

http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Muhammad Mohsen
Thiago,
*
"..**ParallelExecutor*
* service uses a thread pool.."*
*"..**public interface
**ParallelExecutor
A
service that allows work to occur in parallel using a thread pool. The
thread pool is started lazily, and is shutdown when the Registry is
shutdown..."*
http://tapestry.apache.org/tapestry5/apidocs/org/apache/tapestry5/IOCSymbols.html#THREAD_POOL_ENABLED

I'm not absolutely sure, but I think tapestry's registry uses this service
to invoke it's modules in threads..since we made tapestry run in a single
thread..and if my assumption is correct..then tapestry will definitely slow
down..this drop is proportional to the amount of work done in the
application.

Alex,
 I'll tell you what happened with me. Tapestry on GAE kept returning
tapestry assets in "broken" paths. Nothing where actually there at the
locations returned. So my suggestion is not for slow responses that times
out. it's for the issue discussed at the end of this page:
http://tapestry.apache.org/tapestry5/guide/assets.html
Actually its not "my" suggestion, the guide did mention it.




On Mon, Feb 22, 2010 at 1:12 PM, Dmitry Gusev 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  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  > >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
> > > 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 
> > > 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 

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Dmitry Gusev
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  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  >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
> > 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 
> > 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
> > > >> > .
> > > >> >
> > > >> > 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 unsubscrib

Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-22 Thread Alex Kotchnev
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 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
> 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 
> 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  >
> > >> 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
> > >> > .
> > >> >
> > >> > 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
>


Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-21 Thread Thiago H. de Paula Figueiredo
On Sun, 21 Feb 2010 19:11:26 -0300, Muhammad Mohsen   
wrote:



Adding, I'd say that the low performance is due to the single thread
restriction that GAE forces on tapestry and most probably other  
frameworks.


I'm not following you. GAE doesn't allow spawning new threads but, unless  
the framework does something in parallel threads, that wouldn't make any  
difference: any requests are handled by different threads.


--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, Ars Machina Tecnologia da  
Informação Ltda.

http://www.arsmachina.com.br

-
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org



Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-21 Thread Muhammad Mohsen
Adding, I'd say that the low performance is due to the single thread
restriction that GAE forces on tapestry and most probably other frameworks.

On Sun, Feb 21, 2010 at 1:31 PM, Muhammad Mohsen 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 
>> 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 
>> >> 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
>> >> > .
>> >> >
>> >> > 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
>



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


Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-21 Thread Muhammad Mohsen
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
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  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 
> >> 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
> >> > .
> >> >
> >> > 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


Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-19 Thread Kalle Korhonen
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  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 > 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 
>> 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
>> > .
>> >
>> > 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



Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-19 Thread Alex Kotchnev
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  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 
> 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
> > .
> >
> > 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
>
>


Re: Hosting Apache Tapestry5.1 on GAE (Google Application Engine)

2010-02-18 Thread Kalle Korhonen
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  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
> You'll find the application's link it but here it is
> again
> .
>
> 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