Get Started
Quickstart (managed)
# Each call to `compute_square` runs in parallel in it's own separate contianer.
# That's why it finishes quickly even though each function call takes ~1 second.
from time import sleep
from burla import remote_parallel_map
def compute_square(x):
sleep(1) # <- pretend this is some intense math!
print(f"Squaring {x} on a separate computer in the cloud!")
return x * x
squared_numbers = remote_parallel_map(compute_square, list(range(1000)))Quickstart (self-hosted)
1. Ensure gcloud is setup and installed:
gcloud is setup and installed:2. Run the burla install command:
burla install command: