Actix Sqlx

Minimal Actix web application pre-configured with SQLx and database pooling

Deploy Actix Sqlx

Actix

dobecad/actix-sqlx-pg

Just deployed

Postgres

railwayapp-templates/postgres-ssl:latest

Just deployed

/var/lib/postgresql/data

Overview

Actix is a powerful and highly performant web framework for building web servers in Rust. SQLx is an asynchronous, pure rust SQL library that provides compile-time checked queries without the need for a DSL.

Features

  • Performance: Actix is designed with performance in mind. It leverages asynchronous and non-blocking I/O, making it capable of handling high levels of concurrency and achieving excellent throughput
  • Scalability: Actix is an actor framework for Rust. This allows Actix applications to handle thousands of concurrent connections efficiently
  • Actix Web servers are known for their low memory footprint compared to some other web frameworks
  • Compile-time checked queries: Write typed, asynchronous SQL without the overhead of an ORM
  • Database connection pooling: Improve performance by re-using existing database connections, rather than establishing a new database connection per request

Learn More


Template Content

More templates in this category

View Template
mellow-vue
A full-stack Vue app with The Boring JavaScript Stack.

View Template
Sveltekit NestJS
Full-stack with SvelteKit + NestJS + Prisma + Postgresql with utils

View Template
.NET8 Web API
A basic ASP.NET Core Web API template (.NET 8)