Coder Social home page Coder Social logo

example-rust-actix-with-websockets's Introduction

Logo

Koyeb Serverless Platform

Deploy a Rust speed test using Actix and WebSockets on Koyeb
Learn more about Koyeb · Explore the documentation · Discover our tutorials

About Koyeb and the Rust speed test with Actix and WebSockets example application

Koyeb is a developer-friendly serverless platform to deploy apps globally. No-ops, servers, or infrastructure management. This repository contains a Rust speed test you can deploy on the Koyeb serverless platform for testing.

This example application is designed to show how a Rust speed test using Actix and WebSockets can be deployed on Koyeb.

Getting Started

Follow the steps below to deploy and run the Rust speed test using Actix and WebSockets on your Koyeb account.

Requirements

You need a Koyeb account to successfully deploy and run this application. If you don't already have an account, you can sign-up for free here.

Fork and deploy to Koyeb

If you want to customize and enhance this application, you need to fork this repository.

On the Koyeb Control Panel, on the Overview tab, click the Create Web Service button to begin.

  1. Choose Docker as the deployment method.
  2. Fill in the Docker image field with the name of the image we previously created, which should look like ghcr.io/<YOUR_GITHUB_USERNAME>/koyeb-speed-test.
  3. Click the Private image toggle and select Create secret. In the form that appears, fill out the following:
    • A name for this new Secret (e.g. gh-registry-secret).
    • The type of registry provider to simplify generating the Koyeb Secret containing your private registry credentials. In our case, GitHub.
    • Your GitHub username and a valid GitHub token having registry read/write permissions (for packages) as the password. You can create one here: github.com/settings/tokens.
    • Once you've filled all the fields, click the Create button.
  4. Choose a name for your App and Service, for example rust-actix, and click Deploy.

You land on the deployment page where you can follow the build of your application. Once the build is completed, your application is being deployed and you will be able to access it via <YOUR_APP_NAME>-<YOUR_ORG_NAME>.koyeb.app.

Contributing

If you have any questions, ideas or suggestions regarding this application sample, feel free to open an issue or fork this repository and open a pull request.

Contact

Koyeb - @gokoyeb - Slack

example-rust-actix-with-websockets's People

Contributors

ceiphr avatar torrefatto avatar alisdairbr avatar imchairmanm avatar

Stargazers

mpw avatar  avatar

Watchers

Julien Castets avatar Yann avatar Bastien Chatelard avatar Edouard Bonlieu avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.