Ktor - Framework for quickly creating connected applications in Kotlin with minimal effort

  •        485

Ktor is a framework for quickly creating web applications in Kotlin with minimal effort.Ktor Framework doesn't impose a lot of constraints on what technology a project is going to use – logging, templating, messaging, persistent, serializing, dependency injection, etc. Sometimes it may be required to implement a simple interface, but usually it is a matter of writing a transforming or intercepting function. Features are installed into application using unified interception mechanism which allows building arbitrary pipelines.

Ktor Application can be hosted in any servlet container with Servlet 3.0+ API support such as Tomcat, or standalone using Netty or Jetty. Support for other hosts can be added through the unified hosting API. Ktor pipeline machinery and API is utilising Kotlin coroutines to provide easy-to-use asynchronous programming model without making it too cumbersome. All host implementations are using asynchronous I/O facilities to avoid thread blocking.

http://ktor.io
https://github.com/ktorio/ktor

Tags
Implementation
License
Platform

   




Related Projects

Xenon - Decentralized Control Plane Framework

  •    Java

Xenon is a framework for writing small REST-based services. (Some people call them microservices.) The runtime is implemented in Java and acts as the host for the lightweight, asynchronous services. The programming model is language agnostic (does not rely on Java specific constructs) so implementations in other languages are encouraged. The services can run on a set of distributed nodes. Xenon provides replication, synchronization, ordering, and consistency for the state of the services. Because of the distributed nature of Xenon, the services scale well and are highly available.

Grails - A Powerful Groovy-Based Web application framework for the JVM built on top of Spring Boot

  •    Groovy

Grails is a web framework, for the JVM, built on top of Spring Boot. It leverages many features such as Spring-Powered dependency injection. It seamlessly and transparently integrates and interoperates with Java, the JVM, and existing Java EE containers.

Serve the web – HTTP server framework

  •    Rust

Tide is a friendly HTTP server built for casual Rustaceans and veterans alike. It's completely modular, and built directly for async/await. Whether it's a quick webhook, or an L7 load balancer, Tide will make it work. Each Tide endpoint takes a Request and returns a Response. Because async functions allow us to wait without blocking, this makes Tide feel similar to synchronous servers. Except it's incredibly efficient.

Javalin - A Simple REST API Library for Java / Kotlin

  •    Kotlin

Javalin is a very lightweight web framework for Kotlin and Java, inspired by Sparkjava and koa.js. Javalin is written in Kotlin with a few functional interfaces written in Java. This was necessary to provide an enjoyable and near identical experience for both Kotlin and Java developers.

Micro — Asynchronous HTTP microservices

  •    Javascript

Micro is an asynchronous HTTP microservices. It is designed for usage with async and await. It does not have middleware, With all dependencies, the package weighs less than a megabyte.


Async Task Framework

  •    DotNet

The Async Tasks framework provides a light weight easy to use asynchronous framework, which allows for asynchronous execution of tasks and provides notification of different events throughout the life-cycle of the task. The framework is developed in C# and .NET 4.

Kyoukai - [OLD] A fully async web framework for Python3.5+ using asyncio

  •    Python

This project will not be getting any more updates. Kyōkai is a fast asynchronous Python server-side web framework. It is built upon asyncio and the Asphalt framework for an extremely fast web server.

RESTX - the lightweight Java REST framework

  •    Java

RESTX is the lightweight, modular, feature rich, blazing fast, open source Java REST framework. It shares similarities with modern frameworks like Play! like hot compile and a very productive experience, but focused on REST and pure Java.

ffead-cpp - Framework for Enterprise Application Development, c++ framework, c++ web framework, c++ application framework, c++ rest framework, c++ soap framework, c++ web sites,c++ web applications, c++ driven web development - c++

  •    C++

ffead-cpp is a web-framework, application framework, utilities all bundled into one. It also provides an embedded HTTP/HTT2/Web-Socket compliant high-performance server core. It is a collection of modules all geared towards performing individual roles which together form the cohesive back-bone of ffead-cpp. It provides a very simple to use and maintain web-framework library with advanced features like Reflection, Dependency Injection (IOC), Inbuilt REST/SOAP support, Security/Authentication features. Moreover implementation for interfacing to caching tools like Memcached/Redis are provided in-built. Database integration/ORM framework (SDORM) solves all major issues with respect to interfacing with SQL/No-SQL database alike.

Rocket - A web framework for Rust

  •    Rust

Rocket is an async web framework for Rust with a focus on usability, security, extensibility, and speed. It helps to create and return potentially infinite async streams of data with ease, View, add, or remove cookies, with or without encryption, without hassle, It makes templating a breeze with built-in templating support, Rocket typechecks route URIs for you so you never mistype a URI again.

Ratpack - A toolkit for JVM web applications

  •    Java

Ratpack is a set of Java libraries for building modern HTTP applications. It provides just enough for writing practical, high performance, apps. It is built on Java 8, Netty and reactive principles. It is similar to NodeJS, helps to implement non blocking HTTP apps in Java.

FastAPI - Web framework for building APIs with Python

  •    Python

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python 3.6+ based on standard Python type hints. It uses OpenAPI for API creation, including declarations of path operations, parameters, body requests, security, etc. It produces interactive API documentation and exploration web user interfaces.

Drogon - C++14/17 based HTTP Web Application Framework

  •    C++

Drogon is a C++14/17-based HTTP application framework. Drogon can be used to easily build various types of web application server programs using C++.It uses Use a non-blocking I/O network lib based on epoll high-concurrency, high-performance network IO, Completely asynchronous programming mode, HTTPS, WebSocket, Json format, gzip, brotli compression and lot more.

wasabi - An HTTP Framework

  •    Kotlin

tl;dr We are merging with Ktor. Ktor and Wasabi both have the same goals - define a simple, extensible HTTP framework for the JVM, built with Kotlin. Wasabi was created before Ktor and Ktor is influenced significantly by Wasabi. The recent commitment by the core team (@swishy and @hhariri) has unfortunately been impacted due to other commitments and we've decided that the best way to move forward is to join efforts with the #Ktor team to provide the best possible experience for our users. Given Wasabi and Ktor similarity, migration shouldn't be an issue and both the Wasabi team as well as the Ktor team are here to help (reach out to us on Kotlin Slack).

Spark - A simple expressive web framework for java

  •    Java

Spark is a micro framework for creating web applications in Kotlin and Java 8 with minimal effort. It is a simple and expressive Java/Kotlin web framework DSL built for rapid development. Sparks intention is to provide an alternative for Kotlin/Java developers that want to develop their web applications as expressive as possible and with minimal boilerplate. With a clear philosophy Spark is designed not only to make you more productive, but also to make your code better under the influence of Spark’s sleek, declarative and expressive syntax.

kotlinconf-app - KotlinConf Schedule Application

  •    Kotlin

This is the official KotlinConf App! We hope you enjoy(ed) the conference and sessions. This repository contains the source code of the application. KotlinConf App is connecting to the server running in the cloud to get information about sessions, speakers, favorites and votes. It is developed using Ktor, an asynchronous Kotlin web framework.

dropwizard - A damn simple library for building production-ready RESTful web services.

  •    Java

Dropwizard is a Java framework for developing ops-friendly, high-performance, RESTful web services. It pulls together stable, mature libraries from the Java ecosystem into a simple, light-weight package that lets you focus on getting things done.

vibora - Fast, asynchronous and elegant Python web framework.

  •    Python

Disclaimer: Still at an early stage of development. Rapidly evolving APIs. Check it out at Vibora docs website.

swoft - ⚡️ Modern High performance AOP and Coroutine PHP Framework, base on Swoole

  •    PHP

The first high-performance PHP coroutine full-stack componentization framework based on Swoole native coroutine, built-in coroutine web server and commonly-used coroutine client, resident memory, which has no dependency on PHP-FPM, asynchronous non-blocking IO implementation, similar to synchronous client style of writing to achieve the use of asynchronous clients, without complex asynchronous callback, no tedious yield, similar Go language coroutines, flexible annotations framework, a powerful global dependency injection container base on annotations, and great service governance , flexible and powerful AOP, PSR specification implementation, etc., could be used to build high-performance Web systems, APIs, middleware, basic services, microservice and so on. Chinese Document English Document Not yet, please help us write it.

Grizzly - NIO Event Development in Java

  •    Java

The Grizzly NIO framework has been designed to help developers to take advantage of the Java NIO API. Grizzlys goal is to help developers to build scalable and robust servers using NIO as well as offering extended framework components: Web Framework (HTTP/S), WebSocket, Comet, and more!






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.