Tips on scaling a monolithic Rust web server?

This page summarizes the projects mentioned and recommended in the original post on /r/rust

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • lab_axum

  • readyset

    Readyset is a MySQL and Postgres wire-compatible caching layer that sits in front of existing databases to speed up queries and horizontally scale read throughput. Under the hood, ReadySet caches the results of cached select statements and incrementally updates these results over time as the underlying data changes.

    On the caching topic, I found the ReadySet(né Noria) approach to be extremely interesting.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • mimalloc_rust

    A Rust wrapper over Microsoft's MiMalloc memory allocator

    Use an optimized memory allocator, my choice is mimalloc. It wins every time I compare it, even against jemalloc (not to mention it supports arena hardening which is good for security).

  • Dokku

    A docker-powered PaaS that helps you build and manage the lifecycle of applications

    In terms of orchestration single server for multiple projects, I use Dokku as personal PaaS for various projects. Most of them not rust based, but still. In my case, the single server 2cpu 2 RAM instance server about 15 projects. Few of them are web servers and others are different telegram bots.

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts