Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Edge Computing Systems with Kubernetes

You're reading from  Edge Computing Systems with Kubernetes

Product type Book
Published in Oct 2022
Publisher Packt
ISBN-13 9781800568594
Pages 458 pages
Edition 1st Edition
Languages
Author (1):
Sergio Méndez Sergio Méndez
Profile icon Sergio Méndez

Table of Contents (21) Chapters

Preface Part 1: Edge Computing Basics
Chapter 1: Edge Computing with Kubernetes Chapter 2: K3s Installation and Configuration Chapter 3: K3s Advanced Configurations and Management Chapter 4: k3OS Installation and Configurations Chapter 5: K3s Homelab for Edge Computing Experiments Part 2: Cloud Native Applications at the Edge
Chapter 6: Exposing Your Applications Using Ingress Controllers and Certificates Chapter 7: GitOps with Flux for Edge Applications Chapter 8: Observability and Traffic Splitting Using Linkerd Chapter 9: Edge Serverless and Event-Driven Architectures with Knative and Cloud Events Chapter 10: SQL and NoSQL Databases at the Edge Part 3: Edge Computing Use Cases in Practice
Chapter 11: Monitoring the Edge with Prometheus and Grafana Chapter 12: Communicating with Edge Devices across Long Distances Using LoRa Chapter 13: Geolocalization Applications Using GPS, NoSQL, and K3s Clusters Chapter 14: Computer Vision with Python and K3s Clusters Chapter 15: Designing Your Own Edge Computing System Index Other Books You May Enjoy

Using Redis to store GPS coordinates data

As we explained in Chapter 10, SQL and NoSQL Databases at the Edge, Redis is a key-value database that is pretty lightweight when using resources. Redis exclusively uses RAM memory to store its data but can persist when using snapshot configuration, which basically stores this data on the disk. Redis can also store geolocation data, storing GPS coordinates and tuples with latitude and longitude values. Redis stores this information with the field’s latitude, longitude, and a name. Redis also calls this data a geospacial index. Redis also includes the ability to return coordinates close to a circular area with this type of data. In this use case, Redis will be used to calculate all this information. For this specific use case, we are going to use the GEOADD and GEOSEARCH commands to implement our geolocalization application. But first, let’s install Redis in the cloud to store some geolocation data. For this, follow these steps...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}