WebSockets provides a Full duplex communication channel over a single TCP connection. It provides a persistent connection between a client and a server that both parties can use to start sending data at any time.

The client establishes a WebSocket connection through a process known as the WebSocket handshake. If the process succeeds, then the server and client can exchange data in both directions at any time.

WebSocket uses HTTP as the initial transport mechanism but keeps the TCP connection alive after the HTTP response is received so that it can be used for sending messages between client and server.

App Engine is well suited to applications that are designed using a microservice architecture.

If you search on google how to deploy a Spring Boot project on Google App Engine, you will find a lot of old documentation, which talks about changing the Application code so that you are able to deploy it to the app engine.

For example, some mandatory steps mentioned are:

  1. You can only deploy a WAR file instead of a JAR file.
  2. You need to implement SpringBootServletInitializer
  3. Remove Tomcat Starter
  4. Add Servlet API dependency
  5. Exclude JUL to SLF4J Bridge
  6. adding logging.properties file with .info tag


Photo by timJ on Unsplash

Let's learn about Functional Interfaces first, there are more than 50 functional interfaces in java.

So, what is a Functional Interface — It is just an informative annotation. 🤷‍♂️ 😐

An informative annotation type used to indicate that an interface
type declaration is intended to be a functional interface

Conceptually, a functional interface has exactly one abstract method, Since default methods have an implementation, they are not abstract.

If an interface declares an abstract method overriding one of the public methods of java.lang.Object, that also does not count toward the interface’s abstract method count since any implementation of the interface…

In this project, we will learn how to build a spring boot app with which we can do a lot of things with images, like performing OCR (optical character recognition), detecting faces, adding labels based on image content, detecting landmarks, detecting company logos and many other things.

If you are interested to know what other things you can do with Google Cloud Vision, check out the link below :

Sound’s Fun, Let's Build it.

Before starting, if you are not familiar with Spring Boot and Google Cloud Platform, I would recommend taking this code lab.

In this code lab, you…

An important concept while working with MicroServices is IPC, i.e how to set up communication between multiple microservices.

Handling Partial Failure

A good approach to follow is the one described by Netflix. The strategies for dealing with partial failures include:

  • Network timeouts — Never block indefinitely and always use timeouts when waiting for a response. Using timeouts ensures that resources are never tied up indefinitely.
  • Limiting the number of outstanding requests — Impose an upper bound on the number of outstanding requests that a client can have with a particular service. …

Have you ever tried to share an apk?

You may ask what is the use, you can always download the app from Play Store or the internet.

But there are multiple reasons why people share the apks (apps).

  1. Data is expensive.
  2. Limited data connectivity.
  3. It is faster to get the apk locally. (some apps download 1–2 Gb of data)

There are multiple apps on Play Store, which just do this task. Using them you can share or extract apps/apks with your friends or family, or for your own use. …

Nitin Kalra

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store