Tag Archives: akka-http

Routing DSL in Akka HTTP


In this blog we’ll be discussing about the Routing DSl provided by Akka HTTP High level Server Side API. Akka HTTP provides a very flexible “Routing DSL” for elegantly defining RESTful web services. It picks up where the low-level API leaves … Continue reading

Posted in Akka, akka-http, Scala, Web Services | Tagged , , , , , , , , , , , , , , | 1 Comment

Akka HTTP vs Other REST API Tools


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 … Continue reading

Posted in Akka, akka-http, Play Framework, Scala | Tagged , , , , , , , | 1 Comment

Say Hello to “Akka-Http”


Hello folks, Hope you are enjoying your coding days!!! in this blog, I will explain a cool technology named Akka-Http which i have recently explored in my coding days!! Introduction The Akka HTTP implements a full server- and client-side HTTP stack … Continue reading

Posted in Scala | Tagged , , , | 1 Comment

Neo4j With Scala: Rest End Points with AKKA HTTP


Hello Folks, Welcome back again in the series of Neo4j with Scala . Let’s start our journey again. But before starting our journey here is the links for recap who join late us in the journey : Getting Started Neo4j … Continue reading

Posted in akka-http, Scala, scalatest | Tagged , , | 1 Comment

Document generation of Akka-HTTP using Swagger


Hello All, In this blog we are using Swagger to generate document of Akka-HTTP. For Swagger you can get more information from  Introduction to Swagger . For Akka you can get more information from Introduction to Akka-Http You can find … Continue reading

Posted in Akka, akka-http, Scala, Swagger | Tagged , , , | 3 Comments

Handling HTTPS requests with Akka-HTTPS Server


Hi guys, In my last blogs I explained how one can create a self-signed certificate and KeyStore in PKCS12. You can go through the previous blog, as we’ll be needing certificate and keystore  for handling HTTPS requests. https://blog.knoldus.com/2016/10/18/create-a-self-signed-ssl-certificate-using-openssl/ https://blog.knoldus.com/2016/10/26/how-to-create-a-keystore-in-pkcs12-format/ Akka-HTTP provides both Server-Side and … Continue reading

Posted in Akka, akka-http, Scala, Security, Security Audit, Security Checklist, Security Controls, Security Guidelines | Tagged , , , , , , , , , , , , , , , , , , , | 4 Comments

Cassandra with Spark 2.0 : Building Rest API !


In this tutorial , we will be demonstrating how to make a REST service in Spark using Akka-http as a side-kick  😉  and Cassandra as the data store. We have seen the power of Spark earlier and when it is … Continue reading

Posted in Akka, akka-http, apache spark, Cassandra, Scala, scalatest, Spark | Tagged , , , , , , , , , , , , , | 2 Comments

A Simple Example of WebSocket based Microservice Architecure using Akka-HTTP in Scala


In my previous blog, I explained how you can implement WebSocket server using Akka-HTTP. As you know,  Microservice architecture has become very popular in recent years. This architecture fits perfect 1) When you want to give support of your application … Continue reading

Posted in Akka, akka-http, Scala, Web Services, websocket | Tagged , , , , | Leave a comment

Scala, Couchbase, Spark and Akka-http: A combinatory tutorial for starters


Couchbase and Apache Spark are best so far , for the in-memory computation. I am using akka-http because its new in the business. If you are not a big fan of akka-http and don’t think it is yet ready for production … Continue reading

Posted in Akka, akka-http, apache spark, couchbase, Future, Scala, Spark | Tagged , , , , , , | 6 Comments

Akka-http Logging: Logging the Response Time of the Rest API


Sometimes while developing REST API’s we want to log the response time of  our REST APi for the sake of better tuning. We are going to discuss the same case here and will see how to do that in Akka-http … Continue reading

Posted in Akka, akka-http, Scala | Tagged , , , , , | 2 Comments