Skip to main content

Posts

Showing posts from May, 2022

distributed messaging system and some common messaging scenarios

  What is Distributed Messaging System? Distributed messaging is based on the concept of reliable message queuing. Messages are queued asynchronously between client applications and messaging systems. A distributed messaging system provides the benefits of reliability, scalability, and persistence. Most of the messaging patterns follow the publish-subscribe model (Pub-Sub) where the senders of the messages are called publishers and those who want to receive the messages are called subscribers. Once the message has been published by the sender, the subscribers can receive the selected message with the help of a filtering option.  Type of filtering  topic-based filtering  content-based filtering. Note that the pub-sub model can communicate only via messages. It is a very loosely coupled architecture; even the senders don’t know who their subscribers are. Many of the message patterns enable with message broker to exchange publish messages for timely access by many subsc...

Angular-npm ERR cb() never called

 Angular-npm ERR cb() never called Here is easy steps to solve this problem? while installing a node package from the package.json file and the package-lock.json file is corrupted due to some reasons like  the node.js version is updated to the latest,  you may see an error like this in our terminal. Following are the possible solutions to this problem, I trust, you may try one of them will work for you. Solution 1: npm config set registry https : //registry.npmjs.org/ Solution 2: npm cache clean Or npm cache clean -- force You might also manually remove the node_modules folder and try again in case the command above failed. If still doesn't work, the global cache might be broken, try running npm cache clean --force and then do a clean install. Solution 3: npm install - g npm Just globally installed the newest version of NPM and my guess Clearing npm cache is optional.