SHAREDKtor 3.0 switches to kotlinx.io library

Ktor 3.0 switches to kotlinx.io library

Ktor 3.0 switches to kotlinx.io library

Ktor 3.0, the latest version of the Kotlin-based framework for building asynchronous client- and server-side applications, is now available. Ktor 3.0 switches to the kotlinx.io library for handling data sources. The release also highlights support for server-sent events (SSE).

The JetBrains Ktor 3.0 technology, announced October 10, can be accessed from start.ktor.io. The biggest change in version 3.0 is the switch to the kotlinx.io multiplatform library. This library offers a multiplatform API that can handle data sources and provides capabilities including working with files, using compression, and more. The kotlinx.io library also cuts down on unnecessary copying of bytes between ByteReadChannel, ByteWriteChannel, and network interfaces. This allows for more efficient byte transformations and parsing, thus making room for future performance improvements.

SSE is also now supported for both the server and the client. With SSE, servers push clients over an HTTP connection and SSE provides a one-way communication channel. This approach is useful for scenarios where the server needs to send event-based updates without needing the client to repeatedly poll for new information.

Latest news

True multithreading in Python at last!

This (half-) month in Python and elsewhere: Python 3.13’s “no-GIL” or “free-threaded” version is out, and you can try...

Monthly Cloud News Roundup: October 2022

Monthly Cloud News Roundup: October 2022 By WatServ November 1, 2022 October was Cybersecurity Awareness Month. In this month’s roundup, we look...

Reflecting on Laracon US 2024: Our Key Takeaways

Attending Laracon US 2024 in Dallas was a fantastic experience for our InMotion Hosting team. It gave us a...

5 Ways GPU is Utilized in Private Cloud

5 Ways GPU is Utilized in Private Cloud GPUs (Graphics Processing Units) are increasingly being utilized in cloud services due...

Top-Level Domain | Websiteroof

What is TLD Domain? The TLD, short for a top-level domain, is the last part of a domain name –...

Silvio Di Benedetto – Veeam Backup & Replication 12.1.1.56

News Last Updated: January 22, 2024 5 Min Read During the end of this...

Must read

Top 10 CIO Trends for 2019

As we get ready to close out 2018 and...

Are the cloud wars over or just getting started?

One of the biggest opportunities for enterprises large and...

You might also likeRELATED
Recommended to you