T
T
tlbogdanov2019-07-30 10:29:38
Java
tlbogdanov, 2019-07-30 10:29:38

What is the difference between asynchronous and reactive?

So, there is spring5 and projectreactor and it is reactive
And there are coroutines in Kotlin - and they are asynchronous Can
you please explain to me what is the difference?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Gornostaev, 2019-07-30
@tlbogdanov

Asynchrony is a kind of concurrent execution, while reactivity is a kind of architectural approach. These concepts are not related and not mutually exclusive, reactive code may or may not be asynchronous, asynchronous code may or may not be reactive.

D
Dmitry Shitskov, 2019-07-30
@Zarom

I'll add this explanation - the reactive approach often uses asynchrony. They cannot be compared, they are different concepts.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question