Contents tagged with Azure
-
Put a limit on consumption based azure functions scaling
Needless to say, one of the coolest features and biggest advantage of consumption based azure functions is the fact that how they scale out without we having to do anything about it. As of writing this post, consumption based functions can scale out up to 200 instances and premium ones up to 100. Apparently, if you need even more instances, that's also possible but you need to contact azure support team.
-
Disaster recovery in case of Database/Container deletion and data corruption in Azure Cosmos DB
No matter what our strategy is to protect our resources and avoid accidental deletion, we should always be prepared for crisis management and know which steps to follow in case a disaster occurs. When it comes to disaster recovery, databases come on top of the list. Here we are going to discuss Azure Cosmos DB.
-
How to get notified about planned maintenance for Azure services
One of the biggest advantages of using Cloud services is the fact that we no longer need to maintain the Hardware and infrastructure. Using PaaS offerings takes it even further and we no longer need to care about updating services, applying security patches and so on.
-
Real world use-cases to set lifetime to the documents in Cosmos DB
While creating a container in Cosmos DB and also while upserting (insert/update) a document in the database, we can set a lifetime or so called Time to Live (ttl) to the documents. The lifetime is in seconds and the documents get deleted from the database after the given seconds are passed from the last modified time of the documents. But why would be a real use-case to leverage this feature?
-
How to Import and Export data from PostgreSQL
I am dealing with a Azure Database for PostgreSQL now and a few days ago needed to export a database table with millions of records and import them in another table. As a person coming from Microsoft SQLServer world, I though it must have been a trivial work but in the end spent a couple of hours to figure out how to do that.
-
Lesson learned after 2 years working with Cosmos DB
This is now about 2 years I am working extensively with Cosmos DB and here I would like to share my current view points about this database. First, a brief introduction about Cosmos DB.
-
How to send MQTT messages to an Azure IotHub by MQTT.fx client
As clearly stated in the documentation, “IoT Hub is not a full-featured MQTT broker and does not support all the behaviors specified in the MQTT v3.1.1 standard". If you need to send MQTT messages to an IotHub and for whatever reason cannot use IotHub standard SDK, then the whole process could be a bit tricky.
-
How to install and deploy Extensions in Azure Functions v2
If you have been doing Serverless Programming in Micrpsft Azure Stack, you probably know that the new generation of Functions (v2) has been available now for a few months. There are some differences in the new versions compared to the old one that you need to know before migrating your existing Functions.