Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Microservices with Node.js

You're reading from  Building Microservices with Node.js

Product type Book
Published in May 2024
Publisher Packt
ISBN-13 9781838985936
Pages 324 pages
Edition 1st Edition
Languages
Author (1):
Daniel Kapexhiu Daniel Kapexhiu
Profile icon Daniel Kapexhiu

Table of Contents (23) Chapters

Preface 1. Part 1: Understanding Microservices and Node.js
2. Chapter 1: Introducing Microservices 3. Chapter 2: Exploring the Core Principles of Microservices 4. Chapter 3: Understanding Node.js Fundamentals: Building Blocks and Key Concepts 5. Chapter 4: Leveraging the JavaScript and Node.js Ecosystem for Microservices Development 6. Part 2: Building and Integrating Microservices with Node.js
7. Chapter 5: Knowing the Infrastructure of Microservices in Node.js 8. Chapter 6: Designing Microservices Architecture in Node.js 9. Chapter 7: Integrating Microservices in Node.js Applications 10. Chapter 8: Debugging Microservices in Node.js 11. Part 3: Data Management in Microservices Using Node.js
12. Chapter 9: Database Manipulation in Microservices with Node.js 13. Chapter 10: API Communication and Data Contracts in Microservices 14. Chapter 11: Caching and Asynchronous Messaging in Microservices 15. Chapter 12: Ensuring Data Security with the Saga Pattern, Encryption, and Security Measures 16. Part 4: Monitoring and Logging in Microservices with Node.js
17. Chapter 13: Monitoring Microservices in Node.js 18. Chapter 14: Logging in Microservices with Node.js 19. Chapter 15: Interpreting Monitoring Data in Microservices 20. Chapter 16: Analyzing Log Data in Microservices with Node.js 21. Index 22. Other Books You May Enjoy

What this book covers

Chapter 1, Introducing Microservices, introduces you to the microservices architecture. You’ll explore the various benefits of microservices as well as some challenges. Finally, you’ll learn about what it takes for successful implementation of microservices.

Chapter 2, Exploring the Core Principles of Microservices, will take you through the core principles and mindset behind this architectural style to be able to learn to think in microservices, shifting from traditional monolithic thinking.

Chapter 3, Understanding Node.js Fundamentals: Building Blocks and Key Concepts, will take you through the fundamentals of Node.js, providing you with a solid foundation for developing server-side applications, command-line tools, and other JavaScript-based solutions using the Node.js runtime.

Chapter 4, Leveraging the JavaScript and Node.js Ecosystem for Microservices Development, will teach you the importance of using the JavaScript and Node.js ecosystems in microservices development to empower developers, drive innovation, provide extensive resources, and foster collaboration.

Chapter 5, Knowing the Infrastructure of Microservices in Node.js, will introduce you to the infrastructure of microservices in Node.js. You’ll learn about the foundational components and technologies required to build, deploy, and manage a microservices architecture using Node.js. You’ll also learn how to carefully select and integrate these components and tools based on your specific requirements. Finally, you’ll know about some important considerations when designing and implementing the infrastructure for your microservices architecture.

Chapter 6, Designing Microservices Architecture in Node.js, will show you how to design microservices in Node.js by breaking down a monolithic application into smaller, independent services that can be developed, deployed, and scaled individually. Designing microservices involves finding the right balance between granularity and complexity. It’s essential to carefully plan and evaluate your requirements to ensure that microservices provide tangible benefits in terms of scalability, maintainability, and agility.

Chapter 7, Integrating Microservices in Node.js Applications, will teach you how to integrate microservices in Node.js. You’ll learn how to establish communication and coordination between different services to create a cohesive and functioning system. Finally, you’ll explore the specific requirements of your system, the communication patterns that best suit your needs, and the tools and libraries available in the Node.js ecosystem.

Chapter 8, Debugging Microservices in Node.js, will explore how to debug microservices in Node.js, which is considered challenging due to their distributed nature and interaction with other services. You’ll learn how to identify and resolve issues or errors that occur within the services using a systematic and methodical approach, combined with the appropriate tools and techniques.

Chapter 9, Database Manipulation in Microservices with Node.js, will take you through the Create, Read, Update, Delete (CRUD) operations performed on databases or data storage systems to manipulate data in microservices. You’ll know about the best practices for data security based on the requirements of your microservices and compliance standards. By implementing these steps, you can effectively manipulate data within your Node.js microservices and ensure proper interaction with the underlying database or data storage system.

Chapter 10, API Communication and Data Contracts in Microservices, will teach you how to establish a clear contract for data exchange and define the interface through which services interact with each other during communication in microservices through APIs. By following the practices explored, you can establish effective communication between your microservices using APIs to enable decoupling, scalability, and flexibility in your architecture, allowing individual services to evolve independently while maintaining seamless interactions.

Chapter 11, Caching and Asynchronous Messaging in Microservices, will introduce you to two important techniques used in microservices architecture to improve performance, scalability, and decoupling: caching and asynchronous messaging. You’ll learn how to store frequently accessed data in a cache as well as enable loose coupling and scalability in microservices by decoupling services through message queues or publish-subscribe patterns via asynchronous messaging.

Chapter 12, Ensuring Data Security with the Saga Pattern, Encryption, and Security Measures, will introduce you to some essential aspects to consider when designing and implementing microservices: the Saga pattern, data encryption, and security.

Chapter 13, Monitoring Microservices in Node.js, will teach you the importance of monitoring microservices in Node.js for maintaining their health, identifying performance issues, detecting errors, and ensuring overall system reliability. You’ll learn about the metrics that provide quantitative data about the behavior and performance of your microservices. You’ll also learn about alerting, which ensures that you are promptly notified of critical issues or abnormal behavior in your microservices. Finally, you’ll explore some tracing and debugging tools that can help diagnose and troubleshoot issues in your microservices.

Chapter 14, Logging in Microservices with Node.js, will introduce you to a crucial aspect of microservices architecture, logging, which helps capture important information and events within your Node.js services. By implementing effective logging practices in your Node.js microservices, you can improve debugging.

Chapter 15, Interpreting Monitoring Data in Microservices, will show you how to interpret monitoring data in microservices by analyzing the metrics, logs, and other monitoring information to gain insights into the health, performance, and behavior of your Node.js microservices.

Chapter 16, Analyzing Log Data in Microservices with Node.js, will explore interpreting logs in microservices architecture, which involves analyzing the log data generated by your Node.js microservices to gain insights into their behavior, troubleshoot issues, and monitor their health.

lock icon The rest of the chapter is locked
Next Chapter arrow right
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}