๐ Auto scaling Azure Cosmos DB for PostgreSQL with Citus, Grafana & Azure Serverless | Citus Con 2023
๐ก Newskategorie: Video | Youtube
๐ Quelle: youtube.com
Author: Microsoft Developer - Bewertung: 0x - Views:4
Video of a conference talk and demo about auto scaling Azure Cosmos DB for PostgreSQL with Citus, Grafana, & Azure Serverless, delivered by Lucas Borges at Citus Con: An Event for Postgres 2023. Azure Cosmos DB for PostgreSQL is a managed service offering that is powered by the open-source Citus database extension to Postgres. One of the top Citus features is the ability to run PostgreSQL at any scale, on a single node as well as a distributed database cluster.
This talk includes a demo to show what you can do as your application needs to scale: You can add more nodes to the Azure Cosmos DB for PostgreSQL cluster, rebalance existing data across the new Postgres nodes, and seamlessly scale out. However, these operations require manual intervention: a) first you must create alerts on metrics, b) then, based on those alerts, you need to add more nodes, c) then you must kick off and monitor the shard rebalancer. Automating these steps will give you a complete auto scale experienceโand make your life so much easier. The demo shows you how to โauto scaleโ by using existing tools such as Grafana & Azure Serverless (aka Azure Functions.)
โ Configuring Grafana to capture metrics from Azure Cosmos DB for PostgreSQL
โ Configure alerts based on those metrics
โ Trigger Azure Serverless function using Grafana alerts to automate the process of scaling out, both automatic node addition and shard rebalancer maintenance
โ As icing on the cake, we will also demonstrate automatic tenant isolation!
Lucas Borges Fernandes is a Brazilian software engineer with years of experience in the field of application development. He also has a MSc in the field of distributed systems. He's currently working at Microsoft as a Customer Engineer for the Azure Cosmos DB for PostgreSQL team.
โบ Video bookmarks:
โฉ 00:00 Introduction
โฉ 03:33 Why auto scaling?
โฉ 04:59 Auto scaling a Citus cluster
โฉ 08:31 Grafana
โฉ 11:54 Azure Functions (Serverless)
โฉ 13:23 Azure Resource Manager (ARM)
โฉ 15:12 Demo of Autoscaling Azure Cosmos DB for PostgreSQL
๐ Everything you need to know about Citus Con: An Event for Postgres 2023 can be found at: https://aka.ms/cituscon
โ
Learn more: Watch more Citus Con talks: https://aka.ms/cituscon-playlist
๐ Letโs connect:โฏโฏ Twitter โ @CitusCon, https://twitter.com/CitusCon
โญ Star the GitHub repo for the Citus database extension, to show your support of Citus open source: https://github.com/citusdata/citus
๐ Subscribe to the Citus monthly technical newsletter: https://aka.ms/citus-newsletter
More resources:
๐ฃ Slides for this talk: https://speakerdeck.com/azuredbpostgres/auto-scaling-azure-cosmos-db-for-postgresql-with-citus-grafana-and-azure-serverless-citus-con-2023-lucas-borges-fernandes
โ Docs โ Azure Cosmos DB for PostgreSQL: https://learn.microsoft.com/azure/cosmos-db/postgresql/introduction
โ Docs โ Azure Managed Grafana: https://learn.microsoft.com/azure/managed-grafana/overview
โ Docs โ Azure Functions: https://learn.microsoft.com/azure/azure-functions/functions-overview
โ Docs โ Azure Resource Manager (ARM): https://learn.microsoft.com/azure/azure-resource-manager/management/overview
โ Docs โ Azure SDKs for JavaScript and TypeScript: https://learn.microsoft.com/azure/developer/javascript/core/use-azure-sdk
#CitusCon #PostgreSQL #Citus