Time is what we want most, but what we use worst.

William Penn

Chapter 6Learn to Do Things Concurrently

You’ve learned a lot about different ways to secure your configuration and communications so that attackers wouldn’t be able to introduce malicious variables into your code. In this chapter, we take a slight detour and study application design, specifically, concurrency.

Concurrency has been a problem in application design since the beginning of parallel computing. Two processes running modifications on the same resource can cause a number of different issues. This is not technically a security issue because the user isn’t circumventing a specific security measure, but it still poses serious security-related issues. In fact, if you’re ...

Get Secure Your Node.js Web Application now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.