Skip to main content


IoT Home Automation | Stabilize the garage doors solution after power break (resistors and capacitors)

Recent posts

How to audit an Azure Cosmos DB

In this post, we will talk about how we can audit an Azure Cosmos DB database. Before jumping into the problem let us define the business requirement:
As an Administrator I want to be able to audit all changes that were done to specific collection inside my Azure Cosmos DB.

The requirement is simple, but can be a little tricky to implement fully. First of all when you are using Azure Cosmos DB or any other storage solution there are 99% odds that you’ll have more than one system that writes data to it. This means that you have or not have control on the systems that are doing any create/update/delete operations.

Solution 1: Diagnostic Logs
Cosmos DB allows us activate diagnostics logs and stream the output a storage account for achieving to other systems like Event Hub or Log Analytics. This would allow us to have information related to who, when, what, response code and how the access operation to our Cosmos DB was done. Beside this there is a field that specifies what was the operatio…

What is an Azure SQL Logic Server?

This is such a simple question that many times you realize that you do not have no idea about it.
What is an Azure SQL Logic Server Logic? Do I pay for it? Do I share resources between databases inside the Server?

What is an Azure SQL  Logic Server?
Is just a logical grouping of multiple Azure SQL Databases under the same logic server, The server it’s virtual and you do not share any resources cross databases that are deployed under it.
You will share the Server Admin username and password and the name of the server when you want to connect to multiple databases that are under the same Azure SQL  Logic Server.

Do I pay for it?
Know, because behind the science there is no computation allocated to it. For each database that you create under the server, you will specify the tier (size). That is the cost driver for you in the end. Having for example 2 Azure SQL Databases under the same Azure SQL  Logic Server will generate you costs for each database.

Do I share resources between these two d…

[Post Event] Winter ITCamp Community Event | 13.02.2018 | Cluj-Napoca

On February 13, 2018 we had the first ITCamp Community Winter Event in Cluj-Napoca. At this event we talked about containers and microservices, SOLID principles and blockchain (Coco Framework).
Around 80 people joined the event and stayed with us until the end. There was a lot of interests from people that join the event about what future is preparing for us from blockchain and microservices perspective. Subjects like SOLID are like fairy tales, all the time captivating and interesting.

You can find below slides and pictures from the event.
See you next time!

Container solutions in Azure (Florin Loghiade)
Container solutions in Azure: You've probably heard of containers by now, and I'm pretty sure that you've already used one or two in some development scenarios or even production. As to why use containers it is pretty simple to answer. Instead of virtualizing the whole hardware stack as in the case of a virtual machine, you just virtualize the operating system whic…

Methods to calculate the charge model for an Azure (cloud) solution

Did you ask yourself how does a cloud provider change you? In this post we will take a look on 7 different charge methods.
There are multiple ways on how can charge the end clients when they are using your service, Things can become more complex when you need to calculate the running costs on top of which you add your own costs and cap.

There are 7 different ways for chargeback allocation that you can use inside your organization. From simple ones, that takes into account the number of users or a specific KPI, to more complex ones where IT cost together with stuff costs are putted together. The chargeback allocation methods are:

High Level Allocation (HLA)Low Level Allocation (LLA)Direct Cost (DC)Measured Resource Usage (MRU)Tiered Flat Rate (TFR)Negotiated Flat Race (NFR)Service based Pricing (SBB)
Let’s take each of them one by one and identify what are the chargeable metrics that are taken into account.

High Level Allocation
When using this method to calculate the charges, you need t…

HTTP Queue Length and Request counter of Azure App Services (Web Apps)

Auto scaling of App Services and Web Application it is a feature that is available for some time inside Microsoft Azure. Beside standard metrics like CPU, Memory and Data In/Out there is a specific web metric that can be used for scaling – HTTP Queue Length.

Counter definition
It is important to know from beginning what does this metric represents. The name of the metric can create confusion especially if you used in the past IIS or similar services. The counter that can be accessed from Azure Portal represents the total number of active requests inside W3WP. The technical path of the counter would be “W3SVC_W3WP – Active_Requests_ - _Total”.

Naming confusion
This metric created confusion in the past, so it was renamed from HTTP Queue Length to Requests and shows the total number of requests in a specific moment in time. This change was done only in the Metric Monitor part of the Azure Portal.
Inside auto scale section of „Scale out” you will find this metrics called „HttpQueueLength”, …

Managed Instances - Closing the gap between Azure SQL Database and Azure VM with SQL Server

In one of my previous post, I talked about different flavors of SQL inside Azure. I saw that many people were interested about Managed Instances.
In this post, I will present Managed Instances services, that are still in preview, but it might be a game changer for companies that needs to do a migration from on-premises to Azure and they have compatibility problems with Azure SQL Databases.

For this kind of scenario, the only options used to be Azure VMs, that is in the end IaaS and require extra effort to manage the VM and SQL Server cluster that is running on top of it. In one word you cannot put your database on auto-pilot and focusing on your business and not on the infrastructure.
The current flavors that are available on the market when you put SQL and Azure together are:

Azure SQL DatabasesElastic PoolAzure VMs… Managed Instance
Managed Instance is a new service inside Azure that is allowing us a one-to-one migration from on-premises to Azure, without worrying about many …