Book description
Venture into microservices with Node.js, uncovering step-by-step roadmaps, insightful demonstrations, and cutting-edge techniques to build robust web applications
Key Features
- Explore microservices architecture and implement it using Node.js for robust web applications
- Follow clear, practical examples and real-world use cases to apply your knowledge and build your skills
- Excel in the world of software development and tackle complex challenges with confidence
- Purchase of the print or Kindle book includes a free PDF eBook
Book Description
– Immerse yourself in the world of microservices with this guide to migration from a monolithic architecture to microservices.
– With this book, you’ll acquire a deep understanding of microservices architecture and apply it confidently in your web application projects.
– As you progress, you’ll be guided through the process of creating a simple application and incorporating the Node.js framework into it, along with its commonly used libraries.
– You’ll learn how the framework operates, how to configure it, and how to develop handlers for the web framework and explore how to deploy your application to a production server.
– Get to grips with the intricacies of JavaScript and Node.js and find out how to approach microservices in Node.js, implement them effectively, and integrate RESTful APIs.
– Gain insights into service-to-service authentication and authorization and learn how to work with databases and caching, as well as with monitoring and logging in microservices with Node.js.
– By the end of this microservices book, you’ll be able to develop a web app using the Node.js framework, configure it, extend it using libraries available for this framework, and launch it using best practices.
What you will learn
- Design domain-oriented microservices using domain-driven design (DDD)
- Understand collaboration techniques for inter-microservice communication and learn how to design an API gateway
- Automate microservice integration and deployment
- Split a monolith safely into microservices and understand how to test microservices effectively
- Use and implement microservices in Kubernetes and Docker environments
- Get to grips with best practices for maintaining microservices at scale
Who this book is for
– This book is for backend developers, full-stack developers, software architects, and frontend developers who want to venture into the world of backend development and extend their capabilities. – A fundamental understanding of the JavaScript ecosystem will be helpful but not necessary, as this book will cover the essentials of backend development, JavaScript programming, and Node.js.
Table of contents
- Building Microservices with Node.js
- Contributors
- About the author
- About the reviewer
- Preface
- Part 1: Understanding Microservices and Node.js
- Chapter 1: Introducing Microservices
-
Chapter 2: Exploring the Core Principles of Microservices
- Overview of the core principles of microservices
- Understanding the fundamentals and identifying business capabilities
- Defining service contracts and decentralized decision making
- Prioritizing autonomy and ownership and designing for resilience
- Implementing communication strategies and ensuring scalability
- Implementing observability and continuously learning and improving
- Summary
- Quiz time
-
Chapter 3: Understanding Node.js Fundamentals: Building Blocks and Key Concepts
- Asynchronous and non-blocking communication and event-driven architecture
- The JavaScript ecosystem and server-side development
- Command-line applications and scalability and performance
- Cross-platform compatibility and community and support
- Microservices and serverless architectures and their integration through APIs
- Summary
- Quiz time
-
Chapter 4: Leveraging the JavaScript and Node.js Ecosystem for Microservices Development
- Vast package management and developer productivity
- Community support and collaboration, and rapid innovation and updates
- Versatility and full stack development, and cross-platform compatibility
- Integration and interoperability and support for modern web standards
- Enterprise adoption and industry maturity and ecosystem growth and innovation
- Summary
- Quiz time
- Part 2: Building and Integrating Microservices with Node.js
- Chapter 5: Knowing the Infrastructure of Microservices in Node.js
- Chapter 6: Designing Microservices Architecture in Node.js
- Chapter 7: Integrating Microservices in Node.js Applications
- Chapter 8: Debugging Microservices in Node.js
- Part 3: Data Management in Microservices Using Node.js
- Chapter 9: Database Manipulation in Microservices with Node.js
- Chapter 10: API Communication and Data Contracts in Microservices
- Chapter 11: Caching and Asynchronous Messaging in Microservices
-
Chapter 12: Ensuring Data Security with the Saga Pattern, Encryption, and Security Measures
- Compensating actions and Saga orchestration
- Event-driven communication and Sagas with state
- Transport layer security (TLS) and data encryption at rest
- Encryption algorithms and key management
- Authentication, authorization, input validation, secure coding practices, and API rate limiting
- Summary
- Quiz time
- Part 4: Monitoring and Logging in Microservices with Node.js
- Chapter 13: Monitoring Microservices in Node.js
- Chapter 14: Logging in Microservices with Node.js
- Chapter 15: Interpreting Monitoring Data in Microservices
-
Chapter 16: Analyzing Log Data in Microservices with Node.js
- Log levels and severities
- Request tracing, contextual information, and event sequencing and order
- Log format, structured logging, and log filtering and search
- Log aggregation, centralized log management, visualization, and log analysis tools
- Correlation of log data with metrics and monitoring data
- Summary
- Quiz time
- Final words
- Index
- Other Books You May Enjoy
Product information
- Title: Building Microservices with Node.js
- Author(s):
- Release date: May 2024
- Publisher(s): Packt Publishing
- ISBN: 9781838985936
You might also like
book
Distributed Systems with Node.js
Many companies, from startups to Fortune 500 companies alike, use Node.js to build performant backend services. …
book
Modern Frontend Development with Node.js
Enhance your web development projects by fully leveraging Node.js concepts, tools, and best practices at frontend …
book
Node.js Web Development
Build scalable web applications using Node.js, Express.js, and the latest ECMAScript techniques, along with deploying applications …
book
Microservices with Go
Build, scale, and maintain microservices in Golang with ease. Key Features Create and organize well-structured Go …