Categories
Resources Software Development

Scala Threads, Futures and Promises, links and resources

Links

Scala Futures – link to the api documentation

Concurrency vs Parallel computing – good article on the subject

Don’t use actors for concurrency – article about using actors and futures for concurrency

A journey into concurrent programming in Scala – this article explains the basics of using futures and an execution context for concurrency. This is very basic.

Throttling Instantiations of Scala Futures – a very good article pointing out some of the issues with using Scala futures and how to back pressure them.

Understanding play thread pools – this is from the documentation on how to create thread pools

Scala Futures and Promises – Article from the Scala lang website documenting how Futures and Promises work in Scala

Scala Future Execution Context API documentation

Link to Java Executor documentation – for working with execution contexts

Link to an article about Scala async/await on the scala-lang site

Asynchronous Programming and Scala – a really good article about async programming and how it works in Scala.


Videos

Scala futures


Future Calculations (in Scala)


Scala Programming – Introduction to Threads and Futures


Futures and Async: When to Use Which?


This video explains more of the theory of how Futures, Async and promises work than how to actually use them.


How to Write Controllable Futures in Scala | Rock the JVM


Awaiting Futures (in Scala)