Hi, thanks for your reply.

Sorry, I pasted the wrong link, the tutorial I meant was this: 
https://cloud.google.com/solutions/mobile/ios-push-notifications/

I have done as described in this tutorial using the pull queue 
"notification-delivery" for sending notifications. So basically what I can 
do is just make this a push queue instead, set the module to automatic 
scaling, and then use the target parameter to that module when queueing the 
notifications, is that right?


On Tuesday, September 1, 2015 at 12:47:22 AM UTC+2, Nick (Cloud Platform 
Support) wrote:
>
> Hi Andre,
>
> So, there are several issues here, the most important to address to start 
> is the fact that as far as billing goes, you're responsible for anything 
> you deploy on the platform. Having a manual scaling module always up and 
> making requests constantly will definitely tend to increase your use of 
> billable resources.
>
> Now to get to the technical details, from reading the docs it's clear that 
> the push queue documentation doesn't recommend a manual scaling module in 
> this manner at all. The use of push queues is best combined with an 
> *automatic 
> scaling module*, so that the the tasks which are pushed will trigger 
> requests on that module, and it will spin up or down depending on the 
> volume of tasks to process. I think you're thinking of pull queues if 
> you've implemented something to check if queues are available. 
>
> As for your last question, you don't need to send push queue tasks to the 
> default module. You can set a module target when you create the task, and 
> this is described in the docs page you linked (ctrl + f "target").
>
> Let me know if I've misunderstood anything about your post or if you have 
> any questions beyond this and I'll be happy to help.
>
> Best wishes,
>
> Nick
>
> On Sunday, August 30, 2015 at 10:07:35 AM UTC-4, André Solberg wrote:
>>
>> I have an App Engine project as backend for an iOS app. The default 
>> module has dynamic scaling and is mostly idle. I have a separate module 
>> with manual scaling and 1 instance always running, which is constantly 
>> checking the task queue for notifications to send. After this module was 
>> deployed, instance hours exploded and I now have estimated charge of $54 
>> for this month. I basically followed the pattern that was described in this 
>> tutorial: 
>> https://cloud.google.com/appengine/docs/java/taskqueue/overview-push
>>
>> This pricing is unacceptable for a low traffic app like ours. Is my only 
>> other and cheaper option to just handle the sending of push notifications 
>> directly in the request to the default module, instead of enqueueing it in 
>> the task queue?
>>
>

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/fc745509-a3d3-4daa-9cbe-62f1c57ad874%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to