Abstractions for efficient and reliable serverless computing