Make the most of 'promises' in JavaScript

Handling concurrency in distributed applications is a challenge. Here's how to use promises and keep everything on track

Become An Insider

Sign up now and get FREE access to hundreds of Insider articles, guides, reviews, interviews, blogs, and other premium content. Learn more.

Once we coded applications that stood alone or were tightly coupled to specific servers. Now we’re writing applications that are loosely coupled, with app and browser front ends connected to distributed cloud services. This simplifies many things, but also causes new problems.

The biggest problem facing the modern application developer is one of the oldest in distributed computing: how to ensure consistency among the various components of an application. This question goes to the heart of delivering modern applications -- especially those made up of loosely coupled microservices.

To continue reading this article register now