Overview
Discover how to build a Reactive Server from scratch in this 55-minute Devoxx conference talk by Oleh Dokuka. Explore the fundamentals of non-blocking I/O in Java and harness the power of Reactive Programming with Project Reactor. Learn why non-blocking is crucial for modern web applications and tackle the challenges of building non-blocking servers. Dive into the Java Non-Blocking API and see how Reactive Programming simplifies complex code. Cover topics such as ServerSocketChannel, multithreading, Reactive Streams, and Project Reactor. Gain hands-on experience with receiving and writing data, managing multiple schedulers, and processing with SyncUnicast Processor. Conclude with insights on testing, worker pools, and the benefits of Reactive Streaming in server development.
Syllabus
Intro
Who is this talk for
Welcome
Outline
Directive
Why do we need this
Whats wrong
Drawbacks
Nonblocking IO
ServerSocketChannel
Complexity
Multithreading
Complex Solution
Reactive Streams
Project Reactor
Receiving
Write data
Multiple schedulers
Update selection key
Start method
Schedulers
Processing
Sync
Unicast Processor
Testing Server
Project Reactor Server
Testing
Worker Pools
Summary
Reactive Streaming
Conclusion
Taught by
Devoxx