DEV Community

Martin Beentjes
Martin Beentjes

Posted on

Trying out Ktor as a Spring Developer - The beginning


Spring Boot is the standard framework for backend services. Every backend service I write is in Kotlin with Spring Boot. I prefer Kotlin over Java because Kotlin is less verbose and much more concise. From the Kotlin community, more frameworks are being built. Ktor is one of them. What is Ktor?

Ktor is a framework for building asynchronous servers and clients in connected systems using the powerful Kotlin programming language.

Research Questions

In this series we are going to explore Ktor and compare it to a simple Spring Boot service. In this adventure, there are many questions to be answered:

  • What is the performance of a Ktor application versus a Spring Boot application?
  • What are the resource characteristics of both?
    • What is the throughput?
    • What is the CPU usage?
    • What is the memory usage?
  • What is the complexity when services grow?
  • What are the coding conventions compared to each other?
  • What is the stability of the Ktor framework compared to Spring Boot?

Follow the series

Come along this adventure of exploring Ktor and seeing how it works and performs. I will post tweets regarding this on my twitter handle @martinbeentjes. I also will be sharing projects on GitHub when finished.

This is a cross-post from my blog at


This is the first article in a series I am starting to develop my writing skills. I appreciate any feedback to improve my writing and the series itself. Feel free to contact me on social media or here!

Top comments (2)

mochadwi profile image
Mochamad Iqbal Dwi Cahyo

Followed you now! Is there any hashtags for specific tweets about this series? It's a little bit hard to scroll through your other post though 🙏

itsraghz profile image
Raghavan alias Saravanan Muthu

Very interesting Martin. Love to hear from you more on this space.