Thread pools on the JVM should usually be divided into the following three categories:
- CPU-bound
- Blocking IO
- Non-blocking IO polling
Each of these categories has a different optimal configuration and usage pattern.
1 - curl https://sh.rustup.rs -sSf | sh | |
2 - Add $HOME/.cargo/env to the $PATH | |
3 - Configure components | |
- rustup default nightly | |
- rustup self update | |
- rustup update nightly | |
- rustup component add rls-preview --toolchain nightly | |
- rustup component add rust-analysis --toolchain nightly | |
- rustup component add rust-src --toolchain nightly | |
- rustup component add rust-docs --toolchain nightly |
A checklist for designing and developing internet scale services, inspired by James Hamilton's 2007 paper "On Desgining and Deploying Internet-Scale Services."
Copyright © 2017 Fantasyland Institute of Learning. All rights reserved.
A function is a mapping from one set, called a domain, to another set, called the codomain. A function associates every element in the domain with exactly one element in the codomain. In Scala, both domain and codomain are types.
val square : Int => Int = x => x * x