New features and how we can use them in existing applications
- Direct replacement for Sidekiq
- Moves queues from Redis to Postgres
- Moves caching from Reids to Postgres
We're probably not using this
- Moves ActionCable connections from Redis to Postgres
- Runs in a separate database on the same server
- Check Postgres instance size
- After upgrading all of these we can remove Redis
- ~$200p/m cache
- ~$500p/m queue
- Incrementally update individual jobs to use Solid
self.queue_adapter = :solid_queue
- Check Postgres metrics
- Possibly upgrade database server
- After upgrading Postgres instance
- Not sure how to incrementally change
- Review cache key generation π€
- Assume we're not using this in our applications
Authentication out of the box
- User
has_secure_password
normalizes :email_address, with: -> { it.strip.downcase }
- Session
- Database backed sessions make it easy to log everyone out
- Current
- Uses
ActiveSupport::CurrentAttributes
- Uses
- Sign in and sign out
- Password reset
- Token available through
has_secure_password
- Token available through
- Authentication isn't as scary as it used to be
- Authentication Zero gem is an excellent example
- Migrating away from Devise could be tricky
Thrusteris an asset compression and caching proxy ... to help your app run efficiently and safely on the open Internet.
β Possible performance gains βCheck with infrastructure
Propshaft is an asset pipeline library for Rails ... a dramatically simpler and faster asset pipeline compared to previous options, likeSprockets.
β Simpler and faster than Sprockets β Remove Webpack while you're there
Kamal 2for deploying your application anywhere ... youβll be ready to go into production in under two minutes.
β We have our own deploy pipeline β Take a look at the new Dockerfile and see how we could slim down our builds β Review test suite runs in CI
params.expect
replacesparams.require
β Prevents unwanted parameters - see GoRails video for more details β Rubocop rule has been added
π€ Probably a design question - I think we should. β Push notifications are coming - ActionNotifier
from MVP to_IPO_
- How I start a new Rails app with
asdf