Skip to content

Bhanu's Blog

it's not about being the best it's about being better than yesterday

Bhanu's Blog

it's not about being the best it's about being better than yesterday

Day: October 15, 2023

ruby

Defending Your Rails Application Against DDoS Attacks with Rack::Attack

  • Surya Singh
  • Posted on October 15, 2023

Distributed Denial of Service (DDoS) attacks can wreak havoc on web applications, causing server overload and unavailability. As a Ruby on Rails developer, you can bolster your application’s defenses against such attacks using the Rack::Attack gem. In this blog, we’ll explore what DDoS attacks are, why Rack::Attack is a vital tool, and how to implement…

Read More
ruby

Rails Profiling with Bullet: Identifying N+1 Query Problems

  • Surya Singh
  • Posted on October 15, 2023

One of the most common performance bottlenecks in Ruby on Rails applications is the N+1 query problem. This issue occurs when your application makes multiple unnecessary database queries when a more efficient approach could be used. Bullet is a gem that helps identify and address N+1 query problems in your Rails application. What is the…

Read More

Recent Posts

  • TIL: Docker Namespaces
  • My Experience with LG Ultragear 32GS60QC (32 inch)
  • TIL: Value Classes
  • Counting Subarrays Where the Max Appears At Least K Times (LeetCode 2962)
  • Solo motorcycle trip to Ratnagiri from Mumbai

Copyright © All rights reserved. Proudly powered by WordPress | Theme: Blog Nano by ThemeMiles.