Skip to Content
Hands-On Software Engineering with Golang
book

Hands-On Software Engineering with Golang

by Achilleas Anagnostopoulos
January 2020
Intermediate to advanced
640 pages
16h 56m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Golang

Deploying the web crawler

The crawler service deployment will use the same partition detection logic that the monolithic implementation from the previous chapter did. Consequently, we will be deploying two instances of the crawler service as a Kubernetes Stateful set, which guarantees that each pod will be assigned a predictable hostname that includes the pod's ordinal in the set.

In addition, we will be creating a headless Kubernetes service that will populate the SRV records for the crawler pods and allow the partition detection code to query the total number of available pods.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781838554491Supplemental Content