What makes DolphinDB So Fast

Like other languages such as Python, R, Matlab, and SAS, DolphinDB’s scripting language is interpreted at run time. However, DolphinDB runs extremely fast due to the following reasons:

  • DolphinDB seamlessly integrates a high performance time series database, a lightweight distributed computing framework and a fully-featured programming language. The system minimizes data transfer across multiple components of the system.

  • DolphinDB uses its proprietary memory management system for optimal performance. In big data processing, allocating and releasing memory account for a significant part of the computational cost.

  • DolphinDB is written in C++. In DolphinDB, all parallel or iterative computing uses a lightweight “thread” model, which outperforms systems written in Java that adopt a heavyweight “process” model.

  • DolphinDB’s scripting language is vector based and supports functional programming. The language is extremely expressive and effective for data manipulation and analysis. The interpretation overhead is very small.

  • DolphinDB optimizes all built-in functions/commands from basic functions (e.g. sort ) to high level functions (e.g. table joins).