Long Callbacks in Dash Web Apps

How to deal with time-consuming code in callback functions of Python Dash web applications

Thomas Baumgartner
Towards Data Science
7 min readJan 11, 2022

--

Image by author, based on stock image by moritz320 (Pixabay).

You develop web applications in Python and have time-consuming code to run? Numerous records to be queried from databases, elaborate evaluations to be performed, and complex visualizations to be created? Then long callbacks, introduced with Dash 2.0, might be…

--

--

Physicist (PhD), engineer, software developer, data manager / analysist, photographer, musician, and (as of late) writer. Lives in Vienna, Austria.