---
title: Prefer Solid Adapters for Infrastructure (Rails 8+)
impact: MEDIUM
impactDescription: Simplify deployment and reduce external dependencies.
tags: rails, rails8, architecture, infrastructure
---

## Prefer Solid Adapters for Infrastructure (Rails 8+)

Simplify deployment and reduce external dependencies. For Rails 8 projects, prefer `Solid Queue`, `Solid Cache`, and `Solid Cable` over Redis-based solutions for standard workloads to keep the infrastructure "lean".

**Incorrect:**

```ruby
# config/environments/production.rb
config.cache_store = :redis_cache_store
config.active_job.queue_adapter = :sidekiq
```

**Correct:**

```ruby
# Rails 8 lean stack
config.cache_store = :solid_cache_store
config.active_job.queue_adapter = :solid_queue
```

**Tools:** Manual Review
---
