Skip to content

Instantly share code, notes, and snippets.

View martyncoup's full-sized avatar
🎯
APIs!

Martyn Coupland martyncoup

🎯
APIs!
View GitHub Profile

Many distributed NoSQL databases (and Cosmos DB specifically) are unique in their ability to scale to massive size but still maintain millisecond request latencies and also remain highly efficient in performance AND cost. However, achieving this takes knowledge. Finding an optimal design also requires some trial and error too as you will have to test at scale to validate your design will scale.

For those who are new to distributed NoSQL databases (and especially if you have years of experience in designing and using relational databases) and want to undestand how to design a database for scale and performance we recommended consuming this content below to learn some of these key concepts and techniques before getting too far in your design.

Generally speaking, deep undestanding of relational database design will not help in this regard. In fact, in most cases applying relational concepts and techniques are anti-patterns here. Additionally, some of the concepts are unintuitive.

We hope you find this conte

@liamfoneill
liamfoneill / privatednszones.tf
Last active August 11, 2022 15:42
Creates Azure Private DNS Zones for all of the Azure PaaS Services that (currently) support Private Endpoints. NOTE: For some services, like AKS the DNS Zones need to be regionalised so you will need 1 zone for each region. I have included North and West Europe as examples. If you are using DNS Servers to resolve these records you will also need…
resource "azurerm_resource_group" "dnsprivatezones" {
name = "connectivity-dnsprivatezones-001"
location = "West Europe"
tags = {
"Usage" = "Azure Private DNS Zones for Private Endpoints"
}
}
resource "azurerm_private_dns_zone" "azureautomation" {
name = "privatelink.azure-automation.net"
resource_group_name = azurerm_resource_group.dnsprivatezones.name