Datalore 2023.5 Help

Background computation

Background computation mode in Datalore allows you to run computations even if the browser tab is closed. This is particularly important when you expect long cell execution.

Keep in mind that work with background computation on can significantly increase your resource consumption. Therefore, by default, this mode is disabled.

You can select one of the following options when enabling background computation:

  • Turn off after 30 min of inactivity to enable background computation and set the machine to shut down after the kernel is in idle state for 30 minutes.

  • Turn off after 2 hours of inactivity to enable background computation and set the machine to shut down after the kernel is in idle state for 2 hours.

  • Turn off after 24 hours of inactivity to enable background computation and set the machine to shut down after the kernel is in idle state for 24 hours.

  • Never turn off to enable the mode without time restrictions. The machine keeps running even after the computation is finished or an error occurs.

Set up background computation for the currently opened notebook

Use the Run menu or the Computation tool.

  1. Go to Main menu | Run.

  2. Hover over Background computation to expand the list of options.

  3. Select the required option.

Background computation, Run menu
  • Open Computation on the left-hand sidebar.

  • Under Background computation, click the arrow icon to expand the list of options.

  • Select the required option.

Background computation, Computation tool

Set up background computation for a new notebook

You can set up background computation when creating a notebook.

  1. On the Home page, click the New notebook button in the lower-left corner of the screen.

  2. In the New notebook dialog, click the arrow icon under Background computation to expand the list of options.

  3. Select the required option.

  4. Proceed with the notebook creating procedure.

Background computation, new notebook

Set up default background computation for all notebooks

Use the user settings for your account to set up default background computations for all existing and new notebooks. By default, the mode is disabled.

  1. Click the avatar icon in the upper-right corner of the screen to open the User settings tab of the Account settings menu.

  2. Under Preferences, click the arrow icon to expand the Default background computation list of options.

  3. Select the required option.

  4. Close the Account settings menu.

Set up default background computation for all notebooks (for Enterprise version only)

As a Datalore Enterprise admin, you can set up default background computation for all existing and new notebooks within the Datalore instance.

  1. Click the avatar in the upper-right corner of the screen.

  2. Select Admin panel from the expanded list.

  3. Onn the Admin panel, select Computation.

  4. Under Default background computation, click the arrow icon to expand the list of options.

  5. Select the required option.

Default background computation
Last modified: 13 November 2023