Re: [google-appengine] Re: Dev workflow for Modules + Maven

2014-04-22 Thread Rafael Sanches
I can run with that command, but I am running directly from IntelliJ
appengine plugin, (like the screenshot configuration I sent)


On Tue, Apr 22, 2014 at 4:11 PM, Aleem Mawani wrote:

> I have a similar POM for each of my modules as your 2nd example, but
> cd'ing into that directory and running mvn appengine:devserver did not work
> (failed with an error). Is that how you're running a single module server?
>
>
> On Tue, Apr 22, 2014 at 11:46 AM, Rafael  wrote:
>
>> I use the IntelliJ plugin:
>> https://www.dropbox.com/s/yt0nk3paanwtol3/Screenshot%202014-04-22%2011.46.00.png
>>
>> In any case, you can run each module separately with something like this:
>> https://www.dropbox.com/s/6cve0xqticujdzw/Screenshot%202014-04-22%2011.47.00.png
>>
>>
>>
>>
>> On Tue, Apr 22, 2014 at 11:37 AM, Aleem Mawani wrote:
>>
>>> How are you able to run each server independently? I'm having trouble
>>> getting maven to just build and run one server.
>>> ᐧ
>>>
>>>
>>> On Tue, Apr 22, 2014 at 11:29 AM, Rafael  wrote:
>>>
 Aleem,

 I use IntelliJ to run each module separately. I have 4 modules running
 in different ports.

 That way I can just press play and it will replace the resources and
 classes with new ones, or I can just reboot one module at the time. I can
 also boot only one module if I want.

 I had to code my own dispatch.xml behavior, since the appengine java
 sdk doesn't handle that: https://gist.github.com/mufumbo/6325670 (see
 comments for a more updated version)

 thanks
 rafa


 On Tue, Apr 22, 2014 at 5:10 AM, Gilberto Torrezan Filho <
 gilberto.torre...@gmail.com> wrote:

> Hi,
>
> If you're using Eclipse, take a look at this topic:
> https://groups.google.com/forum/#!topic/google-plugin-eclipse/9K0RkQID740
>
> Maven + app engine modules doesn't work quite well with Eclipse right
> now, and judging by the volume of messages in the topic above, I don't
> think we will see any improvement in a near future.
>
> While there is a Google I/O coming up, there is hope for a big capital
> letters announcement: "Behold, Servlets 3, Java 8 and better Maven +
> Modules + Eclipse integration for App Engine!".
>
> Do you think local testing is hard the way it is now? Try adding GWT
> to the mix and you'll end with more white strands of hair in your head...
> ;-)
>
>
> On Sunday, April 20, 2014 8:27:46 PM UTC-3, aloo wrote:
>>
>> Hi all,
>>
>> I'm curious how others have setup their dev workflow when using
>> appengine modules + maven?
>>
>> In order to run the local dev server I need to rebuild my entire
>> project and then run mvn appengine:devserver in my ear directory. This
>> typically takes a minute for a simple code change.
>>
>> I'm having a hard time iterating during local testing due to this.
>> I'm using the same project structure as the sample modules app here:
>> https://github.com/GoogleCloudPlatform/appengine-modules-sample-java
>>
>  --
> You received this message because you are subscribed to the Google
> Groups "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to google-appengine+unsubscr...@googlegroups.com.
>
> To post to this group, send email to google-appengine@googlegroups.com
> .
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/d/optout.
>

  --
 You received this message because you are subscribed to a topic in the
 Google Groups "Google App Engine" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/google-appengine/YvE-zXrOEkI/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to
 google-appengine+unsubscr...@googlegroups.com.

 To post to this group, send email to google-appengine@googlegroups.com.
 Visit this group at http://groups.google.com/group/google-appengine.
 For more options, visit https://groups.google.com/d/optout.

>>>
>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-appengine+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Google App Engine" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/google-appengine/YvE-zXrOEkI/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, sen

Re: [google-appengine] Have anyone tried to port a java project with heavy framworks, such as struts and spring, to a pure jsp/servlet project?

2014-02-26 Thread Rafael Sanches
De Witte,

Do you have a multi module project?

How do you handle that without module? The eclipse plugin doesn't work with
that setup.

thanks
rafa


On Wed, Feb 26, 2014 at 3:45 PM, de Witte  wrote:

> We have been working with Java and GAE for several years now and so far no
> problems.
>
> AngularJs + ExtJS 4.0 is a good combo for the front end. Although I prefer
> GWT.
>
> Spring+Maven is a headache even without GAE. We have been avoiding it and
> doing fine.
>
>
>
>
>
>
> Op maandag 24 februari 2014 03:11:22 UTC+1 schreef Rafael Sanches:
>>
>> Not being updated doesn't mean it doesn't work properly.
>>
>> GAE + java is definitely frustrating, but some of your statements are a
>> bit too broad ;)
>>
>>
>> On Sun, Feb 23, 2014 at 12:44 AM, Tapir  wrote:
>>
>>>
>>>
>>> On Sunday, February 23, 2014 1:47:28 PM UTC+8, Rafael Sanches wrote:
>>>>
>>>> Can you try and let us all know? it may be the solution you're looking
>>>> for.
>>>>
>>>>
>>> The Google App Engine module for Play has not been updated for 2 years!
>>> :(
>>>
>>> For another one, Objectify , https://code.google.com/p/
>>> play-framework-objectify/, the showcase on this page need >15 seconds
>>> to load. :(
>>>
>>> The decision is made, I will never use java for web development any
>>> more, for many reasons, such as not support hot deploy, large memory
>>> consumption, too many configurations, too many hidden elements, and too
>>> slow startup on GAE.
>>>
>>>
>>>>
>>>> On Thu, Feb 20, 2014 at 8:29 PM, Tapir  wrote:
>>>>
>>>>>
>>>>>
>>>>> On Friday, February 21, 2014 5:39:17 AM UTC+8, Rafael Sanches wrote:
>>>>>>
>>>>>> Have you tried playframework? They have optimizations to make your
>>>>>> life easier when developing.
>>>>>>
>>>>>> My life is living hell right now when developing with maven and
>>>>>> appengine. The play framework solves that by running their own thing.
>>>>>>
>>>>>> Read more: 
>>>>>> http://www.playframework.com/documentation/1.0/gae<http://www.google.com/url?q=http%3A%2F%2Fwww.playframework.com%2Fdocumentation%2F1.0%2Fgae&sa=D&sntz=1&usg=AFQjCNFObfH5yu11uniN9ReUNUVgFDtbGg>
>>>>>>
>>>>>
>>>>> I don't think they can bypass the core GAE SDK lib.
>>>>> The problem of GAE Java is at the core GAE SDK lib.
>>>>>
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Wed, Feb 19, 2014 at 7:24 PM, Tapir  wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thursday, February 20, 2014 6:26:52 AM UTC+8, Emanuele Ziglioli
>>>>>>> wrote:
>>>>>>>>
>>>>>>>> Great stuff
>>>>>>>>
>>>>>>>> hope you don't move to Go too soon!
>>>>>>>>
>>>>>>>
>>>>>>> Why?
>>>>>>> It is a way of no ways.
>>>>>>>
>>>>>>>
>>>>>>>>
>>>>>>>> On Thursday, 20 February 2014 03:52:33 UTC+13, Tapir wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On Tuesday, February 18, 2014 6:43:56 PM UTC+8, Tapir wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Tuesday, February 18, 2014 4:56:51 PM UTC+8, Rafael Sanches
>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>> very interesting...
>>>>>>>>>>>
>>>>>>>>>>> can you tell me how you did that? in a maven build or only via
>>>>>>>>>>> eclipse?
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> neither, I did it manually.
>>>>>>>>>>
>>>>>>>>>> ok, the new test result:
>>>>>>>>>> 1. if I remove all jar files from the war/WEB-INF/lib, the warmup
>>>>>

Re: [google-appengine] I tried to use pure jsp in a new project. Only 2 jsp files. It seems the warmup request still needs 5-7 seconds.

2014-02-06 Thread Rafael Sanches
It doesn't matter, appengine scans all JARS regardless. Unfortunately the
appengine framework has big jars inside.


On Thu, Feb 6, 2014 at 1:29 AM, Tapir  wrote:

>
>
> On Thursday, February 6, 2014 3:21:00 PM UTC+8, Rafael Sanches wrote:
>>
>> Yes, that's correct.
>>
>> Java is not reliable at all for the warming up part. There are many
>> uncovered bugs, for example: http://stackoverflow.com/questions/17611157/
>> disable-tld-scanning-at-appengine-initialization
>>
>> If anyone can fix this I will pay infinite beers. :)
>>
>
> There are only the essential jars copied from App Engine SDK folders in
> this projects, and there is no tld files in the jars.
> It doesn't matter whether or not there are tld files?
>
>
>>
>> thanks
>> rafa
>>
>>
>> On Wed, Feb 5, 2014 at 9:32 PM, Tapir  wrote:
>>
>>> Is this normal?
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-appengi...@googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.com.
>>>
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [google-appengine] Re: Snapchat

2014-01-21 Thread Rafael Sanches
timh,

you pay $60 a month for running a service for 2000 daily users.

that's quite expensive don't you think?

you're the one telling i'm ridiculous, when the only thing I am saying is
that no one can argue that appengine is a good choice when it comes to
costs.

best,
rafa


On Tue, Jan 21, 2014 at 12:50 AM, timh  wrote:

> Yes the thread title might say that,  but you keep saying it is too
> expensive in all cases.. without any qualification.  Other than it costs
> you a lot to do what you do.
>
> T
>
>
>
> On Tuesday, January 21, 2014 4:34:40 PM UTC+8, Rafael Sanches wrote:
>
>> Hi timh,
>>
>> Please, read the title of this thread. The use case is clear: snapchat
>>
>> If my bill is quite expensive with a couple million uniques a month,
>> imagine theirs with a couple hundred million?
>>
>> Best,
>> Rafa
>>
>>
>> On Tue, Jan 21, 2014 at 12:16 AM, timh  wrote:
>>
>>> Honestly, every one will have different experiences, to make blanket
>>> statements about how it is expensive just doesn't fly.
>>>
>>> I can argue and with figures to back my statement up.  Maybe you
>>> application doesn't suit the appengine model.
>>>
>>> I have a system with around 2000 daily users (they must use the system
>>> for certification, so it is compulsory for 3-5 years. Numbers will be twice
>>> that within 6 months). This system went live in July 2010.
>>>
>>> It costs only $2-$3 a day, we generally don't have problems with
>>> 'hiccoughs' and the amount we save in not having to manage any
>>> infrastructure at all
>>> is worth a great deal more than $2 a day.
>>>
>>> Ultimately it's horses for courses.  Maybe you picked the wrong platform
>>> for you application, maybe you made bad architectural choices, but to
>>> suggest
>>> you experience holds for all other use cases is quite ridiculous.
>>>
>>> T
>>>
>>> On Tuesday, January 21, 2014 3:55:26 PM UTC+8, Rafael Sanches wrote:
>>>
>>>> alex,
>>>>
>>>> I keep using appengine because my service is too big for a migration.
>>>> I'm the founder of the company.
>>>>
>>>> We chose appengine when it launched. At the time the costs we more than
>>>> 3 times less. They changed the price and our service was already built, so
>>>> we've got locked in.
>>>>
>>>> Do the calculations. I would rather hire a $300k/year engineer that can
>>>> scale the service with $5k a month, rather than hiring a $120k that would
>>>> scale at $60k month.
>>>>
>>>> Again, we're not in the 70's anymore. It's not that difficult to do
>>>> what you're describing.
>>>>
>>>> I'm not arguing. This is not a discussion. Nobody can argue that
>>>> appengine is a good choice costs wise.
>>>>
>>>> There are plenty of wonderful things about appengine, but cost is
>>>> certainly not one of them, so please stop fake-ing :)
>>>>
>>>> bye
>>>> rafa
>>>>
>>>>
>>>> On Mon, Jan 20, 2014 at 11:43 PM, alex  wrote:
>>>>
>>>>> Totally agree with Jim and Tim.
>>>>> But, I think it's a waste of time trying to reason with guys like
>>>>> Rafael and coto.
>>>>>
>>>>> They keep forgetting the cost of software and hardware maintainance,
>>>>> monitoring, load balancing, scaling, intrastructure stack,
>>>>> reliability, etc, no matter how many times you try to explain it.
>>>>> Sometimes, I wonder why they keep using App Engine. Maybe it's just
>>>>> because their companies actually did proper ROI/TCO calculations.
>>>>>
>>>>> On 21 January 2014 07:35, Rafael  wrote:
>>>>> > Guys,
>>>>> >
>>>>> > Please, we're not in 1970 anymore. There is no argue that appengine
>>>>> is the
>>>>> > most expensive hosting on earth and possibly the universe.
>>>>> >
>>>>> > My company spend $4000 a month with appengine. We could host the same
>>>>> > service with $50 in a more powerful environment:
>>>>> > http://www.hetzner.de/en/hosting/produktmatrix/rootserver-
>>>>> produktmatrix-ex
>>>>> >
>>>>> > With $300 we could make it redun

Re: [google-appengine] maven + guice + appengine

2013-08-07 Thread Rafael Sanches
Jon,

I usually solve these problems by doing: $ mvn dependency:tree

that way you check who's else is including the ASM package. In your case
it's weird that it goes all the way to the repackage garbage.

thanks
rafa


On Wed, Aug 7, 2013 at 7:38 AM, Jon Stevens  wrote:

> It does seem like that indeed and your suggestion was a good one (I had
> tried it already). I think that the classpath is getting munged by the
> maven plugin somehow and that is what is messing things up.
>
>
> On Wednesday, August 7, 2013 12:24:31 AM UTC-7, Rafael Sanches wrote:
>
>> from your gist it seems that guice is getting the wrong asm package:
>> com.google.appengine.**repackaged.org.objectweb.asm.**ClassReader
>>
>>
>> On Tue, Aug 6, 2013 at 10:10 PM, Jon Stevens  wrote:
>>
>>> Thanks for the suggestion, but it didn't help.
>>>
>>> I've boiled this down to a super simple war project and filed an issue.
>>> Hopefully someone smarter than I will take a look into it. As far as I can
>>> tell, using Guice is totally broken with the maven appengine plugin.
>>>
>>> https://code.google.com/p/**appengine-maven-plugin/issues/**detail?id=35<https://code.google.com/p/appengine-maven-plugin/issues/detail?id=35>
>>>
>>> jon
>>>
>>>
>>> On Monday, August 5, 2013 1:00:44 PM UTC-7, Rafael Sanches wrote:
>>>
>>>> try to add this:
>>>>
>>>> 
>>>> org.ow2.asm
>>>> asm
>>>> 4.0
>>>> 
>>>>
>>>> also, this type of question is perfect for stackoverflow. You can tag
>>>> your post with "appengine-maven-plugin".
>>>>
>>>> thanks
>>>> rafa
>>>>
>>>>
>>>> On Sun, Aug 4, 2013 at 6:51 PM, Jon Stevens  wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> I've got a pretty simple webapp that I'm trying switch to maven and
>>>>> get running with the mvn appengine:devserver command. I'm getting an odd
>>>>> stack trace during startup that seems centered around my use of Guice. 
>>>>> I've
>>>>> done all the requisite searching, but have come up empty handed.
>>>>>
>>>>> This app worked fine before just running it in the Google Plugin for
>>>>> Eclipse and a simple ant based build.
>>>>>
>>>>> Instead of posting the entire stack trace here, I've created a gist
>>>>> for it: 
>>>>> https://gist.github.com/**lo**okfirst/af1a3d11c5800bdcf8b9<https://gist.github.com/lookfirst/af1a3d11c5800bdcf8b9>
>>>>>
>>>>> Any ideas?
>>>>>
>>>>> jon
>>>>>
>>>>>  --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "Google App Engine" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to google-appengi...@**googlegroups**.com.
>>>>> To post to this group, send email to google-a...@googlegroups.**com.
>>>>>
>>>>> Visit this group at http://groups.google.com/**group**
>>>>> /google-appengine <http://groups.google.com/group/google-appengine>.
>>>>> For more options, visit 
>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>> .
>>>>>
>>>>>
>>>>>
>>>>
>>>>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-appengi...@**googlegroups.com.
>>> To post to this group, send email to google-a...@googlegroups.**com.
>>> Visit this group at 
>>> http://groups.google.com/**group/google-appengine<http://groups.google.com/group/google-appengine>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Flood of warm up requests!

2013-07-27 Thread Rafael Sanches
Hello Stefano,

I'm on gold support and they haven't been able to help.

In any case you should get support since they have discounted hours (which
reduce costs)

thanks
rafa


On Sat, Jul 27, 2013 at 1:02 PM, Stefano Ciccarelli
wrote:

> I agree!
>
> The next week I'll buy the silver support just to receive a support about
> this issue.
> —
> Sent from Mailbox  for iPhone
>
>
> On Sat, Jul 27, 2013 at 8:15 AM, Rafael  wrote:
>
>> welcome to my world. this flood thing is out of control.
>>
>> the past three weeks I have done everything possible trying to overcome
>> any possible issues related to my app code.
>>
>> i have even:
>> 1) shrinked all my code with proguard, moved my war from 60mb to 23mb.
>> 2) reduced boot time
>>
>> It's just a huge waste of three weeks of my team time, where we could
>> have rewritten the whole product on another platform or just built lots of
>> new features. Instead, our users are still facing cold startups and
>> complaining about service unreliability.
>>
>> It's frustrating because I did everything possible on my side and the
>> issues don't go away.
>>
>> if anyone come up with a solution, please let me know.
>>
>> this thread is so frustrating that it feels like an appengine support
>> google, just like one of those drug addicts group..!!! nothing funny really
>> :D
>>
>> thanks
>> rafa
>>
>>
>>
>> On Fri, Jul 26, 2013 at 9:50 PM, husayt  wrote:
>>
>>> I have the same - flood of warmup issues. My app has been over quota
>>> whole day because of this. (appid: aforizmler, runtime:java)
>>> This is really becoming a critical issue. We are loosing users/visitors
>>> because appengine is so unreliable so often so lately.
>>> We get this warmup issues almost every week and the rest of the time it
>>> is just very slow.
>>>
>>> I am so inclined to just migrate to some other platform right now.
>>>
>>> Can somebody from Google give us some information on this. We need to
>>> know that this issue is being handled and going to be resolved finally. I
>>> am sure and everybody here can confirm this is number one issue at least
>>> for java runtime.
>>>
>>>
>>> On Friday, 26 July 2013 23:18:40 UTC+1, Dustin Doan wrote:

 I'm seeing the same thing, starting yesterday. Has anyone heard from
 Google on this issue? I don't have the support privileges necessary to
 submit a ticket of my own. I'll definitely try to redeploy, but it would be
 nice to know what's causing this/how to prevent it in the future.

 On Friday, July 26, 2013 12:22:09 AM UTC-7, Hugo Visser wrote:
>
> Same issue yesterday on the Java runtime. Now I'm seeing a lot of warm
> up requests too, almost one for every request I do, despite the fact I 
> have
> resident instances. I've filed a billing issue to request a refund for
> charged resources.
>
> Hugo
>
> On Tuesday, June 25, 2013 10:49:00 PM UTC+2, chilang wrote:
>>
>> Hi,
>>
>> I'm seeing 15 warm up requests per secs causing 60+ instances to be
>> spin up, despite having little traffic!
>>
>> I haven't changed anything (code nor settings) recently.
>> This has started in the last 2 hours.
>>
>> I've only noticed this due to app suddenly running out of quota.
>> I'm trying to cap Idle Instances to 1-1 to no avail. I've increased
>> the quota but at this rate it is going to burn through it very soon.
>>
>> Anyone else seeing this ?
>>
>> Regards,
>> Chi Lang
>>
>  --
>>> You received this message because you are subscribed to the Google
>>> Groups "Google App Engine" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to google-appengine+unsubscr...@googlegroups.com.
>>> To post to this group, send email to google-appengine@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/google-appengine.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>>
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Google App Engine" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to google-appengine+unsubscr...@googlegroups.com.
>> To post to this group, send email to google-appengine@googlegroups.com.
>> Visit this group at http://groups.google.com/group/google-appengine.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to google-appengine+unsubscr...@googlegroups.com.
> To post to this group, send email to google-appengine@googlegroups.com.
> Visit this group at http://groups.google.com/group/google-appengine.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
You received this messag

[google-appengine] Re: Reducing instance startup time JSP taglib scanning

2013-07-11 Thread Rafael Sanches
Is it possible nobody figured this out yet? There's nothing on the 
internet. 

With standard jetty it should be just this in web.xml: 



org.mortbay.jetty.webapp.NoTLDJarPattern

test.jar|.*\.jar




It doesn't work on appengine though. 

On Tuesday, July 31, 2012 8:33:04 PM UTC-7, cloudpre wrote:
>
> I have exactly the same issue. For me, it takes more than 21secs for it to 
> scan just this one. The system is not slow.
>
>
> 
>
> Aug 1, 2012 *1:58:47 AM *com.google.apphosting.utils.jetty.JettyLogger 
> debug
>
> FINE: TLD search of 
> file:/x/eclipse/plugins/com.google.appengine.eclipse.sdkbundle_1.6.4.v201203300216r36/appengine-java-sdk-1.6.4/lib/tools/jsp/repackaged-appengine-jasper-jdt-6.0.29.jar
>
> Aug 1, 2012 *1:59:08 AM* com.google.apphosting.utils.jetty.JettyLogger 
> debug
>
> FINE: Init SecureRandom.
>
> ---
>
> Is there a way to disable taglib totally so that it does not scan? The 
> entire application has been built for speed and this thing discourages me.
>
> Thanks.
>
> On Tuesday, July 10, 2012 6:07:14 AM UTC-7, Jordi P.S. wrote:
>>
>> Trying to reduce the startup time of my instances I've come accross the 
>> taglib classpath scanning.
>>
>> My application has 50mb of jars. According to a yourkit profiling 
>> session: the scanning of the tld takes 20% of the startup time.
>>
>> Is there a way to disable that? I just use JSTL standard libs which are 
>> already included (according to the 
>> doc
>> ).
>>
>> I'd like to disable as well JSP precompilation. Any idea?
>>
>> Thanks,
>> Jordi.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [google-appengine] Re: Google App Engine SDK 1.7.7 is now available!

2013-04-15 Thread Rafael Sanches
Jeff,

I use the same library, but I had to change their source code, specially
the part where it create threads. It should use appengine threadfactory
instead.

Here's my issue comment: https://github.com/notnoop/java-apns/issues/101

I will submit a patch soon, but I'm tight on schedule.

I have talked too soon about sockets being working nice. Yesterday I have
reached max quota on the sockets creation. I don't see why there's a quota
at all. It means that I can't send APNS pushes as much as other HTTP
integrated api's.

thanks
rafa


On Mon, Apr 15, 2013 at 8:25 AM, Jeff Schnitzer  wrote:

> Can't help you with python, but this bit of Java code works great for me
> (called via the task queue). It uses this library:
>
> https://github.com/notnoop/java-apns
>
> Code:
>
> @Singleton
> public class PushService {
>
> /** */
> ApnsService service = APNS.newService()
>  .withCert(this.getClass().getResourceAsStream(CERT), CERT_PW)
> .withProductionDestination()
> .withNoErrorDetection()
>  .build();
>
> /**
>  * @param sound can be null
>  * @param badge can be null
>  */
> synchronized public void push(String token, String message, String sound,
> Integer badge) {
>  PayloadBuilder bld = APNS.newPayload().alertBody(message);
>
> if (sound != null)
> bld = bld.sound(sound);
>
> if (badge != null)
> bld = bld.badge(badge);
>
> String payload = bld.build();
>
> service.push(token, payload);
> }
> }
>
>
>
> On Sun, Apr 14, 2013 at 7:58 PM, mike  wrote:
>
>> Do you mind to share a bit on how you integrated APN ?
>>
>> Did you write the APN code yourself or use existing code?
>> I need to implement APN in Python as well.
>> I was using: https://github.com/samuraisam/pyapns
>>
>> Now I am thinking modify the code here:
>> https://github.com/simonwhitaker/PyAPNs
>>
>>
>>
>> On Friday, April 12, 2013 9:50:23 PM UTC-4, Rafael Sanches wrote:
>>
>>> Thanks for this guys.
>>>
>>> We have integrated apple's push system and it seems to work great!
>>>
>>> Eliminating an external server reduces our app development complexity by
>>> a lot.
>>>
>>> thanks!
>>> rafa
>>>
>>>
>>> On Fri, Apr 12, 2013 at 1:32 PM, Vinny P  wrote:
>>>
>>>> Richmond & AppEngine team,
>>>>
>>>> If you're ever in the Chicago area, look me up and I'll buy you a beer.
>>>> I've been waiting for outbound sockets for years!
>>>>
>>>> A quick issue though: Can you make it explicitly clear in the Sockets
>>>> API Overview https://developers.**google.com/appengine/docs/**
>>>> java/sockets/overview<https://developers.google.com/appengine/docs/java/sockets/overview>
>>>>  that
>>>> developers have to include the JavaMail JARs if they need to access
>>>> IMAP/POP3/SMTP via Javamail? I say this because https://developers.**
>>>> google.com/appengine/docs/**java/mail/overview#Sending_**
>>>> Mail_with_the_JavaMail_API<https://developers.google.com/appengine/docs/java/mail/overview#Sending_Mail_with_the_JavaMail_API>
>>>>  **states "*Do not add Oracle®'s JavaMail JARs to your app.*" I
>>>> realize that's an entirely different section, but it makes people believe
>>>> that AppEngine already packages the full JavaMail library, when truly it
>>>> doesn't repackage the Provider classes. It would also be fine if you
>>>> skipped the notice and included the Provider libraries within the AppEngine
>>>> SDK.
>>>>
>>>> Thanks
>>>> -
>>>> -Vinny P
>>>> Technology & Media Advisor
>>>> Chicago, IL
>>>>
>>>> @GOV on AppDotNet: https://alpha.app.net/gov
>>>>
>>>>
>>>> On Tuesday, April 9, 2013 5:44:38 PM UTC-5, Richmond Manzana wrote:
>>>>>
>>>>> Hi everyone,
>>>>>
>>>>> We're happy to announce that we have released the 1.7.7 SDK.
>>>>>
>>>>> This release includes new features such as updates to the Maven
>>>>> Plugin, and Outbound Sockets.  We're also happy to announce that we have
>>>>> removed the weekly $2.10 minimum spend for billing enabled apps :)
>>>>>
>>>>> For more details, please read our blog post and release notes.
>>>>>
>>>>> Announcement:
>>>>> http://googleappengine.**blogspo**t

[google-appengine] Re: Every day around 9.10 AM Brussels time, huge drop in GAE performances

2013-03-12 Thread Rafael Sanches
I will also add that 10 minutes ago all of my instances have restarted. 

It looks like one of those "cronjobs" to restart the server that people 
used to use in 1996. 

On Tuesday, March 12, 2013 12:54:23 AM UTC-7, Rafael Sanches wrote:
>
> The same here. It seems to be related to my app be on datastore. Is anyone 
> having this issue with HDR?
>
> There's no chance I will be able to migrate to HDR in the near future. It 
> would be easier to migrate off appengine.
>
> This issue is happening for the past 5 days already. Maybe they used to 
> cache datastore stuff in memcache, but now memcache has shrunk and this is 
> happening? 
>
> My DAU's already dropped from 130k to 90k. I don't sleep for two days 
> already and I hope the appengine team is doing the same. 
>
> thanks!
>
> On Monday, March 11, 2013 3:15:41 AM UTC-7, doright wrote:
>>
>> Dear Google, thought you might be interested to hear a concern direct 
>> from a client of mine this morning:
>>
>> "I'm getting more and more worried about the use of  when high 
>> season is here.
>> I have the feeling that Google platform cannot handle professionnal heavy 
>> systems as  is becoming.
>> Is there anyway to have an harddrive version for us to use as backup when 
>> we cannot connect to Google?"
>>
>> Of course I'd love to implement a full local->central failover solution 
>> that seamlessly handles the non-existence of the cloud and restores when 
>> re-available.  But I have a feeling that might take a very long time!
>> - In choosing google I had thought I'd have the sort of availability that 
>> would make this sort of infrastructure un-necessary.  How wrong you can be.
>>
>> Anyway, I thought you might like to know that you're lack of service is 
>> percolating down through your app-development community to end-users who 
>> are now starting to view Google as a non-professional choice.
>>
>> regards,
>> Doug Stoddart
>>
>> On Tuesday, February 5, 2013 9:18:55 AM UTC+1, gafal wrote:
>>>
>>> I've been experiencing this for almost a week now.
>>>
>>> Requests take 10x longer than usual!!
>>>
>>> It seems to start around 9 and stop around 9:30...
>>>
>>>
>>> my app id is myagendapro
>>> Can anyone have a look? 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Every day around 9.10 AM Brussels time, huge drop in GAE performances

2013-03-12 Thread Rafael Sanches
The same here. It seems to be related to my app be on datastore. Is anyone 
having this issue with HDR?

There's no chance I will be able to migrate to HDR in the near future. It 
would be easier to migrate off appengine.

This issue is happening for the past 5 days already. Maybe they used to 
cache datastore stuff in memcache, but now memcache has shrunk and this is 
happening? 

My DAU's already dropped from 130k to 90k. I don't sleep for two days 
already and I hope the appengine team is doing the same. 

thanks!

On Monday, March 11, 2013 3:15:41 AM UTC-7, doright wrote:
>
> Dear Google, thought you might be interested to hear a concern direct from 
> a client of mine this morning:
>
> "I'm getting more and more worried about the use of  when high 
> season is here.
> I have the feeling that Google platform cannot handle professionnal heavy 
> systems as  is becoming.
> Is there anyway to have an harddrive version for us to use as backup when 
> we cannot connect to Google?"
>
> Of course I'd love to implement a full local->central failover solution 
> that seamlessly handles the non-existence of the cloud and restores when 
> re-available.  But I have a feeling that might take a very long time!
> - In choosing google I had thought I'd have the sort of availability that 
> would make this sort of infrastructure un-necessary.  How wrong you can be.
>
> Anyway, I thought you might like to know that you're lack of service is 
> percolating down through your app-development community to end-users who 
> are now starting to view Google as a non-professional choice.
>
> regards,
> Doug Stoddart
>
> On Tuesday, February 5, 2013 9:18:55 AM UTC+1, gafal wrote:
>>
>> I've been experiencing this for almost a week now.
>>
>> Requests take 10x longer than usual!!
>>
>> It seems to start around 9 and stop around 9:30...
>>
>>
>> my app id is myagendapro
>> Can anyone have a look? 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] instances dying is a permanent states for datastore apps?

2013-03-11 Thread Rafael Sanches

Hello,

I have the application "yumyumlabs" and all of my users are complaining 
about "slowness" or broken connections.

To my surprise I went to the appengine console to see that my instances 
were dying out of nothing. No releases were made on my side and this seems 
a new behavior. This happening for a week already and I have tried *
everything*.

I was hopping that this was temporary, but as it turns out it's not. This 
is the issue: http://code.google.com/p/**googleappengine/issues/detail?**
id=8781 

Can anyone tell me if this will be a new permanent state? All the datastore 
applications will continue to be this slow? 

I must take actions ASAP. The current service quality is unbearable. 

thanks
rafael

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




[google-appengine] Re: Anyone else having difficulty deploying to GAE in the last two days?

2012-08-23 Thread Rafael Sanches
datastore seems to be incredibly slow in the past two days. Anyone else? do 
you know if there was a change and if I need to do something about it?

On Wednesday, August 22, 2012 3:35:26 PM UTC-7, Waleed wrote:
>
> Usually when I deploy to GAE (using appcfg.py) it takes less than a 
> minute. Occasionally, it might takes a couple of minutes. But in the last 
> two days, it's been consistently taking 5 to 10 minutes each time! I'm 
> deploying to our dev app, which has very little traffic. Sometimes it even 
> fails after 10 minutes of waiting. Anyone else getting this?
>
>
> . initial uploading steps go fast ...
> 03:26 PM Compilation completed.
> 03:26 PM Starting deployment.
> 03:26 PM Checking if deployment succeeded.
> 03:26 PM Will check again in 1 seconds.
> 03:26 PM Checking if deployment succeeded.
> 03:26 PM Will check again in 2 seconds.
> 03:26 PM Checking if deployment succeeded.
> 03:26 PM Will check again in 4 seconds.
> 03:26 PM Checking if deployment succeeded.
> 03:26 PM Will check again in 8 seconds.
> 03:26 PM Checking if deployment succeeded.
> 03:26 PM Will check again in 16 seconds.
> 03:26 PM Checking if deployment succeeded.
> 03:26 PM Will check again in 32 seconds.
> 03:27 PM Checking if deployment succeeded.
> 03:27 PM Will check again in 60 seconds.
> 03:28 PM Checking if deployment succeeded.
> 03:28 PM Will check again in 60 seconds.
> 03:29 PM Checking if deployment succeeded.
> 03:29 PM Will check again in 60 seconds.
>  and it keeps repeating the last two lines for 10 minutes or more
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine/-/YQOHxwl6zWgJ.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.