Sergey Mashkov 48e94a1978 ktor: upgrade ktor to 0.9.1 (#3218) 7 years ago
..
.mvn 77fcaa8968 Ktor: update benchmark (#2834) 8 years ago
src 7d264277b5 Upgrade ktor version and add "Coroutine IO" (CIO) engine variant (#3200) 7 years ago
README.md 7d264277b5 Upgrade ktor version and add "Coroutine IO" (CIO) engine variant (#3200) 7 years ago
benchmark_config.json 7d264277b5 Upgrade ktor version and add "Coroutine IO" (CIO) engine variant (#3200) 7 years ago
mvnw 54a847e2b6 Kotlin ktor framework (#2669) 8 years ago
pom.xml 48e94a1978 ktor: upgrade ktor to 0.9.1 (#3218) 7 years ago
setup-cio.sh 7d264277b5 Upgrade ktor version and add "Coroutine IO" (CIO) engine variant (#3200) 7 years ago
setup-jetty.sh b06047d472 Update ktor dependencies, do minor cleanup (#3102) 7 years ago
setup-netty.sh b06047d472 Update ktor dependencies, do minor cleanup (#3102) 7 years ago

README.md

Ktor

Ktor is a framework for building servers and clients in connected systems using Kotlin programming language. More information is available at ktor.io.

Setup

  • Java 8
  • MySQL server

Requirements

  • Maven 3
  • JDK 8
  • Kotlin
  • ktor
  • netty
  • hikariCP

Maven is downloaded automatically via Maven Wrapper script (mvnw), add dependencies are specified in pom.xml so will be downloaded automatically from maven central and jcenter repositories.

Deployment

Run maven to build a bundle

./mvnw package

Once bundle build complete and mysql server is running you can launch the application

java -jar target/tech-empower-framework-benchmark-1.0-SNAPSHOT.jar

Please note that the server holds tty so you may need nohup. See setup.sh for details.

Contact

Sergey Mashkov

Ilya Ryzhenkov

Slack ktor channel https://kotlinlang.slack.com/messages/ktor (you need an invite to join)