reactive streams and rabbitmq

16
Reactive Streams + RabbitMQ Michał Kiędyś @mkiedys

Upload: mkiedys

Post on 02-Jul-2015

821 views

Category:

Software


4 download

TRANSCRIPT

Page 1: Reactive Streams and RabbitMQ

Reactive Streams + RabbitMQ

Michał Kiędyś

@mkiedys

Page 2: Reactive Streams and RabbitMQ
Page 3: Reactive Streams and RabbitMQ
Page 4: Reactive Streams and RabbitMQ

Producer / Consumer

Page 5: Reactive Streams and RabbitMQ
Page 6: Reactive Streams and RabbitMQ

Subscription

• Request/Response

– You ask and if there is something, you get it. If there is nothing you have to ask again.

• Asynchronous subscription

– You get it when it’s ready. Even if you are not ready. *)

*) QOS or prefetch

Page 7: Reactive Streams and RabbitMQ
Page 8: Reactive Streams and RabbitMQ

Flow

• Queue overflow

• Actor Mailbox overflow

• Resource exhaustion

• Memory limit

• Connection limit

• Denial Of Service

Page 9: Reactive Streams and RabbitMQ

Streams• java.util.stream• scala.collection.immutable.Stream• play.api.libs.iteratee• scalaz.stream• RxJava• java.io.InputStream / OutputStream• Vert.x

Page 10: Reactive Streams and RabbitMQ
Page 11: Reactive Streams and RabbitMQ
Page 12: Reactive Streams and RabbitMQ
Page 13: Reactive Streams and RabbitMQ
Page 14: Reactive Streams and RabbitMQ

Raw

Page 15: Reactive Streams and RabbitMQ

Akka Streams

Page 16: Reactive Streams and RabbitMQ

Thank you

Michał Kiędyś

@mkiedys