How to Implement a Simple Message Queue in Node.js

Messaging Queue enables asynchronous communication, where application puts a message onto a message queue and does not require an immediate response to continuing processing. The producer and consumer do not interact directly with each other, but they interact with message queue. This way of handling messages decouples the producer from the consumer so that they do not need to interact with the message queue simultaneously.

Advertisements

Multi-Threading in Spring Boot using CompletableFuture

Multi-threading is similar to multitasking, but enables the processing of executing multiple threads simultaneously, rather than multiple processes. The CompletableFuture, was introduced in Java 8, provides an easy way to write asynchronous, non-blocking and multi-threaded code.

Batch Processing Large Data Sets with Spring Boot and Spring Batch

Batch processing of data is an efficient way of processing large volumes of data where data is collected, processed and then batch results are produced. Batch processing can be applied in many use cases. One common use case of batch processing is transforming a large set of flat, CSV or JSON files into a structured format that is ready for further processing.

Streaming Data with Spring Boot RESTful Web Service

Streaming data is a radical new approach to sending data to web browsers which provides for dramatically faster page load times. Quite often, we need to allow users to download files in web applications. When the data is too large, it becomes quite a challenge to provide a good user experience.

Introduction to PixiJS: An HTML5 2D rendering engine

JavaScript is becoming more and more powerful. There are many games built with JavaScript usually using 2D or 3D libraries. PixiJS is one of those 2D libraries which works across all the devices. It is an HTML5 2D rendering engine that supports WebGL API and falls back to canvas when needed.