Category: Web

AWS S3 setup with Django-storages and Boto

We use many technologies on the Web & backend team here at Raizlabs. Like most projects that involve a user-facing website, we have static files and assets that get served with the page. In cases where Django (and associated libraries) are the basis for the web portion of the project, we like to ensure that […]

Read More

Avoiding N+1 Queries with Rails Virtual Attributes

Virtual attributes in Rails can be useful for eliminating N+1 queries, which often lead to slower requests and increase the need for premature scaling. What Are N+1 Queries? N+1 queries can occur whenever we have records with has_many associations that we lazy load in our application. When loading a set of records and then loading each […]

Read More