Reading & Writing to the Cache (COVID Vaccination Web App) - Apps Script | Cache ~ Episode 17.2

Опубликовано: 09 Ноябрь 2021
на канале: David Weiss
4,017
86

Hey Coders! Adding a cache to your application can significantly enhance its efficiency by reducing the load on the database and decreasing latency. A cache is basically a mini datastore the holds key-value pairs for quick recall. In this video, we'll show just how quick a cache really is through a Covid Vaccination Tracker web app. This app will make calls to the database to present the user with stats. However, an app of this type could get many read requests while the inherent stats themselves might not change that often. Is there a better way to build this system architecture? Watch the video to find out!

Check out the source code on GitHub:
https://github.com/davidtheweiss/Apps...

❤️ Support the ongoing growth of this channel, get exclusive perks, and receive consultation on your projects!   / davidweissprogramming  

🧑‍💻 Apps Script Documentation: https://developers.google.com/apps-sc...

----------------------------------------------------------------------------------------------
🕒 Timestamps
0:00 Intro
0:30 Overview of Web App & Problem Statement
7:01 How to Put Data into the Cache
8:59 How to Properly Get Data from the Cache
12:20 Demonstrating Efficiency Gains from the Cache
14:25 Specifying a Time-To-Live
15:20 Reading, Writing, and Removing Multiple Key-Value Pairs
----------------------------------------------------------------------------------------------
Other playlists:

-------------------------------------
Flutter
-------------------------------------
Basic Widgets:
   • Flutter - Season 2 | Basic Widgets  

Dart:
   • Flutter - Season 1 | Dart  

Flutter Orientation:
   • Flutter - Season 0 | Orientation  

-------------------------------------
Google Cloud
-------------------------------------
Compute Engine:
   • Google Cloud - Season 2 | Compute Engine  

App Engine:
   • Google Cloud - Season 1 | App Engine  

Google Cloud Orientation:
   • Google Cloud - Season 0 | Orientation  

-------------------------------------
Apps Script
-------------------------------------
Cache Service:
   • Apps Script - Season 17 | Cache Service  

JDBC Service:
   • Apps Script - Season 16 | JDBC Service  

Data Studio Service:
   • Apps Script - Season 15 | Data Studio...  

Maps Service:
   • Apps Script - Season 14 | Maps Service  

Utilities Service:
   • Apps Script - Season 13 | Utilities S...  

Properties Service:
   • Apps Script - Season 12 | Properties ...  

URL Fetch Service:
   • Apps Script - Season 11 | URL Fetch S...  

Drive Service:
   • Apps Script - Season 10 | Drive Service  

Forms Service:
   • Apps Script - Season 9 | Forms Service  

Lock Service:
   • Apps Script - Season 8 | Lock Service  

HTML Service:
   • Apps Script - Season 7 | HTML Service  

Document Service:
   • Apps Script - Season 6 | Document Ser...  

Slides Service:
   • Apps Script - Season 5 | Slides Service  

Calendar Service:
   • Apps Script - Season 4 | Calendar Ser...  

Script Service:
   • Apps Script - Season 3 | Script Service  

Gmail Service:
   • Apps Script - Season 2 | Gmail Service  

Spreadsheet Service:
   • Apps Script - Season 1 | Spreadsheet ...  

Apps Script Orientation:
   • Apps Script - Season 0 | Orientation  
----------------------------------------------------------------------------------------------