Deployment
The prebuilt images are usually available as Docker images on Docker Hub. However, you can build your own image via SBT, running
sbt docker:publishLocal
to publish the image into your local storage, or
sbt docker:publish
to publish it into some remote server (assumed you have configured
your own setting in build.sbt
).
Note about load balancing: Most of the time you don’t need to parallelize or load-balance anything, because Tsp has quite few levels of the parallelism itself:
- By partition fields - data level parallelism (SIMD)
- By patterns - Tsp could divide patterns by their weight (max window) on:
- Parallel sources - totally separate sources
- Parallel pattern search branches - to reuse source and not overload source DB. Detailed overview of parallelisation options is in sources configs model overview.