Introduction to the Cache - Apps Script | CacheService ~ Episode 17.0

Опубликовано: 08 Ноябрь 2021
на канале: David Weiss
5,091
72

Hey Coders! Is your application running slow? Are too many requests for data clobbering your database? Have you added a cache to your application? A cache is a system design component that can decrease request latency, alleviate strain on database queries, and enhance the overall efficiency of your app. Basically, the cache acts as a small key-value database that sits closer to the user and holds the most frequently accessed data. That way, if your app's users need that data, they can just get it from the cache rather than the database, which takes a LOT longer! In this video, we'll be introducing the concept of the cache conceptually before diving into more practical use cases in later episodes.

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:21 What is a Cache?
3:30 Process Flow for a Cache-Aside Architecture
4:59 The CacheService Parent Class
6:22 Writing a Simple Script With CacheService
----------------------------------------------------------------------------------------------
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  
----------------------------------------------------------------------------------------------