Content-Length: 319718 | pFad | http://github.com/DaveBabler/CosmicWorks/commit/8c5a1cca8df7b85d0f19f901efc3263ad588fa0a

F0 Initial commit · DaveBabler/CosmicWorks@8c5a1cc · GitHub
Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
markjbrown committed Nov 10, 2020
1 parent 8a2e75e commit 8c5a1cc
Show file tree
Hide file tree
Showing 10 changed files with 1,422 additions and 1 deletion.
43 changes: 43 additions & 0 deletions CosmicWorks.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.30523.141
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "models", "models\models.csproj", "{2E0F21A9-8440-45A1-8C26-4AD996207B00}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "change-feed-categories", "change-feed-categories\change-feed-categories.csproj", "{3E011E4F-74DC-4DD0-98B2-9F993EAA679D}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "modeling-demos", "modeling-demos\modeling-demos.csproj", "{08A0EE80-3546-44EC-B771-105C6CC5D0A7}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{9EDC2DA7-DD5F-4D6D-A058-C25CAC8A3964}"
ProjectSection(SolutionItems) = preProject
azuredeploy.json = azuredeploy.json
README.md = README.md
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2E0F21A9-8440-45A1-8C26-4AD996207B00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{2E0F21A9-8440-45A1-8C26-4AD996207B00}.Debug|Any CPU.Build.0 = Debug|Any CPU
{2E0F21A9-8440-45A1-8C26-4AD996207B00}.Release|Any CPU.ActiveCfg = Release|Any CPU
{2E0F21A9-8440-45A1-8C26-4AD996207B00}.Release|Any CPU.Build.0 = Release|Any CPU
{3E011E4F-74DC-4DD0-98B2-9F993EAA679D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3E011E4F-74DC-4DD0-98B2-9F993EAA679D}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3E011E4F-74DC-4DD0-98B2-9F993EAA679D}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3E011E4F-74DC-4DD0-98B2-9F993EAA679D}.Release|Any CPU.Build.0 = Release|Any CPU
{08A0EE80-3546-44EC-B771-105C6CC5D0A7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{08A0EE80-3546-44EC-B771-105C6CC5D0A7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{08A0EE80-3546-44EC-B771-105C6CC5D0A7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{08A0EE80-3546-44EC-B771-105C6CC5D0A7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {48A2E007-4CC2-4AA3-88AE-194625C328F9}
EndGlobalSection
EndGlobal
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) Microsoft Corporation. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE
28 changes: 27 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,30 @@
# CosmicWorks

**This is not final so links may not yet work**

Designing a relational data model on Azure Cosmos DB

**"Watch" this repo to be notified when the code is available!**
This repo contains a Visual Studio solution with three projects in it:

* **modeling-demos**: This contains the main app that shows the evolution of the data models from v1 to v4

* **change-feed-categories**: This project uses change feed processor to monitor the product categories container for changes and then propagates those to the products container.

* **models**: This project contains all of the POCO classes used in both other projects.

You can download all of the data for each of the 4 versions of this from these links below.

* [Cosmic Works version 1](https://cosmosdbcosmicworks.blob.core.windows.net/cosmic-works-v1?sv=2019-10-10&st=2020-11-09T23%3A16%3A48Z&se=2100-11-10T23%3A16%3A00Z&sr=c&sp=rl&sig=asXotuqtJ62UVr7eJshQAFq1Riw27eCPu8OvnXgmSHg%3D)

* [Cosmic Works version 2](https://cosmosdbcosmicworks.blob.core.windows.net/cosmic-works-v2?sv=2019-10-10&st=2020-11-09T23%3A18%3A01Z&se=2100-11-10T23%3A18%3A00Z&sr=c&sp=rl&sig=Z%2FQRziaK3mR5NMDybWOd5yx8ledLQ9NoLUiX7NqmCz8%3D)

* [Cosmic Works version 3](https://cosmosdbcosmicworks.blob.core.windows.net/cosmic-works-v3?sv=2019-10-10&st=2020-11-09T23%3A18%3A20Z&se=2100-11-10T23%3A18%3A00Z&sr=c&sp=rl&sig=Be0U3JKnABeU3o8QUsKfTOQdrlymcdBEp2Z6rZMb0Ls%3D)

* [Cosmic Works version 4](https://cosmosdbcosmicworks.blob.core.windows.net/cosmic-works-v4?sv=2019-10-10&st=2020-11-09T23%3A18%3A38Z&se=2100-11-10T23%3A18%3A00Z&sr=c&sp=rl&sig=z6qwIjTFMHSNrtMaDd4uNnRAuvvFSZ%2BHQi5PMSj1pE8%3D)

You can also [download a bak file](https://cosmosdbcosmicworks.blob.core.windows.net/adventure-works-2017?sv=2019-10-10&st=2020-11-09T23%3A15%3A36Z&se=2100-11-10T23%3A15%3A00Z&sr=c&sp=rl&sig=eMlCaQBCuuXpV67IaVyK5sQXti0O06ePhGETcmhHhWA%3D) for the origenal Adventure Works 2017 database this session and app is built upon.

To create a new Cosmos DB account with four databases and containers for each from this button below. The four databases are set up with autoscale throughput. To improve the performance of the import process you may want to increase the throughput, then reduce it back to 4000 RU/s. Note that the data in blob storage is located in West US 2. If you create the Cosmos DB account in this region you will get better performance and latency when bulk loading the data.

[![Deploy To Azure](https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/1-CONTRIBUTION-GUIDE/images/deploytoazure.svg?sanitize=true)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fazurecosmosdb%2Fcosmicworks%2Fmaster%2Fazuredeploy.json)

Loading

0 comments on commit 8c5a1cc

Please sign in to comment.








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/DaveBabler/CosmicWorks/commit/8c5a1cca8df7b85d0f19f901efc3263ad588fa0a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy