Resources and links about accessing a database in Scala.
Tag: async
A journey into concurrent programming in Scala – a good article about concurrent programming in Scala
Java Executors documentation – Scala uses Javas future system with Executors etc.
Play uses Akka so you can also use Akka dispatchers for the ExecutionContext required in the Controllers.
Link to Hikaricp library that creates connection pools for database access on JVM
Ebooks
Concepts and Technologies for Distributed Systems and Big Data Processing
Philipp Haller
Scala Futures, Async, and Actors
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)
Javascript resources
javascriptweekly – keep up to date on the latest javascript news
How to deal with dirty side effects in your pure functional JavaScript
async/await is just the do-notation of the Promise monad
Do we really need classes in JavaScript after all?
The cost of javascript. Javascript is often misused and abused or poor practices are used. This article covers some of the things you can do to lighten your apps javascript load and clean up your code a little.
Should You Use Classes in JavaScript?
A re-introduction to JavaScript (JS tutorial) – because developers couldn’t be bothered with the hard task of learning actual Javascript syntax we had to pollute the syntax even more with Classes etc.
Function expressions explained
Arrow function expressions explained – examples and explanation
Mocking is a code smell – interesting article about how you can get https://krasimirtsonev.com/blog/article/javascript-managing-events-dispatch-listenout of control with testing and dependency injection. It is about javascript but applies to other languages.
Eradicating memory leaks in Javascript – A very good article for anyone to who creates Apps with Javascript.
Javascript let vs var vs const – a good article explaining the differences.
Javascript free books and resources – nice article with links to various sources.
javascript.info – a really awesome site that teaches everything you need to know about modern Javascript.