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.
| #!/bin/bash | |
| # Author : Hemanth.HM | |
| # Email : hemanth[dot]hm[at]gmail[dot]com | |
| # License : GNU GPLv3 | |
| # | |
| function useage() | |
| { | |
| cat << EOU | |
| Useage: bash $0 <path to the binary> <path to copy the dependencies> |
| # Taken from https://forums.aws.amazon.com/thread.jspa?messageID=332091 | |
| sudo su - | |
| cd /usr/local/bin | |
| mkdir ffmpeg | |
| cd ffmpeg | |
| wget http://ffmpeg.gusari.org/static/64bit/ffmpeg.static.64bit.latest.tar.gz | |
| tar -xzf ffmpeg.static.64bit.latest.tar.gz |