Skip to content

reactive stream examples for jcconf 2016 presentation

Notifications You must be signed in to change notification settings

weihsiu/reactive-streams

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JCConf 2016 presentation

The slides for the presentation can be found here. The video of this talk can be found here.

Examples in The Talk

Akka Stream to demo backpressure

  1. bash> watch -d -n 1 netstat -n -p tcp
  2. sbt> reactiveStreamsJVM/runMain reactivestreams.Firehose
  3. sbt> reactiveStreamsJVM/runMain reactivestreams.DeepWell
  4. Suspend reactivestreams.DeepWell (Ctrl-z)

Monte Carlo with Akka Stream

sbt> reactiveStreamsJVM/runMain reactivestreams.akkastreams.Examples

Bitconins Transaction

  1. Compile Scala to JavaScript
    sbt> reactiveStreamsJS/fastOptJS
  2. Run Akka-HTTP
    sbt> reactiveStreamsJVM/runMain reactivestreams.akkastreams.BitcoinTransactions
  3. Open bitcoin-transactions.html. After compiling Scala to JavaScript, it will be located at {root}/js/target/scala-2.12/classes/bitcoin-transactions.html.

Monix

sbt> reactiveStreamsJVM/runMain reactivestreams.monixs.Examples

Although Google's API is not working now, you can still learn how to use Monix.

About

reactive stream examples for jcconf 2016 presentation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published