Questions tagged [pull-queue]

26 questions
0
votes
1 answer

Google AppEngine - Pull Queue - Impossible to delete task: "project name is invalid"

I have create a pull queue in the GAE that works fine, I'm able to add elements from the app & retrieve them from my instance with the code below: from apiclient.discovery import build from oauth2client.client import GoogleCredentials credentials =…
Albyorix
  • 637
  • 1
  • 6
  • 13
0
votes
0 answers

When I am going List task from task queue(pull), I get an error

When I am going List task from task queue(pull) at GAE, I get an error. Please give me solution: I am using AEQ library: https://github.com/tomwalder/php-appengine-pull-queue My code is include_once 'AEQ/Task.php'; include_once…
Zisu
  • 497
  • 2
  • 6
  • 25
0
votes
0 answers

Google App Engine Pull Queue

I am evaluating an application based on Java on Google App Engine. I want to create a certain task within a pull queue which will be picked up by a worker (most likely managed vm) who will work basically indefinitely on that task. To make sure that…
pfried
  • 5,000
  • 2
  • 38
  • 71
0
votes
1 answer

App engine pull queue expired tasks are getting deleted if leased again

I added sample pull queue and added deferred task to pull queue through servlet. I added another servlet (Lease Servlet) to lease task, which leases 1 task for 5 minutes and just prints how many tasks it leased. Now I checked by sending request to…
Naresh M
  • 113
  • 11
0
votes
1 answer

What is the App Engine pull queue task life time?

If a task is added to pull queue, how many days it will be in the pull queue? Is there any limit for task life time inside pull queue? From google-app-engine docs, task can be leased up to maximum 1 week. Does that apply for task life time too?
Naresh M
  • 113
  • 11
0
votes
1 answer

Is lease_tasks() in gae pull queues a blocking method?

I have a pull-queue in Google App Engine and a resident backend which processes the tasks in the pull queue. The backend has several worker threads for consuming and processing tasks, as suggested in a post in Google Cloud Platform…
Christos
  • 351
  • 1
  • 10
0
votes
1 answer

How can an App Engine pull queue be simultaneously empty and yet still have an oldest task?

I'm confused as to whether my queues are truly empty. From this view, the queue called "squid-pri-0" says it has 14 tasks in the queue: but when I click on it, it says it's empty (see below). However, I also see an "old task" that is not blank,…
ryan
  • 2,311
  • 3
  • 22
  • 28
0
votes
1 answer

App Engine Pull queue only load a subset of tasks

Can I set a minimum time before a task is fetched from the task queue? I want to process a task after X days e.g. Is there a simple way or should I put this information it the task itself? It sounds inefficient to load all the tasks every 2 hours…
Simon
  • 13,173
  • 14
  • 66
  • 90
0
votes
1 answer

Update task tag in AppEngine Pull Queue

My app is running with Java but I think this should apply to Python as well. Basically what I would like to achieve is be able to modify existing tasks in the queue. All our tasks are tagged with certain names to decide which provider will consume…
Yudong Li
  • 1,784
  • 2
  • 17
  • 32
0
votes
1 answer

GAE: is leaseTask in pull queue an asynchronous call?

I would like to use GAE Task Queue (pull queue) as a message queue in an app. The receiveMessage calls in other message queue services (Ex. AmazonSQS) are asynchronous calls, providing web scalability to the apps. The pull queue have the call:…
Dulini Atapattu
  • 2,735
  • 8
  • 33
  • 47
-1
votes
1 answer

How to implement a pull-queue using Cloud Tasks in Node.js

I am trying to implement a pull-queue using Cloud Tasks + App Engine standard environment in Node.js. So basically I am trying to lease tasks from a queue. The problem is that I can only find examples in other languages, and I can find no mention of…
1
2