Git Product home page Git Product logo

deno-kv-benchmarks's Introduction

Deno KV vs Other Databases Benchmark

In an effort to benchmark Deno KV against other serverless databases, this implements an application split into different services. Each service measures read/write latency to databases and are hosted in a way to ensure that the latency excludes any network latency—by e.g. provisioning both the serverless function in the same AWS region as the respective database.

For more details, check out the blog post summary.

Databases

How to setup the benchmark

  1. Setup the various cloud providers with Terraform by following the instructions in the provision README. All subsequent instructions must be run with the environment variables listed in the provision README.
  2. Deploy the Deno backend component by running the deployment script
    ./setup/provision/utils/deploy-deno-kv-backend.sh
  3. Populate the newly provisioned databases by running the population script
    ./setup/populate/populate-databases.sh
  4. Deploy the frontend by running the deployment script
    ./setup/provision/utils/deploy-deno-kv-frontend.sh
  5. View the frontend by visiting the link output by the deployment script.

Developing the frontend

The frontend requires frontend/lib/config.json to be present for its backend endpoint in order to invoke the various services. To create the JSON file you must build out the infrastructure as outlined in the provision README, then you can run

./setup/provision/utils/update-deno-kv-frontend.sh

which will create the config.json from the Terraform state file and required environment variables.

deno-kv-benchmarks's People

Contributors

b-fuze avatar lambtron avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

chriss-0x01

deno-kv-benchmarks's Issues

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.