Tag Archives: akka-http

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

Upgrade your Spark REST Server with Akka HTTP & Spark 2.0


About an year ago, in one of our blog – Spark with Spray Starter Kit we explained about creating REST Services with Spark and Spray. But, from past one year there has not been much development on Spray which tells us that … Continue reading

Posted in akka-http, Scala, Spark | Tagged , , | Leave a comment

A simple example to implement WebSocket server using Akka HTTP


This is a very simple example to implement WebSocket server using Akka HTTP. If we have the scenario to transfer real time data from and to server over a HTTP connection, we use WebSocket. Akka provides Akka HTTP library to … Continue reading

Posted in Akka, Scala, Web Services | Tagged , , , , | 1 Comment