Introduction
Spring Boot是后端服务的标准框架。 我编写的每个后端服务都在带有Spring Boot的Kotlin中。 与Kotlin相比,我更喜欢Kotlin,因为Kotlin不太冗长,更简洁。 Kotlin社区正在构建更多框架。 克托就是其中之一。 什么是Ktor?
Ktor is a framework for building asynchronous servers and clients in connected systems using the powerful Kotlin programming language.
— Ktor.io
Research Questions
在本系列中,我们将探索Ktor并将其与简单的Spring Boot服务进行比较。 在这次冒险中,有许多问题需要回答:
- Ktor应用程序相对于Spring Boot应用程序的性能如何?What are the resource characteristics of both? 吞吐量是多少?CPU使用率是多少?内存使用量是多少?服务增长时的复杂性是什么?相互比较的编码约定是什么?与Spring Boot相比,Ktor框架的稳定性如何?
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 beentjes.me.
Feedback
这是我开始提高写作技巧的系列文章中的第一篇。 我感谢任何反馈,以改善我的写作和系列本身。 请随时通过社交媒体或在这里与我联系!