Published on September 25, 2017 by Microsoft

Kirill Gavrylyuk shows Scott Hanselman an easy way to build planet-scale serverless apps in minutes using Azure Cosmos DB and Azure Functions. Customers expect apps to offer event-driven, near real-time experiences. Now you can subscribe to changes in Azure Cosmos DB collections and trigger logic in real time while being globally-distributed, and without deploying or managing any servers.

For more information, see: 

Leave a Reply

12 Comments on "Serverless Apps with Azure Cosmos DB and Azure Functions"

Notify of
avatar

Mike Underwoo
Guest
Mike Underwoo
9 months 11 days ago

Does change fee guarantee any kind of order? I can see this being extremely useful in event handling to update materialized views, but if you can't get the events out in the same order they came in it could be very limited.

KirillG_msft
Guest
KirillG_msft
9 months 13 days ago

Hi @Sean, yes, the processing order is guaranteed within the scope of a partition key (and more precisely a physical partition)

KirillG_msft
Guest
KirillG_msft
9 months 13 days ago

@Roy, @Joe: Hi Roy, Joe, there are no servers/instances/cores to manage here. You pay for the time your code runs and the throughput you need.

KirillG_msft
Guest
KirillG_msft
9 months 13 days ago

@Karthick Thoppe: Hi Karthick, the new thing here is the trigger for functions. yes there are features similar to  CosmosDB’ ChangeFeed in other databases.

Joe
Guest
Joe
9 months 14 days ago

How exactly is this serverless?And doesn't this now pull business logic back onto the database?

Sean
Guest
Sean
9 months 16 days ago

Anybody know if this guarantees ordered processing of the incoming change events? If I have five writes to cosmos, and each would trigger a function, will those functions be run on the documents in the order they were written to cosmos?

Richard
Guest
Richard
9 months 18 days ago

I can't work out how to use this when developing locally in Visual Studio 2017. Any ideas?

dank
Guest
dank
9 months 18 days ago

The peanut butter and chocolate combo does not scale outside the US, sorry Scott.

ellistev
Guest
ellistev
9 months 18 days ago

Well, that was fun and easy.  Now, to come up with a fun project to utilize this setup.  Thank you Kirill and Scott!

Roy
Guest
Roy
9 months 19 days ago

By serverless, how so?

wpDiscuz