akka-http

Akka-Http Marshalling and Unmarshalling in JAVA

Reading Time: 3 minutes Hello folks! In today’s HTTP request/response world, we may get different types of data from a client side application which we need to process and send an appropriate response. This may get a bit of a mess. To solve this, we can use the marshalling and unmarshalling feature of Akka-Http for easier conversion of theses data. In this blog, we will be looking how to Continue Reading

Getting Started With Akka Http Cache

Reading Time: 3 minutes To build a rest point application, there are many options available like Akka Http, Finagle, Play Framework, Lagom etc. In our project, we are using Akka HTTP for building rest applications. We have lots of requests related to analytics. There are many requests which are very expensive. So, we faced an issue where our application was taking time to respond to some analytics. We have Continue Reading

Trying to use form field and file upload directive together in Akka-Http?

Reading Time: 2 minutes If you are reading this then probably you have encountered the issue that comes while accessing fields with uploading a file, and if not then let me first tell you what’s the situation that I’m talking about here, Let’s see the code where we try to use fileUpload directive and formFields together

Mocking Methods for Testing Akka Http Routes

Reading Time: 2 minutes Hey folks, in this blog I am going to explain how to write unit test cases for the routes in Akka Http. First and foremost the test cases should not hit our backend logic, remember that we are only testing our routes, routes basically form the controller layer in our application. They control the request/response cycle. They tell that which business logic should respond to Continue Reading

Authentication in Akka-Http

Reading Time: 2 minutes Hi All, In this blog, I will try to explain what is Authentication and why we need this and how you can do authentication in Akka HTTP What is Authentication:- Authentication is the process of establishing a known identity for the user, whereby ‘identity’ is defined in the context of the application. This may be done with a username/password combination, a cookie, a pre-defined IP or Continue Reading

Do you know Akka-HTTP Cache?

Reading Time: 3 minutes Today we are to going to talk about a very important aspect of reactive web applications development. It’s not from the alien world, we always talk about it but we rarely want to deal with it. It’s Cache. In today’s mammoth scalable architecture, we are mostly surrounded by big design issues and somewhere here and there we neglect benefits of using a very useful concept Continue Reading

Lagom

Lagom 1.4: What’s new?

Reading Time: 7 minutes Lagom is a reactive microservice framework, which is increasingly becoming the go-to solution for building a microservice-based architecture for industry-wide services. In case you still haven’t heard of it, this blog post will not only familiarize you with the idea behind Lagom but will also walk you through some history of Lagom since its 1.0 launch, what’s new in the latest stable release, and some Continue Reading

Store Semantic Web Triples into Cassandra

Reading Time: 2 minutes The semantic web is the next level of  Web Searching where data is more important and it should be well defined. The semantic web is needed for making the web search more intelligent and intuitive to get the user’s requirement. You all can find some interesting point on the Semantic Web here. Triples is an atomic entity in RDF. It is composed of subject-predicate-object. It Continue Reading

Akka HTTP Routing

Reading Time: 2 minutes In this blog, I try to describe some basic routes of Akka-HTTP, redirection of the route and how to handle extra parameters that come in route. so before writing the routes, you have to set the environment for it. implicit val system = ActorSystem(“my-system”) implicit val materializer = ActorMaterializer() implicit val executionContext = system.dispatcher These are the variables that are you need to define provisionally Continue Reading

Getting Started Cockroach with Scala: An Introduction

Reading Time: 2 minutes Today we are going to discuss that how can we use the Scala with the Cockroach DB? As we all know that Cockroach DB is a distributed SQL database built on top of a transactional and consistent key-value store and now we are going to use it with the Scala. But before starting the journey, To those who have caught the train late,😉 this is Continue Reading

Routing DSL in Akka HTTP

Reading Time: 3 minutes 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 off and offers much of the higher level functionality of typical web servers or frameworks, like deconstruction of URIs, content negotiation or static content serving. Continue Reading

Akka HTTP vs Other REST API Tools

Reading Time: 3 minutes 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 Continue Reading

Knoldus Pune Careers - Hiring Freshers

Get a head start on your career at Knoldus. Join us!