Python, Firebase, Workers

132 views
Skip to first unread message

Rafael Ubaldo

unread,
May 8, 2016, 12:05:24 AM5/8/16
to Google App Engine
I want to use Firebase as my frontend and use Google App Engine on the backend. Is it possible to create worker processes in Python? These processes would watch for specific changes in collections and implement some sort of task queue. Does anyone have samples? I only see a Java based reference. 

Cheers.

Nick (Cloud Platform Support)

unread,
May 11, 2016, 5:55:26 PM5/11/16
to Google App Engine
Hey Rafael,

It's definitely possible to create worker processes in Python. In regular App Engine apps, you can use the background_thread API, and in Flexible Environment python apps, you can simply use the python threading or subprocess library, etc. While I'm not an expert or even very proficient with Firebase by any means, a quick look in their documentation reveals that it should be possible to watch for changes without worker threads, and only fire notifications when a change actually does occur.  

As for task queues, you might want to check out App Engine Task Queues.

Let me know if you have any further questions,

Sincerely,

Nick
Cloud Platform Community Support
Reply all
Reply to author
Forward
0 new messages