After excitedly beavering away behind the scenes for several months, we’re thrilled to introduce Bip Functions to the world.

Bip Functions is a serverless application system that allows you to deploy Javascript code directly on the Bip platform itself. That code is then instantly deployed around the world, and made available to serve requests from your users.

Here are some of the key features:

Global reach

When a request is made to your function, our global edge platform dynamically routes the request based on the users location, so you can be sure that your function code is running as close to your users as possible.

Bip Functions run in continents around the world, including North America, Europe and Asia.

Auto scaling

All Bip Functions scale dynamically based on traffic. There’s no servers to spin up, or scale problems to worry about.

Simple pricing

Functions are billed per request, so there’s no need to worry about execution time, or memory size.

Examples

Creating a function is simple:

addEventListener('fetch', event => {
  event.respondWith(handleRequest(event.request))
})

async function handleRequest(request) {
  return new Response('Hello world!')
}

We’ve also put together some more complex examples, such as retrieving the latest weather and sending an email.

From day one, we wanted to create a platform that allowed customers to focus on their websites, without having to worry about DevOps. When Bip was born, we made that happen for simple static websites. For more complicated websites however, users still had to host their backend code elsewhere. Today’s announcement means that you can now run bring more of your complex code to our global platform. We think Bip Functions provide limitless possibilities, and we can’t wait to see how it’s used in the wild.

Get started

Bip Functions is available today in Beta, and is included with Bip Plus. Initially, we’re including 100k function invocations per month. We will be refining the platform over the coming months, and will announce pricing for extra function invocations when the feature reaches General Availability.

To get started, see our Get Started guide.