Through the course of this chapter, we got to learn about the different ways through which we can build our web application to handle a large number of concurrent requests. We started off by understanding and learning about the different scaling techniques, such as vertical scaling and horizontal scaling, and learned about the different pros and cons of each technique. We then further dived into the topics to help us improve the ability of the web application itself to process a higher number of requests. This led us to a journey into the use of resource pools and why it is a good idea to use resource pooling instead of arbitrarily allocating the resources for every new request that arrives at the web application. Further on in the journey, we got to know about the asynchronous way of dealing with the incoming requests and why the asynchronous mechanism is better suited for higher scalability in the case of web applications which are more I/O bound. We ended our discussion on scaling...
Hands-On Enterprise Application Development with Python
By :
Hands-On Enterprise Application Development with Python
By:
Overview of this book
Dynamically typed languages like Python are continuously improving. With the addition of exciting new features and a wide selection of modern libraries and frameworks, Python has emerged as an ideal language for developing enterprise applications. Hands-On Enterprise Application Development with Python will show you how to build effective applications that are stable, secure, and easily scalable.
The book is a detailed guide to building an end-to-end enterprise-grade application in Python. You will learn how to effectively implement Python features and design patterns that will positively impact your application lifecycle. The book also covers advanced concurrency techniques that will help you build a RESTful application with an optimized frontend. Given that security and stability are the foundation for an enterprise application, you’ll be trained on effective testing, performance analysis, and security practices, and understand how to embed them in your codebase during the initial phase. You’ll also be guided in how to move on from a monolithic architecture to one that is service oriented, leveraging microservices and serverless deployment techniques.
By the end of the book, you will have become proficient at building efficient enterprise applications in Python.
Table of Contents (24 chapters)
Title Page
Copyright and Credits
About Packt
Contributors
Preface
Free Chapter
Using Python for Enterprise
Design Patterns – Making a Choice
Building for Large-Scale Database Operations
Dealing with Concurrency
Building for Large-Scale Request Handling
Example – Building BugZot
Building Optimized Frontends
Writing Testable Code
Profiling Applications for Performance
Securing Your Application
Taking the Microservices Approach
Testing and Tracing in Microservices
Going Serverless
Deploying to the Cloud
Enterprise Application Integration and its Patterns
Microservices and Enterprise Application Integration
Assessment
Other Books You May Enjoy
Index
Customer Reviews