Skip to content

Pricing of cloud functions compared to preemptible machines #52

@josephrocca

Description

@josephrocca

I've just started researching options for a large scale batch computing job and although pricing isn't a huge worry (since it's a one-off job), it is something that interests me in case I end up building a deployment script/framework that can be used on future projects:

So the cloud function approach appears to be ~6x the price of the preemptible machine approach? And if you take into account clock speed then it's somewhere near 12x the price? I also haven't taken into account the invocation pricing of the cloud functions, but I'm assuming that would be small. The preemptible machine approach also has the advantage of being able to run code for longer than 10 or 15 mins, which is very handy for me - it saves me splitting up files that need to be processed into smaller, digestible-in-10-minutes chunks and coding all the logic to handle merging and stuff.

@BrandiATMuhkuh, who you were talking to on the hacker news thread seems to have switched to many-core machine(s) after trying the cloud function approach, and I wonder if pricing was a consideration there?

If I've not made any mistakes or incorrect assumptions, then is it within the scope of faast.js to consider preemptible machines? Since you've implemented a local provider, I'm assuming that you've done most of the leg-work required to be able to deploy it to an actual machine, rather than a cloud function.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions