Category Archives: Web Services

Quick Start with Finagle

Finagle is an extensible RPC system for the JVM, used to construct high-concurrency servers. Finagle implements uniform client and server APIs for several protocols, and is designed for high performance and concurrency. Most of Finagle’s code is protocol agnostic, simplifying … Continue reading

Posted in Scala, Web Services | Tagged , | Leave a comment

“Why do you always choose Microservices over me?” said the Monolithic architecture

Ever wondered why do companies like Apple, eBay and Netflix care so much about microservices? What makes this simple architecture so special that it is being hyped so much? Is it worth the pain and efforts to shift an entire … Continue reading

Posted in Architecture, Microservices, Scala, Web Services | Tagged , , , , , , | 1 Comment

Lagom HeaderServiceCall: What, Why and How?

For those of you who are already familiar with Lagom services, this blog post should be a breeze, and you can skip directly to Section B, where the primary focus is to differentiate between three possible ways to implement a … Continue reading

Posted in Java, Microservices, Scala, Web Services | 2 Comments

One-way & two-way streaming in a Lagom application

Now a days streaming word is a buzz word and you should have heard many types of streaming till now i.e. kafka streaming, spark streaming etc etc. But in this blog we will see a new type of streaming i.e … Continue reading

Posted in Akka, Best Practices, big data, Functional Programming, github, Java, knoldus, Messages, Reactive, Scala, Streaming, Web Services | 1 Comment

Introduction to GraphQL – A Query Language for APIs

GraphQL is an API standard that provides a more efficient, powerful and flexible alternative to REST. It was created by Facebook in 2012 and was open-sourced in 2015 and is now maintained by a large community of companies and individuals from … Continue reading

Posted in Scala, Tutorial, Web, web application, Web Services, Web Standard | Tagged , , , , | 4 Comments

Finatra-swagger: Making the api documentation awesome and easy

Apart from speed, high-performance, fault-tolerance and concurrency, one more most important feature for an api is a clean, precise, interactive and user friendly documentation. Documentation plays a very important role in a rest api. The interactive documentation makes api more easy and understandable. … Continue reading

Posted in Scala, Swagger, Web, web application, Web Services | Leave a comment

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

IP Filtering On Nginx Server

Sometimes there are scenarios in which we want our website to be accessible only by certain countries. For achieving this we need to filter requests on the basis of IP addresses on our server. In this blog we’ll be discussing, … Continue reading

Posted in Scala, Web Services | Tagged , , , , , , , , | 4 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 , , , , | 1 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 , , , , | 2 Comments