Akka HTTP vs Other REST API Tools

Knoldus

Hi Folks !

Lately there have been a lot of tools that allow us to build rest APIs like the following :

  • Akka Http
  • Play
  • Scalatra
  • http4s
  • Finch
  • Spray

In my blog today, I will be discussing Akka Http and its counterparts(competitors) in terms of their advantages, disadvantages, performance and use cases.

Let us begin comparsion of Akka-Http with Scalatra.

Scalatra is a thread based,it works by handling servlets and requires servlet container like jetty to run, it can delegate work to akka as per its documentation.On the other hand akka-http is actor per request, and it doesn’t require a container and writing actor model code is more natural pattern. In terms of DSL, Both have comparably easy and well written DSLs for writing routes.

Comparing in terms of performance it has been noted and well established in practise that akka-http application behaves much better than scalatra and continue to…

View original post 567 more words

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s