Streaming LLM Responses
Play
24:10 CC

Streaming LLM Responses

#445 Mar 3, 2024 free
In this episode, we look at running a self hosted Large Language Model (LLM) and consuming it with a Rails application. We will use a background to make API requests to the LLM and then stream the responses in real-time to the browser.

Database Index Optimization and Migration Maintenance
Play
4:54 CC

Database Index Optimization and Migration Maintenance

#53 Nov 6, 2016 free
Adding indexes to your databases can increase the SQL search performance on your tables. As your application grows, migration files can become out of hand, use squasher to squish them down to a single file.

Pow
Play
3:28 CC

Pow

#1 Jul 18, 2015 free
Serve your applications on your development machine with ease. Pow allows a dev domain to your local machine for spinning up linked applications

Eager Loading with Goldiloader
Play
3:09 CC

Eager Loading with Goldiloader

#30 May 23, 2016 free
Wouldn't it be awesome if ActiveRecord didn't make you think about eager loading and it just did the "right" thing by default? With Goldiloader it can!

Counter Cache Associations
Play
3:54 CC

Counter Cache Associations

#78 May 1, 2017 free
When displaying a count of records, this will generate extra SQL Queries. Learn how to reduce the number of SQL queries called with counter caching the number of associated records.