Faster, cheaper serverless APIs for your Firebase app
HTML-код
- Опубликовано: 9 май 2023
- Build APIs with less cold starts while saving cost with the second generation of Cloud Functions for Firebase. Does that seem too good to be true? Find out how, as we share how to use Cloud Functions for Firebase's new concurrency option to make it easy to run fast, efficient, and scalable server code.
Resources:
Cloud Functions for Firebase Sample Library → goo.gle/3Gift9G
Cloud Functions for Firebase documentation → goo.gle/414sHP4
Find full set of ML resources here → g.co/ai/build
Speakers: Jeff Huleatt, Daniel Lee
Watch more:
Watch all Firebase Sessions → goo.gle/IO23_firebase
Watch all the Technical Sessions from Google I/O 2023 → goo.gle/IO23_sessions
Watch more Web Sessions → goo.gle/IO23_web
Watch more Cloud Sessions → goo.gle/IO23_cloud
Watch more AI/ML Sessions → goo.gle/IO23_ai_ml
All Google I/O 2023 Sessions → goo.gle/IO23_all
Subscribe to Firebase → goo.gle/Firebase
#GoogleIO Наука
Watch all the Firebase Sessions → goo.gle/IO23_firebaseyt_pin
Im reciving error when upgrading, "Upgrading from GCFv1 to GCFv2 is not yet supported. Please delete your old function or wait for this feature to be ready." So current V1 function can not directly upgrade to V2?
Not at the moment. Are you trying to deploy a new HTTP/callable/task queue function or an event handling function?
Hi Ruiqi, great catch! Just like when changing a function's region, you'll need to deploy a new function name and migrate traffic to it. We've added a section to the migration guide to cover that: firebase.google.com/docs/functions/2nd-gen-upgrade#migrate_traffic_to_the_new_2nd_gen_functions
Followed this step by step still not getting option to use Python cloud functions no matter what I do, even from a new project. Of course documentation is sparse :(
probably you need to update your firebase-tools npm package