• Plan scalability to get the benefit of the increasing number of cores – write flexible codes that can handle an increase in cores because the more cores you have, the greater the possibility of expansion of data processing.
• Use thread-safe libraries – a hotspot computation can be executed through library call and should use a similar library function rather than a handwritten code. This ensures that library calls are thread-safe even if routines are called from 2 separate threads, you’re sure to get correct answers for both calls.
• Use of right threading model – if there is a need to use user-controlled threads, don’t use the more complex threads.
