Reactive Hardcore. How to build a Publisher and implement own Project Reactor - Oleh Dokuka [1/3]

preview_player
Показать описание
Video from Devoxx Poland 2019.

Description: The more popular Reactive Programming/Libraries become, the more often we have to deal with those techniques and solutions. Sometimes we have to deal just with smoothies API of Reactive Extensions, sometimes we have to dive into the internals of those libraries, or sometimes we have to build our implementation. Nevertheless, understanding of the basics patterns, behavior that is hidden inside the most of Reactive Libraries, Tool-Kits / Best Practice might simplify our – life with/debugging of/implementation of Reactive Library. Usually reading a tone of papers and blogs about the internals of Reactive Libraries, specific rules of Reactive Streams Specification or simply grasping the source code becomes hardcore. Hence, we will summarize all important by implementing our own "Reactor" in Java.

What will we do to learn? We will:

Remind the sense and importance of Reactive Streams Specification;
Naively implement essential part of the reactive library - Publisher;
Find toolkit which will help in verification of the implementation;
Iteratively follow all the rules of Reactive Streams and implement the correct solution;
Build a couple of operators
Рекомендации по теме
Комментарии
Автор

This is really insightful session, keep up the good work.

MohamedISoliman
Автор

This is exactly what I'm looking for!! Thank you!!

minakoto
Автор

Thank you for this, there is not a lot of good explanation of reactive streams out there. Best

pablozoani
Автор

move the index++ out of the for loop solve the problem in fact. as long as you put the index++ before the onNext() call
for loop third statement execute every time after leaving the code block but because the recursive the code never leaves the code block index to stay 0.

americannumber
Автор

i meet error while running tck like : NoSuchMethodError :
any suggestion ?

NghiaTran-ermp
Автор

is there a public repository with workshop`s code available?

АлександрВеликодный-иь
Автор

Could we solve the StackOverFlow problem like the Free Monad that under the hood by using tail recursive optimization with trampoline?😂

燕贻陈
Автор

are you saying Doug Lea implemented something shitty? haha

americannumber