Idempotent and Nullipotent in Cloud

Posted in: Cloud, Technical Track

I was going through the documentation of Oracle Cloud IaaS, when I came across a vaguely familiar term “Idempotent”.

One great thing I feel strongly with all this Cloud-mania is the recollection of various theoretical computing concepts which we learned/read in university courses way back. From networking through web concepts to operating system; there are a plethora of concepts which are coming back into practice very actively in the everyday life of cloud professionals.

Two of these words that are a mouthful are Idempotent and Nullipotent. These are types of actions. The difference between Idempotent and Nullipotent action is the result they return when performed.

In simple terms;

When executed an Idempotent action would provide a result first time and then this result would remain same, no matter how many times the action is repeated after that first time.   

An Nullipotent action would always provide same result whether executed several times or not executed at all. 

So in terms of Cloud where REST (Representational State Transfer) APIs and HTTP (Hyper Text Transfer Protocol) are norm, these 2 concepts of Idempotent and Nullipotent are very important. In order to manage resources in cloud (through URI), there are various HTTP actions which could be performed. Some of these actions are Idempotent and some are Nullipotent.

Like GET action of HTTP is nullipotent. No matter how many times you execute this, it doesn’t affect state of the resource and would return same result. And Put is Idempotent action of HTTP which would change the state of resource first time its executed and all subsequent executions of same PUT action would be like as first time.

email

Interested in working with Fahd? Schedule a tech call.

About the Author

I have been in love with Oracle blogging since 2007. This blogging, coupled with extensive participation in Oracle forums, plus Oracle related speaking engagements, various Oracle certifications, teaching, and working in the trenches with Oracle technologies has enabled me to receive the Oracle ACE award. I was the first ever Pakistani to get that award. From Oracle Open World SF to Foresight 20:20 Perth. I have been expressing my love for Exadata. For the last few years, I am loving the data at Pythian, and proudly writing their log buffer carnivals.

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *