Orchestrate or Choreograph

Orchestration vs Choreography ConcernRemote Procedure Call (RPC)Message PassingInterfaceRPC (HTTP / gRPC)Callee owns the interfaceEvent Queue (Kafka topic)Caller owns the interfaceInterface SemanticsCall-return (pull)Pub-sub (push)ContractJSONProtocol Buffers JSONProtocol BuffersPayloadOrder details (required by FF and/or downstream systems) Order details (required by FF and/or downstream systems) Couplingspace and time (sender needs to be aware of the receiver(s)) Space only (send needs to know the… Continue reading Orchestrate or Choreograph

Zookeeper

Official Doc Link Medium How Does Zookeeper Servers Remain In sync? Medium Zookeeper is written in Java and it is platform independent. Zookeeper is a high-performance coordination service used by distributed systems. Zookeeper allows distributed systems to coordinate each other through a hierarchical name-space of data registrars. In quorum mode, a group of Zookeeper servers,… Continue reading Zookeeper

DynamoDB

Amazon Official Blog Tables, Items, and Attributes The following are the basic DynamoDB components: Tables – Similar to other database systems, DynamoDB stores data in tables. A table is a collection of data. For example, see the example table called People that you could use to store personal contact information about friends, family, or anyone else of interest. You could… Continue reading DynamoDB

Epoch Time

The Unix epoch (or Unix time or POSIX time or Unix timestamp) is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT), not counting leap seconds (in ISO 8601: 1970-01-01T00:00:00Z). Literally speaking the epoch is Unix time 0 (midnight 1/1/1970), but 'epoch' is often used as a synonym for Unix time. Some systems store epoch dates as a… Continue reading Epoch Time

OOPS Basic

  The four principles of OOP. 1. Encapsulation 2. Abstraction 3. Inheritance 4. Polymorphism Inheritance is a mechanism of acquiring the features and behaviors of a class by another class. The class whose members are inherited is called the base class, and the class that inherits those members is called the derived class. Inheritance implements… Continue reading OOPS Basic