I'm loving these design sessions, please keep doing them because they are gold. Thanks!
@rained23JMTi3 жыл бұрын
really love Dina and Martin's session. It feels real.
@108soma3 жыл бұрын
Great job Dina !
@JenilCalcuttawala3 жыл бұрын
This is so helpful. Waiting for more sessions.! 👏🏻
@freefiregamers68283 жыл бұрын
Server is amazing. None of the app and website can't be made without it😘😘
@PaintballVideosNet3 жыл бұрын
Exactly
@LearnGoogleCloudwithMahesh3 жыл бұрын
Awesome design session...My mind map is Martin Omander's videos always more talks about Cloud Run...I have seen nice Cloud Run sessions from Martin Omander which was missing this is design session. If I want to include Martin Omander's favorite Cloud Run then replace just *App Engine with Global Load Balancer with Serverless NEG pointing to a Cloud Run service as the backend service...*
@TheMomander3 жыл бұрын
That's a fair point :-)
@PeterKeaneMusic3 жыл бұрын
Would I be correct in thinking that Cloud Task would be a realistic alternative to pub sub in this scenario. I kind of half expected the choice to be Cloud Tasks at first mention of emailing and then refactor the design to use pub sub when you realized there would be > 1 consumer (??). Just checking my understanding here...
@jincyquones3 жыл бұрын
I think Cloud Tasks is meant more for tasks you want to be rate-limited. It'd probably be fine for a task count under a certain amount, but if there are many thousands or millions of tasks, it's going to bottleneck. The docs say Cloud Tasks have a maximum delivery rate of "500 qps/queue", whatever that means.
@cristianberroeta98663 жыл бұрын
thanks for the great video! In some days we'll start implementing a solution for automatically charging money to users (we will store a token of their credit/debit cards which will allow us to call an external API to charge them). A couple of alternatives that we've considered are: a. Running a periodic cron job (with Cloud Scheduler), which triggers just one Cloud Function that travels through all the pending payments, try to complete them, and finally writes to an emails collection (which is configured to use the Firebase Extension that automatically sends emails) for notifying administrators with a summary of success and failure payments. b. Running a periodic cron job (with Cloud Scheduler), but then using Pub/Sub, like you explain in the video. In our case, we will probably only write the results to Firestore, and also notify administrators via email, with a summary of success and failure payments. Regarding scalability, I suspect that a single Cloud Function could handle hundreds or thousands of pending payments (by sending requests to the external payment service in parallel), although we'll obviously do some research and testing. In case our business scales to a point which can't be handled by, e.g, a daily cron job with a single Firebase Function, we could fine-tune the periodicity of the cron job, to decrease each function execution load. This is a very important workload for us, so we're glad that you've explained this practical use case, as that made us consider more carefully some possible issues that we could face by using only one Cloud Function, and the advantages of the more event based alternative.
@TheMomander3 жыл бұрын
Happy to hear the video was helpful!
@anix863 жыл бұрын
Can you do a video on Adaptive video streaming using serverless and cloud storage
@dheer2113 жыл бұрын
It would be nice to get the codebase for this app great session
@TheMomander2 жыл бұрын
I'm afraid we never wrote the code to implement this design. It would have been fun, though!
@kashyapkiran17293 жыл бұрын
Please do these kind of sessions more frequently.
@coolcha3 жыл бұрын
Imagine if there is a tool online which can help you visualize these design like they are doing. Is there something like this already out?
@intrepidcoder19873 жыл бұрын
Thank you for creating and sharing this info on design, great to see the the thought process around identity, data storage, scheduling, messaging/pub-sub and retries 🧠
@googlecloudtech3 жыл бұрын
Glad you enjoyed it!
@samys288 Жыл бұрын
Excellent session
@ThorNjord3 жыл бұрын
And how you recommend implementing writing all that info in BigQuery? Generate a CSV file and import it, or stream records directly in BQ from cloud run?
@andynelson23402 жыл бұрын
Very helpful, thanks!
@TheMomander2 жыл бұрын
We're glad to hear it, Andy!
@kodeweich2 жыл бұрын
I love the session, but I thing these design session should be also focus on the cost of architecture because that is the first thing a developer think of first.😊
@ricardomayo8337 Жыл бұрын
It would be important to close sequencing to permit ports or |serial|~
@ricardomayo8337 Жыл бұрын
4(importance);:/list could be runas{log}
@shashanksachan94923 жыл бұрын
If I have an application where I have to renew the user monthly subscription which could be in millions then how do we design that in Google cloud?
@shashanksachan94923 жыл бұрын
Also my data is saved in firestore because I want to go serverless
@TheMomander3 жыл бұрын
Hi Shashank, good question! First, if you are planning for millions of subscriptions eventually, but have far fewer now, quickly build something now that can handle your current load and worry about scalability later. Focus on getting your product to market quickly. I would probably build it similar to what's shown in this video: Cloud Scheduler triggers a Cloud Function that reads all the records from Firestore and publishes one Pub/Sub message per subscription. Another Cloud Function would handle each of these messages. The function would be simple because it would only handle one message. If you like containers, consider replacing Cloud Functions with Cloud Run. If you want to have greater control over the rate at which subscriptions are processed, consider replacing Pub/Sub with Cloud Tasks. Best of luck with your app!
@Fedkar6 ай бұрын
"We try to keep it serverless, which means it is nosql" - why is that?
@TheMomander5 ай бұрын
Great question! Currently the "most serverless" database in Google Cloud is Firestore, a NoSQL/non-relational database. The SQL/relational databases (CloudSQL, AlloyDB, Spanner) are "less serverless" as they require a fixed monthly fee or maintenance.
@missedme00633 жыл бұрын
Very cool!!
@HonestBangali3 жыл бұрын
Love the Video's
@mouaadgssair20653 жыл бұрын
Amazing
@Collect-AI3 жыл бұрын
As a teacher, I feel like I am obligated to point out blind spots. I follow/subscribe to every KZbin channel to Google (Google Cloud, Firebase/Firestore, Workspace, Chrome Dev, etc.) And I keep seeing the same thing in all the videos. The info when your instructional videos finally get to the point (teaching) it is great! But I wish "Google" would stop making them read horrible, inauthentic, and not funny scripts that are obviously being read. I do not need to be sold or "entertained". I watch movies for entertainment with professional actors. I hate to be harsh, but it is painful to watch the videos. We are here because we like if not LOVE your product. Just teach us. Don't try and sell us and don't make your awesome tech teams act. We just want to learn. By the way, I am an instructor and teach globally so hopefully, my advice will be heard. Keep making great products and teaching us how to use them. Leave the acting to Netflix. Thanks again.
@briandenzer3 жыл бұрын
"Yeah. No." No.
@sanderos41813 жыл бұрын
she is a good actor, but script is already prepared.