Kotlin isn't limited to client-side applications and, in this chapter, we will examine the use of Kotlin on the backend. We'll explore the concept of a microservices architecture and how it can help build scalable and maintainable applications. We'll see how Kotlin fits in to that microservices architecture and ecosystem, illustrating where you will be able to apply existing Kotlin knowledge to the development of backend services. And finally, we'll learn how to start using Kotlin to write our own microservices by building our own simple microservice using Ktor, a Kotlin-based framework for building both server- and client-side code.
The following topics will be covered in this chapter:
- Understanding microservices
- Writing microservices with Kotlin
- Deploying your first Kotlin microservice