abstract business code coder

How to Start working with WebSocket in Django

Reading Time: 3 minutes In this blog, we’ll learn about what is WebSocket with its working in Django. So, let’s get started. What is Web-Socket? WebSocket is a bi-directional, full-duplex protocol this is used in the same as client-server communication, unlike HTTPS. The WebSocket starts from ws:// or wss://(it is the URL syntax of the WebSocket). It is a stateful protocol that means the connections between client and server Continue Reading

Protocols and Backpressure in Spring WebFlux

Reading Time: 3 minutes The WebSocket Protocol Never blocking is one of the main suggestions for dealing with data streams. A client using data from a stream should never block the thread because it does not own it. Putting them in a buffer will stop them from being released. However, buffers have a finite capacity, can overflow, and can lose data. The client should be able to regulate how Continue Reading

Gatling for Websocket Protocol

Reading Time: 3 minutes Hello there, In this blog, we shall discuss about the WebSocket protocol. Further in the blog we will also try to learn to create a simple Gatling Scripts for this protocol as well. But without jumping to the Gatling script we shall learn about WebSocket Protocol. So lets begin. How webSocket is different from HTTP? WebSocket and HTTP, both of these are communication protocols which Continue Reading

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

Reading Time: 2 minutes 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 for many platforms such as web, mobile etc. 2) When your application consists of multiple services such as order service, account service, payment service etc. Continue Reading

A simple example to implement WebSocket server using Akka HTTP

Reading Time: 2 minutes 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 interact with web services. Akka HTTP provides a stream-based implementation of the WebSocket protocol. In this example, you will see how easily you can create web Continue Reading

Websockets with Play !

Reading Time: < 1 minute This time i’ve presented on using websockets with play at KnolX. This presentation briefly describes about how the websockets works & using them with Play Framework. This presentation and all learnings from it are based on the the excellent presentation done by Andrew Conner as a part of the Using Websockets with Play! talk. Thanks Andrew for enlightening us!