O'Reilly logo

Secure Your Node.js Web Application by Karl Duuna

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Wrapping Up

In this chapter we looked at how concurrency issues occur and how they can cause big problems if the application logic doesn’t account for it. You learned how to mitigate concurrency by denying other processes access to a resource until one process is finished by using locks. You also learned how to work with atomic operations, where you implement changes to the resource as part of a single operation. You should now know how to handle concurrent operations in MongoDB and MySQL.

Next, we look at ways to limit access to different resources. In the next chapter, we get cracking on building the backbone of our authentication scheme.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required