Microservices Communication Pattern
Microservice is a single application in a suite of small services. Each microservice communicates via a lightweight protocol e.g HTTP, Message Queues. In accordance with the database per service pattern, each of them has its own database. They must communicate with each other in order to access others data. Basically, there are two patterns that …
Why do we need threads along with processes?
Let’s first define what a process is. A process is an independent isolated program to which an OS gives resources, file handles, or credentials. An OS can have many processes with its own address space, heap, or stack. When processes need to communicate, they need to use coarse-grained communication mechanisms such as a socket, shared …
Continue reading “Why do we need threads along with processes?”
Isolation Levels in Transaction
As we have already discussed in the article, isolation specifies that each transaction should be executed independently of other transactions. The level specifies how much isolation can be provided to each transaction. Read Uncommitted It is the lowest level of insolation in a transaction. At this level, data changed during a transaction, which is essentially …