NavigationContentFooter
Jump toSuggest an edit
Was this page helpful?

Functions use cases

Reviewed on 27 November 2024Published on 24 April 2023

Scaleway Serverless Functions can be used in many use cases:

  • Automation for specific tasks
  • Integration with your ecosystem to help scale specific routes of your code
  • CI/CD integration
  • Data analysis and processing
  • Optimizing infrastructures with scaling from, and to zero
  • Decoupling software, and more.

For a better understanding of Serverless Functions, we provide real-world examples in our serverless-examples repository. Here are some specific cases:

Node - Interact with databasesLink to this anchor

This example shows how to connect to a managed PostgreSQL database and perform a query on it.

PostgeSQL Node

Python - ChatBotLink to this anchor

This example shows how to handle different HTTP methods (POST and GET) as well as specific dependencies.

Python Chatbot

Go - Queues Publish messageLink to this anchor

You can use this example to publish a message to a Scaleway queue using the MNQ namespace from the Scaleway Go SDK.

MNQ SQS Publish message using Golang

PHP - Repository Badge GeneratorLink to this anchor

This example demonstrates how PHP functions work using a dependency from Composer. With this example, you can generate a simple badge with the text, status, and color of your choice.

Badge PHP Example

Rust - Character recognitionLink to this anchor

Rust Character recognition

Was this page helpful?
API DocsScaleway consoleDedibox consoleScaleway LearningScaleway.comPricingBlogCareers
© 2023-2025 – Scaleway