Asynchronous

Passing query parameters through your WebClient

Reading Time: 5 minutes We can use spring-boot:webflux’s WebClient to invoke a third-party service from within our spring boot application. This is asynchronous and reactive method supplied by spring for invoking of unmanaged services. We also saw how we can pass query params when invoking a 3rd party service and which case to chose with our requirements. Be cautious with what you are using and always document what you want and what you created so that things like these can be caught early during the development phase.

Introduction to callbacks in Node.js

Reading Time: 2 minutes If you are familiar with JavaScript, you may have got acquainted with the concept of callbacks. If not, no worries, as here we will be discussing some basics of callbacks and how they actually work with respect to node.js. You may already know that the type of JavaScript functions is Object. So, just like any other object such as Array or String, we can pass Continue Reading

Reactivate your streams with Reactive Streams!!

Reading Time: 5 minutes As you all might have known by now that one of the hot topics for quite some time has been streaming of big data. Day after day, we see tons of streaming technologies out there competing with one another. The obvious reason for that, processing big volumes of data is not enough. We need real-time processing of data, especially when we need to handle continuously increasing Continue Reading

Getting Asynchronous in Scala : Part 2 (macro, reflection and Async library)

Reading Time: 2 minutes “Our patience will achieve more than our force.” – Edmund Burke The thought above tells about the beauty of being patient. One of the most important trait of a programming language is to be patient for the code segments to complete their execution asynchronously. In this blog we will continue with the Async library and some prerequisite associated with it. RECAP In first blog of Continue Reading

Scala Macros -An overview

Reading Time: 4 minutes OVERVIEW In this blog we will understand the basics of Macros and reflection. The main motive of the blog is to lay a foundation for better understanding of the the ‘Async library’. The ‘MAGIC’ of macros -> Macros can be called ‘special functions’ that are called by the compiler during compilation. These functions are special as using macros we can access the compiler API’s which Continue Reading

Getting Asynchronous in Scala : Part 1 (Future, Callbacks, Combinators etc.)

Reading Time: 6 minutes ‘Only you can control your future.’ – Dr. Seuss The above quote has a great correspondence with this blog. In the blog we will discuss what are Future values and how we access them. During our journey we will be visiting,exploring and understanding following checkpoints :- 1). What are future (basics). 2). How to access them. 3). Basics about Macros. 4). The Async library in Continue Reading

Transfering Data from Couchbase to the ElasticSearch (Transport-Couchbase Plugin)

Reading Time: 3 minutes If we want to transfer the data persisted in your Couchbase to ElasticSearch and use the power of inverted indexing of Elastic Search along with Couchbase. Then we can do this in easy steps. Couchbase provides us a plugin for the Elastic search that makes your ElasticSearch node appear like a Couchbase Server node. After installation you can use the Cross-Datacenter Replication (XDCR) feature of Continue Reading

A Non-blocking “Email sending” functionality in Scala

Reading Time: 1 minute In our last blog “Adding an Email Sending Functionality in Play using Scala” we explained how to include an Email sending functionality in a Play Scala Application. But the way in which we implemented it, made it a Blocking one i.e., application will wait until email has been sent. In this blog we will explain, how to make the Email Sending functionality a Non-blocking one. By making Continue Reading

Knoldus Pune Careers - Hiring Freshers

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