Dealing with the challenges faced when using Apache Kafka

Event-driven architecture is one of the ways to implement interprocess communication between some services in a microservice architecture. A message-based application typically uses a message broker which acts as an intermediate layer between the services.

Apache Kafka is one of the tools which allows implementing a broker-based messaging approach. This…

Review JS evolution when jQuery was still alive until nowadays

What was before

Recently, JS has been called a toy language, the business logic mainly implemented on the backend side. JS is used only for adding some kind of simple interactivity with users that aren’t required a massive knowledge base.

In the past, FE JS developers should have known only the jQuery library…

Power up your web apps with promises

Light moving fast, signifying speed

1. Emulate a Delay

Sometimes we need to emulate a particular delay between some actions. It’s pretty easy to implement using the following code:

The usage of this util function is as follows:

async function(){
console.log('The first log');
await delay(1000);
console.log('The second log with 1000 ms delay')

As an output, we’ll see…

It’s a set of articles that go you along throw possible ways to build Multi-Tenancy Architecture using React and Auth0. We will implement POC (Proof Of Concept) for each available option and highlight the pros and cons for each of them. It gets you clear insight into which options to choose for your current project.

Content of article series:

  1. Auth0 Multi-Tenancy with React. Part1: Introductory word
  2. Auth0 Multi-Tenancy with React. Part2: Multi-tenancy with one Auth0 tenant attaching tenant-specific metadata to the user
  3. Auth0 Multi-Tenancy with React. Part3: Multi-tenancy with multiple DB Connections — We are reading this article now
  4. Auth0 Multi-Tenancy with React. …

Vladimir Topolev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store