Google Cloud Functions and Firebase Triggers

3,242 views
Skip to first unread message

Jason Barone

unread,
Feb 10, 2016, 2:26:27 PM2/10/16
to Firebase Google Group
I've following the idea of Firebase Triggers very closely.

Webtask.io has been my favorite workaround as of right now, but yesterday I came across Google Cloud Functions (https://cloud.google.com/functions/docs) which sounds awfully similar.

Curious if anyone is using this, or plans to use this along side of Firebase. I've been using Webtask.io and although it's not seamlessly integrated into Firebase, it's a great start.

Justin Noel

unread,
Feb 10, 2016, 4:31:21 PM2/10/16
to Firebase Google Group
Very much interested in this too.  I almost began using Webtask.io as well - but ended up rolling my own webhooks solution to replace a queue system I had been using. 

Based on the very little bit I've seen of Cloud Functions, it seems a perfect fit / integration with Firebase.  It also looks much simpler than AWS Lambda.

One concern I have with AWS Lambda and possibly Cloud Functions is the delay in getting a Firebase connection and authenticating for EVERY event.  With Webtask.io (in private containers), you could persist a Firebase connection for a certain interval.  I believe the default was 20 minutes.  So, that avoided the need (and delay) of constantly reconnecting to Firebase for thousands of events.

I wonder if Cloud Functions will have any such support or will it simply be so fast that it doesn't matter?

James Tamplin

unread,
Feb 11, 2016, 9:24:52 PM2/11/16
to Firebase Google Group
Hi all, 

Cloud Functions is a lightweight compute solution for developers to - with small snippets of Javascript - create small, single-purpose functions that respond to events or bind services together, without the need to manage a server or runtime environment.

I can't comment on exact roadmap details for Firebase, though we are working with Google Cloud to make the 'Triggers' product come to life. 

James



--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/0935be04-d523-4c51-a5b8-13ff84d34ba4%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
James Tamplin
Co-Founder & CEO, Firebase

@JamesTamplin @Firebase

Raghav Bhagat

unread,
Oct 20, 2016, 6:42:22 PM10/20/16
to Firebase Google Group
Justin, 

I had a similar concern to this: "One concern I have with AWS Lambda and possibly Cloud Functions is the delay in getting a Firebase connection and authenticating for EVERY event". Wondering how much time in milliseconds does it take for an AWS Lambda instance to do this? I was testing Firebase's server API on my laptop and the first call is considerably slower. Haven't tested it on AWS Lambda though - so was looking for an order of magnitude estimate for Amazon Lambda to make a connection.

Also exploring Webtasks as per your suggestion.

Lucas Ávila

unread,
Oct 25, 2016, 12:03:49 AM10/25/16
to Firebase Google Group
My lambda runs under 100ms all the time while working with LITTLE ammount of data with Firebase. So, connection/auth speed isn't limiting at all for me.

Wesam Saad

unread,
Jan 27, 2017, 5:14:04 AM1/27/17
to Firebase Google Group
Hey James, any updates on this feature?
this feature is critical to differentiate Firebase Database from the competition.
Developers want to harness the power of GCP.

Gary Chamberlain

unread,
Feb 11, 2017, 11:08:39 AM2/11/17
to Firebase Google Group

James Tamplin

unread,
Mar 9, 2017, 2:05:12 PM3/9/17
to Firebase Google Group
The folks on this thread may be interested in our big launch today:

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

AJ Ostergaard

unread,
Mar 9, 2017, 2:40:39 PM3/9/17
to fireba...@googlegroups.com

On 9 March 2017 at 19:14, AJ Ostergaard <aj.ost...@googlemail.com> wrote:
Been waiting for this with much anticipation but not much there just yet. I'm getting a blank page...

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/KtcnhgK33SU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-talk+unsubscribe@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

Raghav Bhagat

unread,
Mar 10, 2017, 10:58:15 AM3/10/17
to Firebase Google Group
You guys are awesome. Thanks for this! I can say bye bye to AWS Lambda and Heroku now.

On Fri, Mar 10, 2017 at 12:35 AM, James Tamplin <ja...@firebase.com> wrote:
The folks on this thread may be interested in our big launch today:

On Fri, Feb 10, 2017 at 8:56 PM, Gary Chamberlain <ga...@eforall.org> wrote:
Google Cloud Next '17 has a this topic on the agenda.  ;)




On Friday, January 27, 2017 at 5:14:04 AM UTC-5, Wesam Saad wrote:
Hey James, any updates on this feature?
this feature is critical to differentiate Firebase Database from the competition.
Developers want to harness the power of GCP.

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.

--
You received this message because you are subscribed to a topic in the Google Groups "Firebase Google Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/firebase-talk/KtcnhgK33SU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to firebase-tal...@googlegroups.com.

To post to this group, send email to fireba...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages