Computational Performance in Fintech Applications
Many types of applications do not require high-performance computations because they simply perform very few or infrequent calculations. This also applies to many financial applications. However, there are financial applications, such as banking or insurance ones, that occasionally perform a significant number of computations. In this article, I will show an example of an application that calculates simulations of profits from investment funds, where the simulation latency was reduced 100-fold (in words: a hundred times). The observations made are universal and can be applied in other cases as well. The following is a list of topics discussed: Calculation Accuracy Floating-point calculations Floating-point accuracy Exact Calculations (BigDecimal, Decimal4j) Benchmark Benchmark Results Can We Sacrifice Accuracy? Real-life Example Conclusions Key Takeaways Calculation Accuracy As we know, calculation accura...