LOADING

Turbocharging web socket integration for Tapir

We managed to alleviate almost entirely the slowdown induced by Tapir in a web socket server. The journey towards this goal was quite insightful, and we would like to share it with you.

Kamil Kloch
About This Talk

We love to use Tapir for the rapid development of Web APIs. Recently, we noticed it considerably impacted the performance of a web socket server (increased latency, lower throughput, heightened CPU usage). We managed to alleviate the slowdown almost entirely (reducing the overhead to a minimum - much less latency and CPU usage, greater throughput - performance rivalling a plain cats-effect/http4s/fs2 stack). The journey towards this goal was quite insightful, and we would like to share it with you.
In particular, we will cover async-profiler, introduce you to some high-level concurrency combinators of the fs2 library and show some surprising benchmarks.

Let the results be a testament to the JVM’s excellent tooling and a proof that one can use high-level Scala libraries like Tapir without compromising on overall performance.

more great talks

Might Be Interesting

Day 1
  —  
4:00 pm
arrow pointing right icon

Minimize your Python Discomfort: A tour of NLP with Spacy, ScalaPy, and Scala 3

In this talk, I will show how you can use ScalaPy to leverage an excellent NLP library like Spacy, minimizing your discomfort of using Python, and enhancing your comfort with Scala 3 for the remaining parts of your application.

Day 1
  —  
5:00 pm
arrow pointing right icon

Exploring Build Caching: A Practical Overview

In this talk, we will start with the basics, understanding what build caching is and why it can be a bit tricky to handle in real projects.

Day 1
  —  
3:30 pm
arrow pointing right icon

Diamond Architecture: lessons learned

The talk explores the recursive structure of Diamond Architecture.

Day 1
  —  
5:30 pm
arrow pointing right icon

Generative Art with Scala, No AI Required

In this talk, we will demonstrate some elegant applications of functional programming in Scala, with even more elegant visual results - all with live code and real-time output.

See All Events
Join us!

We're looking for amazing speakers.
CFP is open till 10.01.2023

Fill in Call for Papers
location icon

Location

Centrum Konferencyjne POLIN, Poland
stay in touch icon

Follow Us

Contact Us