Skip to content
中文

The computer

Praxis does not work on your computer; it has its own computer in the cloud. Organizing files, building tables and running programs all happen there. The default size is enough for most work. When a task is heavy and slow, you can switch to a bigger one.

Three sizes

NameSpecPrice
Small1 core, 2 GB$0.1035/hour
Base (default)2 cores, 4 GB$0.207/hour
Large4 cores, 8 GB$0.414/hour

The price is charged for the time the computer actually runs, down to the second. It comes out of your balance; see Balance and costs for the detail of each run.

See the current computer and switch

The computer button is in the row below the input box. Its icon is a monitor and beside it is the current size name, for example “Base”. Until the computer is ready, the button is not shown.

  1. Click the computer button to open the 电脑 (Computer) list. Each row is one size: its name, its spec and its hourly price. The size in use has a check mark at the right.
  2. Click the size you want. The price on its row turns into a 切换 (Switch) button.
  3. Click 切换. The button reads “进行中…” (In progress); when it finishes the list closes by itself.

The bottom of the list says: switching restarts the machine; files are kept.

What you will see: after the switch, the name on the computer button is the new size. The restart takes about a minute.

What is kept after a switch

  • Kept: the files in the home directory.
  • Not kept: running programs, files in /tmp, and directories that can be reinstalled such as node_modules. Ask Praxis to reinstall them if you need them.

If protected background tasks are running on the computer, the list says “电脑上有受保护的后台任务在运行,继续会结束它们。” (Protected background tasks are running; continuing ends them.) and shows a 仍然执行 (Run anyway) button. Clicking it ends those tasks and continues the switch. Close the list if you do not want that.

When to go one size up

  • Praxis is handling a very large table or many files, or a run is clearly taking long.

When the work is done you can switch back down. Because billing follows running time, a larger size costs least when you use it only while you need it.

Next