For my aunts
Welcome toDesigning Microservices with Django . I decided to grab a pen and write this book because it was quite difficult for me to find easily digestible guides on how to design microservices, including some of the problems I might face along the way and the potential solutions to them.
I kick off this book by clarifying some of the terminology regarding service design. Together, we look at a couple of anecdotes that will help us understand the benefits and drawbacks of certain systems.
After that, we dive into Django development and develop an application for ourselves that we talk about later in the book. We examine various high-level concepts such as templates and view functions, in addition to lower level ones, such as permissions and user management.
Now armed with knowledge of Django development, we delve deeply into the different types of microservices and the high-level design principles we should follow when we design them. We also take a look at communication principles, such as REST (from the synchronous world) and AMQP (from the asynchronous world), to achieve an understanding of how these protocols work and which ones solve which sorts of problems.
Armed with microservice design knowledge, we study the methodologies and techniques of migrating code into smaller systems.
To close, we look at how we can scale our development by making tools that make microservices possible to all developers in a company. I hope you are excited about this journey. I certainly am; so let’s get started!
Writing down thoughts and creating a book is quite a difficult endeavor, and it requires a lot of people and luck to get it done. Luckily, I’ve had both on my side.
This is the place where I thank the entire Django community for being there and developing the basis of this book. Thank you! Stay awesome!
A thank you is in order to the publisher for helping me along the way and making sure I kept progressing even when I felt like no progress was being made. Thank you.
A big thank you is in order for the technical reviewers, Balázs and Csaba. They kept me focused and gave me great feedback on the direction and the contents of the book. They also aided me throughout my career to get to this point, for which I will always be grateful. Thank you! You are truly my friends.
I thank my friends here in Berlin and back in Budapest who kept me sane and pushed me through all the creative blocks I had throughout the writing process, even when I needed you to pay for the beer. Thank you. You know who you are.
Thanks need to go to my family as well, who encouraged me to follow my dreams and pushed me through difficult times in my life. Thanks Mom, Dad, and Zalán. I’m lucky to have you in my life.
is a software engineer and technical lead. After receiving his degree in computer science, he started his career as a consultant and soon became a product developer at a well-known Hungarian startup, later moving to Berlin to dive into the local tech scene and to broaden his back-end architecture design experience. Throughout his career, he worked in areas such as front-end and back-end development, integrations, data streaming, and systems design. Occasionally, he shares his knowledge in various forums, such as technical conferences, his blog, . . . or a book.
is a technical lead and software engineer, and former mentor of the author. After studying financial software development, he committed to the sector and expanded his knowledge as a Java developer. Later, he moved to China to extend his knowledge in agile development practices. There, he fell in love with Python, which he has been working with ever since. Today he leads a team of developers to deliver tooling to create a more pleasant experience for dozens of engineers at his company.
is a technology enthusiast, former software engineer, and current engineering manager. After leaving school, he started working for various Hungarian companies, eventually becoming the chief technical officer of one of the biggest Hungarian retail web sites. Pursuing his passion of people and tech, he moved into the startup scene and became an engineering manager, first of the author, then for the infrastructure team of a successful content management system in Berlin.
18.119.107.96