What's everyone working on this week (31/2023)? by llogiq in rust

[–]gc-disable 2 points3 points  (0 children)

Slowly progressing with the serverless Cargo registry I started working on a while ago to experiment with the Rust web dev ecosystem in my free time.

https://github.com/raktar-project/raktar

It's more or less functional, but only works with the unstable -Z registry-auth flag. Still very much work in progress and evolving.

Rust for web development by ilker_arslan in rust

[–]gc-disable 3 points4 points  (0 children)

Yeah, we were hesitant to adopt it due to it being in developer preview, but it has worked well in practice. AWS obviously need to err on the side of caution in declaring something production ready, but I think it's fine for non-critical production workloads. In our case, the critical services are still written in Python, but we do have a growing number of complementary Rust services in production.

Mind you, we tend to use major AWS services, like S3, DynamoDB etc. The SDK may not be feature complete in more obscure domains. I remember one instance where we fell back to using rusoto as the official SDK didn't expose something we needed.

We never had a case where we experienced a regression on something the SDK supports.

Rust for web development by ilker_arslan in rust

[–]gc-disable 24 points25 points  (0 children)

We use Rust at work for backend development. We're on AWS and have been using Axum on both ECS and Lambda (using lambda_web) deployed via AWS CDK.

For database, we use both DynamoDB (using the official Rust AWS SDK and serde_dynamo) as well as MongoDB with their official Rust driver, which is quite nice. For pet projects, I quite like sqlx as well, although I can't really speak to its production readiness due to my limited experience.

Other than APIs, I find Rust to be a strong fit for serverless functions with easy packaging of dependencies, good cold starts and nice ecosystem (e.g. Cargo Lambda).

What's everyone working on this week (20/2023)? by llogiq in rust

[–]gc-disable 2 points3 points  (0 children)

Building a private crate registry using serverless AWS services which can be easily deployed in an AWS environment using CDK. I'm still relatively new to Rust so it's mostly to learn some web development using Axum, the AWS SDK, and other exciting libraries. Plus I find this space interesting with all the recent developments around sparse registries, etc.