Posts

Showing posts with the label MongoDB

Always free Mongo DB compatible Azure Cosmos DB instances

Image
The Azure Mongo DB version of Cosmos DB provides a sharable, scalable way of working with MongoDB across sites, different teams or different machines. I have a couple development machines and am always looking for ways to work with the same dataset independent of my current physical location and of the developer machine platform I'm using. Always Free Cosmos DB - Mongo DB Microsoft Azure has a Cosmos DB for MongoDB free tier offering. MongoDB (vCORE) has its own SKU (at this time). This means you may be able to use free tier Mongo DB and the free tier standard Cosmos DB You get a dedicated MongoDB cluster with 32 GB storage. The docs don't mention any compute or RU/s limit. From the docs Azure Cosmos DB for MongoDB (vCore) now introduces a new SKU, the "Free Tier," enabling users to explore the platform without any financial commitments. The free tier lasts for the lifetime of your account, boasting command and feature parity with a regular Azure Cosmos DB for MongoDB...

Schema on Write - Consumer Driven Schemas

Image
What does it mean to move from a Relational Database style Schema on Read to  Schema on Write ? Schema on Write  is used to stage data in a consumer friendly form.  It can also be used in poor-join-performance environments to restructure and stage data in consumer read  format. It is pretty much mandatory for Document Databases.  Ingestion stores data in its original format for compliance, audit or other purposes.  This copy may be called True Source. Format Standardization converts the raw information into and agreed on standard format.  Examples include  Data Tables  in a lake or documents in a document store.  This is purely a mechanical conversion. Consumption Model are built from raw data, reference data and applies view and business rules creating a consumer ready dataset...

Run applications on a Mac using ASP.NET Core and with MongoDB on Docker

Image
It is easy to develop ASP.NET Core applications on a Mac with VSCode, and run them while they rely Docker based data services. The first part is easy because of ASP.NET core's cross platform compatibility. The is very simple even though it sounds impressive.  Services like MongoDB expose the same ports whether they are Docker deployed or directly installed to the operating system. Our application is an ASP.NET core micro-service example put out by Microsoft. The bookstore REST service API support implements basic CRUD operations. The net result is an ASP.NET web service that uses MongoDB as its' persistent store. I build this on a Mac because both .NetCore is cross platform and MongoDB is running in a Linux Docker container isolated from the underlying system. You should be able to run this without changes on a PC without modification. We are using Visual Studio code because it is cross platform and runs on Mac, PC and Linux.  I have run it in the Linux Subsystem on C...