Reader small image

You're reading from  Hands-On Microservices with Django

Product typeBook
Published inMay 2024
PublisherPackt
ISBN-139781835468524
Edition1st Edition
Right arrow
Author (1)
Tieme Woldman
Tieme Woldman
author image
Tieme Woldman

Tieme Woldman works as a freelance Python developer and technical writer. As a Python developer, he builds web and data engineering applications with Django and Python data transformation packages such as pandas. As a technical writer, he has written software and user documentation for software companies such as Instruqt, Noldus Information Technology, and Rulecube. Tieme lives in the Netherlands, has a bachelor's degree in computer science, and holds several (technical) writing certifications.
Read more about Tieme Woldman

Right arrow

Creating and running asynchronous tasks

We’ll continue the development of our Django microservices application by building the actual microservices for matching addresses and sending emails, which will run as asynchronous tasks called by the Django subscription app. This is where the Django app and microservices sit in the overview of the application:

Figure 6.7 – The position of the app and microservices in the sample application

Figure 6.7 – The position of the app and microservices in the sample application

The Django subscription app will display a form where users subscribe and enter their addresses. When the user finishes entering, the app offloads a task to match the entered address to existing base addresses to a microservice. This microservice utilizes our RESTful API to retrieve all addresses and add a new address, and it offloads the task of sending a confirmation email to another microservice.

Important note

In our sample application, one microservice will offload a task to another microservice. If we...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Hands-On Microservices with Django
Published in: May 2024Publisher: PacktISBN-13: 9781835468524

Author (1)

author image
Tieme Woldman

Tieme Woldman works as a freelance Python developer and technical writer. As a Python developer, he builds web and data engineering applications with Django and Python data transformation packages such as pandas. As a technical writer, he has written software and user documentation for software companies such as Instruqt, Noldus Information Technology, and Rulecube. Tieme lives in the Netherlands, has a bachelor's degree in computer science, and holds several (technical) writing certifications.
Read more about Tieme Woldman