Тёмный

Firebase has SQL: Introducing Data Connect 

Firebase
Подписаться 380 тыс.
Просмотров 57 тыс.
50% 1

Learn how you can now use relational data from Postgres Cloud SQL in your client-side applications with a type-safe auto-generated SDK by using Firebase Data Connect.
Sign up for Data Connect → goo.gle/fb-data-connect
Speaker: David East
Watch more:
Check out all the Cloud videos at Google I/O 2024 → goo.gle/io24-cloud-yt
Check out out all the Firebase sessions from Google I/O → goo.gle/io24-firebase-yt
Check out all the Web videos at Google I/O 2024 → goo.gle/io24-web-yt
Subscribe to Firebase → goo.gle/Firebase
#GoogleIO
Products Mentioned: Cloud - Databases - Cloud SQL
Event: Google I/O 2024

Наука

Опубликовано:

 

15 май 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 173   
@rahulgupta7720
@rahulgupta7720 Месяц назад
I cant wait for fireship take on this
@maheshjamdade1
@maheshjamdade1 Месяц назад
Great release Firebase team you are on 🔥
@lopsanggurung5870
@lopsanggurung5870 Месяц назад
In love with the new Firebase logo 😍😍
@corysmc
@corysmc Месяц назад
Firebase, you’ve done it again!! 👏👏👏
@guozhangliew7302
@guozhangliew7302 Месяц назад
Well done again David!
@DavidEast
@DavidEast Месяц назад
🙏🙏🙏
@cristiantoma1500
@cristiantoma1500 Месяц назад
Sounds fantastic. Wake me up when C# is supported.
@otockian
@otockian Месяц назад
It's like some weird version of GraphQL
@DavidEast
@DavidEast Месяц назад
I felt the same way at first. But the SDK generation + typesafety dev loop is so great.
@thomasmabika7291
@thomasmabika7291 Месяц назад
My goodness! Are Google Cloud pricing actually for real? Is this meant for anyone other than fortune 500 companies?
@AlmightyPyro
@AlmightyPyro Месяц назад
where did you saw the prices?
@xelfix24
@xelfix24 Месяц назад
@@AlmightyPyro on the website in the description
@jonathonchambers6460
@jonathonchambers6460 Месяц назад
@@AlmightyPyro On the pricing page, it shows there is a 3 month trial and then "Google Cloud" pricing. Which links to the Google Cloud SQL page.
@hivepixels
@hivepixels Месяц назад
@@jonathonchambers6460 they have a tone of different options. From $20 to $500/ month
@ChaseAnderson5k
@ChaseAnderson5k 28 дней назад
You're either very poor, or looking at the wrong instance types. You can rent a SQL instance for a variety of prices. Compute I've gotten as low as like 5$ a month.
@aaronfree6796
@aaronfree6796 Месяц назад
SO EXCITED!!! Awesome job Firebase team, this is exactly what I felt like I was missing from Firebase.
@wobsoriano
@wobsoriano Месяц назад
Firebase, a supabase alternative
@cedricol
@cedricol Месяц назад
Read that joke many times since Fireship made it yesterday.
@matthewbeardsley7004
@matthewbeardsley7004 Месяц назад
A hasura alternative...?
@danvilela
@danvilela Месяц назад
@@matthewbeardsley7004 Amplify alternative
@dinoscheidt
@dinoscheidt Месяц назад
A GraphQL alternative
@wobsoriano
@wobsoriano Месяц назад
@@cedricol cool
@Mattwoods35
@Mattwoods35 Месяц назад
Just here to stay David is awesome
@atoumbrekouassi7924
@atoumbrekouassi7924 Месяц назад
Sounds promising ! This remember me the time Angular migrated to Typscript. GraphQL is no more dead 😅
@KyleWilliams
@KyleWilliams Месяц назад
Impressed. Would like to see a price breakdown vs supabase now
@jrhager84
@jrhager84 Месяц назад
Just get Supabase. The price is astronomically different, at least based on what I looked at about 2 months ago. I doubt they've changed, and then you're in vendor lock. I'd run away from Firebase TBH
@hojdog
@hojdog Месяц назад
​@@jrhager84 I don't think so I've been using firebase for a product for 4 years and it still has lower monthly cost than Supabase's pricing. That was true also for a startup that we sold for 6 figures. I've been waiting for firebase to produce a postgres product for a while now - and have been mulling over how to move to supabase. Now that this is here, I'm much less likely to do so. Either way, you're vendor locked. Supabase may be OS but all your code is still designed for Supabase so what does it really change?
@dukeselwood
@dukeselwood Месяц назад
This looks very interesting
@Z1Tracker
@Z1Tracker Месяц назад
Impressed !!! Love it.
@tom3fitzgerald
@tom3fitzgerald Месяц назад
this is so amazing
@caeb-92
@caeb-92 Месяц назад
Wow now is a strong option i wish have this two years ago 😂 future looks promising
@mika52776
@mika52776 Месяц назад
love it
@benbowers3613
@benbowers3613 Месяц назад
Following a lot of the same patterns as EdgeDB, and I was just wishing there was a BaaS with a database like EdgeDB. Great stuff. Good luck making this competitively priced though
@nathandowner6007
@nathandowner6007 Месяц назад
This is going to change the game!
@rahulgupta7720
@rahulgupta7720 Месяц назад
The learning curve is a little steep for a beginner like me but I am so excited to try this out
@DavidEast
@DavidEast Месяц назад
I think you'll find that it you can do quite a lot with just a little knowledge!
@ChaseAnderson5k
@ChaseAnderson5k Месяц назад
Often in engineering stuff looks more complicated than it is once you dive in and get your head around the basics. Good luck!
@kyngcytro
@kyngcytro Месяц назад
So much bleeding on the edge 😆 awesome stuff firebase
@matthewbeardsley7004
@matthewbeardsley7004 Месяц назад
Does it support GraphQl subscriptions?
@alexandrefaustino2448
@alexandrefaustino2448 26 дней назад
Love it but would love to see more features in firestore !
@JusticeNDOU
@JusticeNDOU Месяц назад
finally something useful from firebase, maybe i will migrate back to firebase once again
@rahulgupta7720
@rahulgupta7720 Месяц назад
Firebase is literally complete now
@friedpizza262
@friedpizza262 Месяц назад
AWS amplify has been doing some of these stuff, but seeing them in firebase is real cool
@Tonkuz
@Tonkuz Месяц назад
The price seems very high though!
@rajeshpatil9884
@rajeshpatil9884 18 дней назад
Great 👍
@Herdian_weh
@Herdian_weh Месяц назад
keren 👏
@isurujn
@isurujn Месяц назад
Very interesting. Will it support migration for the underlaying PostgreSQL database in case if you want to move out like in Supabase?
@michaelbleigh8737
@michaelbleigh8737 Месяц назад
Data Connect works with a Cloud SQL for PostgreSQL database, so you can connect to it using any tool that can talk to Postgres.
@justine_chang39
@justine_chang39 Месяц назад
WOAHHHHHH
@RossRawlins
@RossRawlins Месяц назад
How will this scale compared to the nosql database you have in firebase? Is there going to be a way to move your old firebase db over?
@Frank_van_Puffelen
@Frank_van_Puffelen Месяц назад
Auto-migration between these different data models is not planned, but you can write a custom migration with the APIs of course. And we do plan to eventually also connect to Firestore, which would make that even easier. firebase.uservoice.com/forums/948424-general/suggestions/48434618-cloud-firestore-datasource
@michaelbleigh8737
@michaelbleigh8737 Месяц назад
It is a little different than NoSQL - you have a fixed size instance that handles as much traffic as its memory and CPU can handle. Cloud SQL can scale to really massive use cases, but it's not as automatic as you might be used to with e.g. Firestore. No automatic tools to move between dbs, but this is a request I keep hearing from folks. We'll think about it more.
@gswthc
@gswthc Месяц назад
Impressive! Now firebase is the alternative of supabase
@falmanna
@falmanna Месяц назад
I love the tooling! Are you going to open source these stuff?
@portalteam5832
@portalteam5832 Месяц назад
😂😂😂😂😂😂
@falmanna
@falmanna Месяц назад
@@portalteam5832 obviously i was being sarcastic
@VladimirDjokic
@VladimirDjokic Месяц назад
wow 😃
@pamelar.r733
@pamelar.r733 Месяц назад
Is there a way to migrate from firestore to data connect?
@supbra1
@supbra1 22 дня назад
When will this be ready for production with documentation?
@pauldewit8088
@pauldewit8088 Месяц назад
This is crazy far out!!
@antl3x
@antl3x Месяц назад
Congrats, Firebase just discovered GraphQL.
@joaomelo9774
@joaomelo9774 Месяц назад
amazing! can we expect data connect inside firebase emulators?
@DavidEast
@DavidEast Месяц назад
Oh yeah! It already is! I was using the local Data Connect emulator with a local postgres DB before I deployed to prod.
@joaomelo9774
@joaomelo9774 Месяц назад
@@DavidEast awesome. emulators are great for e2e testing and local dev iteration
@greatramu86
@greatramu86 Месяц назад
Some concepts are similar to SAP CDS
@roninstoreir
@roninstoreir Месяц назад
One of the reasons that we use SQL instead of NoSQL is transactions and isolation levels but I haven't heard about these futures in your presentation, do we have them or not?
@michaelbleigh8737
@michaelbleigh8737 Месяц назад
Everything within a single query / mutation is performed inside a transaction, and we'll likely introduce some additional features for transactional mutations in the future.
@martinfreire6733
@martinfreire6733 Месяц назад
looks awesome! but the main unanswered question for me is: can I use another 3rd party sql tool to read that data? or will be only accessible through a firebase layer request?
@mbleigh
@mbleigh Месяц назад
Yes you absolutely can. You have full access to the underlying Cloud SQL instance!
@AlloMission
@AlloMission Месяц назад
Given how Google handled stopping the deep link feature and the current uncertainty surrounding the future of Flutter, Google appears to be an unreliable partner. Therefore, I prefer to use a traditional SQL provider that doesn't require a new way of implementation.
@anikTheOrange
@anikTheOrange Месяц назад
What theeeee..... 🤯🤯🤯
@LukePighetti
@LukePighetti Месяц назад
What’s the lowest cost cloudsql instance? Are there plans to support generating flutter clients with data connect?
@Frank_van_Puffelen
@Frank_van_Puffelen Месяц назад
Great question: cloud.google.com/products/calculator?hl=en&dl=CiRkNDc3NmFiYi00YjI4LTRjNjQtOThlOC04NWIzMGY3M2E1MzMQBxokNTdBODYwRTUtQjQ3RC00ODYzLUJBNTItNzEzNUEwQjMzQkU3 So a bit over 9 dollars. And yes, generating Flutter SDKs is planned - and will be available before/with the public preview later this year. DM me if you want to help me test it earlier :-)
@KevinSheppard
@KevinSheppard Месяц назад
I'm glad that they finally got relational database support, but I don't like the approach using GraphQL. Overall it seems overengineered.
@DavidEast
@DavidEast Месяц назад
I really hope you'll give it a try and I think you'll see that the dev loop is designed to be simple rather than over-engineered.
@ChaseAnderson5k
@ChaseAnderson5k Месяц назад
I think they chose graphql because it's a flexible way for us to query what we want. In many ways graphql is great for clients and difficult for the API developer but in this case, firebase is the API developer and we are the client. But we do define our queries in advance in the backend. They forego the advantage of clients defining whatever query they want to make security easy. Which is a worthwhile trade, by having only certain queries available in advanced it's no more limited than a typical rest API.
@tekkkinho
@tekkkinho 18 дней назад
It supports DML too?
@erperejildo
@erperejildo Месяц назад
Easy question: for a new project what would be better in terms of scalability and maintenance? SQL or Firestore?
@ChaseAnderson5k
@ChaseAnderson5k Месяц назад
It's hard to say without using it more. But my guess is firestore may be slightly easier still since you don't need to define backend stuff. But in terms of maintenance I think SQL will be better. Changing your data generates migrations and since you aren't binding your data model to your views in a denormalized database you don't have to refactor a bunch because you changed how you view your data. Some tasks are also easier, like searching text fields. In terms of scalability postgres scales for quite a while before you need to denormalize/duplicate/cache some data. I think the scalability arguments people use are over-hyped. I've written dozens of apps for people that never needed denormalization. The few that have, it was very minor things like one field. Granted if you become the next Facebook or something you may need more, but that's a good problem to have, and is something you can add then
@ChaseAnderson5k
@ChaseAnderson5k Месяц назад
One thing I missed is this is backed by cloudsql. So it probably doesn't have automagic for scaling instance size, at least that I know of. So firestore is probably easiest and best at scaling. There's still a lot of reasons I'd rather use this if it's any good though, which mostly relate to limitations and challenges in firestore. If your database is difficult or annoying to denormalize that's a great reason to use this.
@neociber24
@neociber24 Месяц назад
Can I just connect directly to the database when server side?
@michaelbleigh8737
@michaelbleigh8737 Месяц назад
Yes, you can connect directly to the Cloud SQL database from a server, you can also issue arbitrary GraphQL queries to Data Connect from the server (but clients can only issue predefined queries).
@eddyvu8109
@eddyvu8109 Месяц назад
how does this support for mobile app game development?
@TheTuxtrons
@TheTuxtrons Месяц назад
Now the real question, whats the pricing for this?
@Frank_van_Puffelen
@Frank_van_Puffelen Месяц назад
During the gated preview it's all free to use. We're really just looking forward for your feedback at this stage. Cloud SQL has established pricing, although we're adding a free trial period to it. Data Connect itself will use pay-as-you-go pricing with a *generous* free tier. Exact details are still being worked out, and will be announced when we go to public preview later this year.
@kanjuicy585
@kanjuicy585 Месяц назад
Ok, but do you have a data view where we can view all the data in our sql table? Or an sql query console, where we can see the results as a table?
@mbleigh
@mbleigh Месяц назад
You can use SQL Studio in the GCP console to do direct queries on the underlying Cloud SQL database.
@ChaseAnderson5k
@ChaseAnderson5k Месяц назад
Yes since it sounds like there is an underlying SQL instance, it's probably possible to view your data in any SQL client.
@kanjuicy585
@kanjuicy585 Месяц назад
@mbleigh but do we have a table UI like Supabase?
@ChaseAnderson5k
@ChaseAnderson5k Месяц назад
@@kanjuicy585 idk supabase, but gcloud SQL doesn't currently. Based on firestore I'd assume they may end up having that kind of tooling, but I don't know for sure particularly in comparison to what other products have
@mbleigh
@mbleigh Месяц назад
@@kanjuicy585 right now there's a GraphQL playground for executing arbitrary queries and in Cloud SQL console you can execute arbitrary SQL queries. No table explorer right now.
@itssidhere
@itssidhere Месяц назад
There should be an automaic migration from firestore to data connect postgresql
@alexon2010
@alexon2010 4 дня назад
isso tudo da um nó na cabeça!!!!
@marshallross
@marshallross Месяц назад
Does it also build documentation?
@michaelbleigh8737
@michaelbleigh8737 Месяц назад
Not yet, but it's definitely in the realm of possibility to do so. What would be your ideal form of generated documentation?
@Meetblakey
@Meetblakey 12 дней назад
How would this work for B2B?
@satkhalsa
@satkhalsa Месяц назад
Does Data Connect support realtime functionality? How about optimistic updates to data?
@michaelbleigh8737
@michaelbleigh8737 Месяц назад
Not yet, but you can vote for realtime capabilities on our roadmap here: firebase.uservoice.com/forums/948424-general/suggestions/48434600-realtime-query-updates
@nikitaklinchuk9650
@nikitaklinchuk9650 Месяц назад
Feels to me as Hasura
@gotxe
@gotxe Месяц назад
This is nice, really nice, but why not 2 months earlier 😅
@specialhitgamingtv2971
@specialhitgamingtv2971 Месяц назад
is this comming for mysql also?
@michaelbleigh8737
@michaelbleigh8737 Месяц назад
It's not currently on our roadmap, but I'd encourage you to suggest it here: firebase.uservoice.com/forums/948424-general
@daviddomkar
@daviddomkar Месяц назад
Let's go GCP Linus
@ArielPettyjohn
@ArielPettyjohn Месяц назад
🤯
@inheritedarts
@inheritedarts Месяц назад
World is coming back to wait Rails give me 10 years a go! i am happy i am using Rails
@blablablabla29382
@blablablabla29382 10 дней назад
Did this SQL is "Pay as you go" ?
@moosegoose1282
@moosegoose1282 Месяц назад
the only exciting thing during io
@oussamakh1801
@oussamakh1801 Месяц назад
This got heated up quickly, if I said that you have SQL now just use SQL why do u add all of this hassle
@collapsingspace
@collapsingspace 29 дней назад
Ok they have brought SQL but not the experience of working with SQL, what's the point then ?
@LifeCasts
@LifeCasts 6 дней назад
Cannot find experiment dataconnect
@halzter801
@halzter801 Месяц назад
Will it have a dart sdk?
@Frank_van_Puffelen
@Frank_van_Puffelen Месяц назад
Yup, that's in the cards - and should be available before/with the public preview later in the year. You can vote for it here: firebase.uservoice.com/forums/948424/suggestions/48437954
@kldeb33
@kldeb33 Месяц назад
Firebase: now has AWS Amplify built in
@Taro5000
@Taro5000 Месяц назад
Exactly what I was thinking. I'm using amplify like this and it sucks. Will go with Supabase.
@user-xv8dn4nm5k
@user-xv8dn4nm5k Месяц назад
👍
@rob4715
@rob4715 Месяц назад
Interesting, but this video would be more useful to me if it gave a little context up front: pros and cons of Data Connect vs Firestore for different scenarios.
@ChaseAnderson5k
@ChaseAnderson5k Месяц назад
Pros are you don't have to use a denormalized document based database with certain limitations because all queries have to be highly performant queries because you pay per query. Cons are you have to use a relational database and have a bit more effort to define things up front, and may need to manage scaling a bit more and have more upfront cost (it's backed by a cloudsql instance? So idk if it can auto scale the same).
@BeefCurd
@BeefCurd Месяц назад
I just want to have an individual from the public select what data they want, pay, and then have a csv file of the data they selected. why is that so hard?
@SalarPro
@SalarPro Месяц назад
I think the curve will be little steep
@davideast4360
@davideast4360 Месяц назад
Please sign up for the preview! We have spent a ton of time designing the dev loop to be simple and to provide tooling to help along the way. We'd love to hear your feedback.
@ithelightr3020
@ithelightr3020 Месяц назад
Yeah but how does firebase handle Role Base Access Control vs Supabase? The deal killer
@michaelbleigh8737
@michaelbleigh8737 Месяц назад
Data Connect has a novel security model that allows for a combination of RBAC and ABAC and can be used to secure at both row and column level. It's one of the most exciting features of the product to me 🙂
@ithelightr3020
@ithelightr3020 28 дней назад
@@michaelbleigh8737 can we get a comparison to supabase RBAC?
@utsavojha2953
@utsavojha2953 Месяц назад
This looks like hasura on steroids aka llm rag ❤🎉
@yeonjoonkim486
@yeonjoonkim486 Месяц назад
I hope there is an migration tool from firestore to data connect😅
@JH-bb8in
@JH-bb8in Месяц назад
Where's my Fireship video on this?
@DevSergeant
@DevSergeant Месяц назад
Wait what ?? I moved already to supabase...
@djasniverajaona9163
@djasniverajaona9163 Месяц назад
So they already use idx 🤔
@DavidEast
@DavidEast Месяц назад
I use IDX for everything!
@djasniverajaona9163
@djasniverajaona9163 Месяц назад
@@DavidEast so you Google developers have early access to every product?
@basdfgwe
@basdfgwe Месяц назад
There was a lot of jargon thrown around in this video... I have no clue what they are... And ive been developing wih firebase for quite a number of years.
@ChaseAnderson5k
@ChaseAnderson5k Месяц назад
A lot of it was graphql jargon, or normal SQL jargon. So if you haven't used either of those it makes sense it'd sound unfamiliar.
@ChaseAnderson5k
@ChaseAnderson5k Месяц назад
Queries, mutations, migrations, so on. There was also some ai jargon I wasn't familiar with myself. The embedding stuff.
@eusouoviana
@eusouoviana Месяц назад
Oh good, Google learned what is GraphQL :D
@IgnacioAntonioJeriaGarrido
@IgnacioAntonioJeriaGarrido Месяц назад
we can use that with golang?
@ishaanmalhotra3008
@ishaanmalhotra3008 Месяц назад
Yup, I have the same question
@michaelbleigh8737
@michaelbleigh8737 Месяц назад
Our admin API is wire-compatible with GraphQL, so you can likely use a GraphQL library in Go to talk to it. We're still thinking about how we want to do Admin SDKs for Data Connect.
@bruh-qu2uh
@bruh-qu2uh Месяц назад
Firebase the supabase alternative
@alex14779
@alex14779 Месяц назад
why ?
@GrowthMindset212
@GrowthMindset212 6 дней назад
well done, but it hasnt free tier and the cheaper is 9 usd per month. Not suitable for a starting hacker proyect, although they say they give me 3 months for free.
@perc-ai
@perc-ai Месяц назад
Theres no reason to use Supabase now
@mariol8831
@mariol8831 Месяц назад
Great but pricing…
@CrzyMan_Personal
@CrzyMan_Personal Месяц назад
While incredibly cool, I'm not going to lie, the query CONSTANTLY shaking up and down as you write it and then pause and then write and then pause, is beyond frustrating.
@DavidEast
@DavidEast Месяц назад
You're telling me. We didn't have much time to get the production done on this and all videos have to be done really early. This was a current bug and it's been fixed since then.
@iamtherealgee
@iamtherealgee Месяц назад
Finally I can stop using Hasura
@luiscarlosricoalmada4296
@luiscarlosricoalmada4296 16 дней назад
Its SQL not Sequel!
@UwU-dx5hu
@UwU-dx5hu 6 дней назад
No. Its squeeeel
@mikejohneviota9293
@mikejohneviota9293 Месяц назад
hahahaha before, from asking AI is supabase have onAuthChange to is firebase had RLS and RPC 😂😂😂😂😂😂😂
@ARESxWARLORD
@ARESxWARLORD Месяц назад
If we’re all getting replaced by ai who exactly are you making this for
@ChinmayPatil-ol6wg
@ChinmayPatil-ol6wg 14 дней назад
you said postgress you said graph ql you said new mechanism so complex. why do i have to learn new process now. understand your users are end users even they love simplicity i even after having good experience in tech industry though this is so complex and the reason is i dont want to learn new think just to use firebase db either keep graphql or keep sql keep it simple when i dont have to invest my whole time to learn this new thing we developers love now things but dont expect us to learn new things every thime you launch everything.
@alexanderhemming6148
@alexanderhemming6148 Месяц назад
Is this real? April fools was over a month ago
@50kT
@50kT Месяц назад
Why does the studio look like a preschool
@Oncopoda
@Oncopoda Месяц назад
Oh wow, thanks, I hate it. 🥰
@englishwadenilson
@englishwadenilson Месяц назад
Honestly firebase outs everyone
Далее
I tried 5 Firebase alternatives
10:31
Просмотров 759 тыс.
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Просмотров 109 тыс.
`const` was a mistake
31:50
Просмотров 120 тыс.
What is Firebase and how to use it
41:01
Просмотров 270 тыс.
Roadmap for Learning SQL
4:52
Просмотров 286 тыс.
What's new in Firebase for building gen AI features
42:19
APPLE совершила РЕВОЛЮЦИЮ!
0:39
Просмотров 3,6 млн
Main filter..
0:15
Просмотров 10 млн
Урна с айфонами!
0:30
Просмотров 7 млн
Собери ПК и Получи 10,000₽
1:00
Просмотров 999 тыс.