Need a way to make your code behave like Cosmos has transactions? Let Bryden Oliver show you how he solved this problem on a large high throughput system.

The end result is a cost effective, scalable and extremely performant solution.

0:00 Introduction

5:07 Cosmos DB

6:54 Locking Databases

9:08 SQL Server Lock Types

11:39 Transactions

15:40 Locking for Cosmos using Redis

18:35 Demo

23:12 Demo: Dependency Injection Configuration

23:49 Use in a transaction

28:28 Demo: LockService

32:01 LockToken

37:28 Let’s see how it performed

41:21 What to do next

42:11 SSW Rewards and Q&A time with Adam Cogan

 

|| Subscribe for more content from SSW TV ||

|| Press like and leave a comment below to let us know how we’re doing ||

Twitter ↴ https://twitter.com/ssw_tv

Facebook ↴ https://www.facebook.com/SSW.page

See more videos at http://tv.ssw.com

For more information about SSW’s web application consulting services, please visit https://www.ssw.com.au/ssw/Consulting…

Created by SSW TV | Videos By Developers, For Developers

About the speakers

About the speakers

Bryden Oliver

Bryden is a Solution Architect with over 30 years professional experience. He has a wealth of knowledge from a diverse range of areas but with particular focus on database, web services, Microsoft Azure and SaaS based solutions. He's had dealings with customers ranging from the world's largest companies right through to small business. He has a strong understanding of how software will deliver business value to his customers.

Related videos

Related videos

SSW Hangzhou – New Office

Welcome to SSW Hangzhou! Our SSW China Marketing Manager Yang Shen gives us a walk-through showcasing the latest features and renovations made to our China office.

The dangers of your strong suits

“When you have a hammer, everything looks like a nail.”

This saying is often used for developers who want to use their favourite technology to solve every coding issue, even when it’s not the best fit. But this saying is actually relevant to us all.

Flexing Your Biceps with Azure – Making laC easy and fun with William Liebenberg

No matter how hard we try, Azure Resource Manager (ARM) JSON templates aren’t easy or fun to maintain for enterprise platforms and applications.
Now we can flex our Infrastructure as Code (IaC) muscles using a new tool called Azure Bicep.

Tech News #18: New tool to migrate from ASP.NET to ASP.NET Core & GitHub Pages made easier

Visual Studio releases a new tool to migrate from ASP.NET to ASP.NET Core, GitHub Pages made easier with new deeply with GitHub actions and you too can win big with this year’s MAUI Beautiful UI Challenge.

Do you have a product roadmap?

A product backlog is a great way to see the fairly small broken up PBIs (Product Backlog Items) that make up your team’s “to do” list, but it can be a bit too zoomed in and makes it easy to stray from the product goals.

MAUI – Do you build cross-platform mobile apps with .NET MAUI ? (for iOS and Android)

If you’re building installable binary apps (as opposed to web apps), it makes sense to use a cross-platform framework so that you don’t need to maintain multiple code bases.

Build Multi-Platform Applications for Mobile, Desktop and Web in .NET with the Uno Platform with Nick Randolph

The ability to deploy the same UI codebase across all platforms is a great productivity booster. But the application lifecycle starts much earlier – at design time. Uno Platform provides a Figma plugin, which eliminates the timely designer-developer handoff. In addition, the platform now provides a set of non-UI extensions to help jump-start your apps. Lastly, the VS Code extensions allows C# and XAML to use VS Code with IntelliSense-like experience, C# and XAML Hot Reload, and more.

Do You Know When To Ask For Help?

When you’re working, you will encounter issues that block you from progressing, and force you to do some googling, and investigation on how to move forward. These moments can be stressful, especially for junior developers and the question arises, “When should I ask for help?”

Do you explain a problem by zooming in and out with Luke Cook

Explaining problems can be really hard. Often, when you are trying to talk with someone about it, they get lost and frustrated because they don’t fully understand the context.

Tech News #17: Someone Tagged 400k GitHub Users, Building a Microsoft Teams Bot, and more

The new and improved SSW Rewards App has launched, Team Live Share is a new upcoming feature, Microsoft Power Pages has shipped, and plenty more!