Juan retweeted
How to perform geoqueries on Firestore (somewhat) efficiently
You can query documents within a certain geographical range from Firestore without depending on geohash values. Read more on how it works, and why it matters. Hint: it's 4x cheaper!
medium.com/@puf/how-to-perfo…
Juan retweeted
Firestore Vector search 🔎
You can now:
🔸 Store vector values in a new field type
🔸 Define indexes on those fields
🔸 Query for K nearest neighbor results
This is perfect for gen AI (RAG) and many other use-cases.
Learn all about it from @puf → goo.gle/4dkTXju
Juan retweeted
New series alert! 🚨 We’re excited to introduce a new livestream, #FirebaseAfterHours!
On April 29th, @peterfriese and @NoheDev will share how to call Gemini from a Firestore trigger.
Set a reminder to tune in. → goo.gle/3QiRZ9c
Juan retweeted
This Thursday I'll be live-coding an app at Cloud Next in Las Vegas. If you're at the event, come check it out and say "hi". ☁️⏭️👋
@Firebase @FlutterDev
cloud.withgoogle.com/next/se…
Juan retweeted
Cache-only Firestore listeners 🎧
🆕 Use a listener that only listens to local cache changes
🎛️ More explicitly determine when to get updates from the server
💸 Take more control of the cost of your Firestore usage
Details with @puf → goo.gle/3Pzxogv

ALT Code snippet: onSnapshot( collection(db, "messages"), { source: "cache" }, // 1 Listen to local cache only (querySnapshot: QuerySnapshot) => { // process results } ) function addDocument (type: String) { // 2 Add a document to the local cache (and to the server) addDoc(collection (db, "messages"), { // your data here }); } function loadDocuments FromServer (type: String) { // 3 Force an update from the server to the cache const result = await getDocs (collection (db, "messages")); console.log(result.size + " documents fetched from the erver")
Juan retweeted
🔥Multiple inequalities 💥
Firestore queries can now contain range&inequality conditions on multiple fields.
This allows for queries that were previously impossible without workarounds.
This also affects query performance&query cost.
This&more in 4m
youtu.be/eTArV4Z3Caw?si=dOvo…
Juan retweeted
This documentation literally *just* got published:
Query with range and inequality filters on multiple fields: firebase.google.com/docs/fir…
So get it while it's hot!
Juan retweeted
We're working hard to make Generative AI accessible to more devs, so my team did a thing here! With Firebase Extensions you can easily combine Google's Gemini model w/ existing Firestore skills to build a chatbot or test Gemini Multimodal tasks. Go team!
firebase.blog/posts/2024/02/…
Juan retweeted
The ability to have multiple Firestore databases in a project is now generally available. 🎊
The Firebase SDKs are up-to-date, but the console is still catching up, so use the GCP console for now.
👀 Get the details →
youtu.be/lesCn6Q-yss?si=n6BQ…
Juan retweeted
Google Cloud 🤝 Firebase
In this video, @puf and @martinomander discuss the top 3 Google Cloud tips for Firebase devs.
Watch 📺 → goo.gle/3U6bJQh
Juan retweeted
🔑 The Firestore key visualizer lets you:
① Visually explore your data structure
② Identify performance issues
③ Understand query behavior
Index scans show writes and reads on Firestore's indexes, and is now generally available.
Watch now →
youtu.be/lesCn6Q-yss?si=cMqk…
Juan retweeted
The Firestore example running on VisionOS.
You can see that @Firebase is truly serverless, nothing behind it 😂
Juan retweeted
🌍 Firestore regions 🔥
Firestore was added to 3 new data centers: Paris, Doha&Tel Aviv.
It's now available in 28 regional locations across 6 continents.
Watch @puf 🔥→
youtube.com/watch?v=6rr5jWj_…
Juan retweeted
And another one 😎😅 Yet another exclusive for #F3Prague by yours truly 🙏👍 a custom-made, side-scroller game featuring Dash, powered by @FlutterDev and @Firebase where your phone is the controller 🔥😮
This and more at #F3Prague Gadget Corner 🎉 @rive_app
Juan retweeted
The Firebase Developers Medium publication features posts written by developers such as yourself. ✍️
And we want to publish your work! Whether you have a killer how-to tutorial or an enlightening case study, send it our way.
Juan retweeted
Want to build a web application that can handle a lot of traffic? 🚦
Firebase + Cloud Run could make your life easier with integrations that make your app fast, scalable, and reliable. Learn more → goo.gle/3P6xIUr
Juan retweeted
Did you know that you can easily pull Google Cloud products into Firebase projects to build and grow your app? 🙇
Here’s how Firebase and @GoogleCloudTech share common infrastructure → goo.gle/45Dn1hC
Juan retweeted
Are you ready for Firebase Release Notes? 🔥 📰
Tune in tomorrow for @puf's updates about sending push notifications to web apps on iOS, Firestore OR queries, key visualizer, geoqueries and much more!
Watch the playlist → goo.gle/3F5x3uY

















