Reactive Streams and RabbitMQ

Post on 02-Jul-2015

808 views 4 download

transcript

Reactive Streams + RabbitMQ

Michał Kiędyś

@mkiedys

Producer / Consumer

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

Flow

• Queue overflow

• Actor Mailbox overflow

• Resource exhaustion

• Memory limit

• Connection limit

• Denial Of Service

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

Raw

Akka Streams

Thank you

Michał Kiędyś

@mkiedys