Run code on one big cloud machine.
An example for running one function call on a bigger machine with func_cpu and func_ram.
Before you start
Step 1: Define a function you want to run on a bigger machine
from pathlib import Path
from burla import remote_parallel_map
def summarize_text_file(file_path):
text = Path(file_path).read_text()
return {"file_path": file_path, "character_count": len(text)}