Reading Time: 6 minutes Before moving to the future, let’s first understand what is concurrency. Concurrency: Concurrency is that we are going to perform more than one task at the same time. The rapid increase in the number of core-processor increase attracts in concurrency. Concurrency is not like the parallelism. Concurrency means multiple tasks which start, run, and complete in overlapping time periods, in no specific order. Parallelism is Continue Reading
Reading Time: 4 minutes As you all know Rust Programming has Futures which helps to make our code Asynchronous. Rust’s Futures are analogous to Promises.This article mainly pertains to the internal working of the Future and we’ll also understand the structure of the Future like how it is defined and how it will execute when it comes into the action. Future: In a Nutshell Future is trait in Rust Continue Reading
Reading Time: 6 minutes While executing long computations, performance is something that’s always being the concern. Luckily, Futures come to our rescue. A Future gives you a simple way to run an algorithm concurrently. Futures are the standard mechanism for writing multithreaded code in Scala. Whenever we create a new Future operation, Scala spawns a new thread to run that Future’s code, and after completion, it executes any provided Continue Reading
Reading Time: 2 minutes Hola Amigo, have you ever wondered that when we can achieve concurrency or parallelism with threads, then what on Earth are other available options doing. Let’s have a closer look. Threads: A unit of concurrency Same old theory repeated once more,“Threads are nothing but independent paths of execution. These can help in efficient use of the resources when used cautiously.” What we can achieve using Continue Reading
Reading Time: 2 minutes A blog about have to use executor with completable future
Reading Time: 3 minutes This blog talks about the enhancements and improvements done in Future library as part of Java9 release.
Reading Time: 3 minutes In this blog I’m going to talk about Futures in Java. Futures are used when threads in a system are being blocked. This blocking is due to computations that take a long period of time to execute, the most common sources of blocking are accessing a database, accessing a cloud service and reading from a file. Blocking calls also prevents the code following the blocking Continue Reading
Reading Time: 2 minutes When we want a simple way to run one or more tasks concurrently in a Scala application. Including a way to handle their results when the tasks finish then we use the scala future. In this blog, we are going to discuss Twitter Future. Twitter futures are more explicit about where computations are executed than the Scala standard library futures. This approach has several advantages over Continue Reading
Reading Time: 3 minutes Hi there! Today, we are going to talk about Futures in Java. We will also look at some of the best practices related to them. What are Java Futures and why do we need them? To understand this better, firstly we must understand what is blocking and why is it bad for our software. BLOCKING – A blocking/long-running call occurs when a thread is tied Continue Reading
Reading Time: 4 minutes Welcome readers, this blog is all about threading in Java. After reading this, you would be comfortable enough to program multi-threaded applications. Here, you will learn about java threads, thread pools and the concept of java future. Java Threading: The Beginning In Java, the concept of multi-threading was there from the first version itself. In Java, you can implement threading by implementing Runnable interface and Continue Reading
Reading Time: 2 minutes You all must be wondering timeouts in Futures, how is that possible? Don’t worry this is the right place to explore what do we mean by Futures with a timeout. I had encountered an issue of finding out if we can provide timeouts to futures in Scala without actually blocking them and guess what, this is possible. In this blog, we will be talking about Continue Reading
Reading Time: 4 minutes Cloud native is the future of application development, with massive potential for business impact. Read the blog to explore how you can maximize the inherent business value of the cloud platform such as faster speed to market, greater elasticity, scale, and resiliency.
Reading Time: 5 minutes Data Lakes will evolve into knowledge graphs. This article is aimed at explaining the meaning of Knowledge graphs based on semantic web and why it will eventually secure its rightful place in organizing enterprise knowledge.