When distributed locks might be helpful in Ruby on Rails application

During this year I noticed 2 similar concurrency problems with my Ruby on Rails application and I solved them with distributed locks. I’m going to show you h… Read more

Similar

Why is Ruby on Rails’ default_scope bad?

A pretty popular opinion in the Ruby on Rails community is that default_scopes should not be used for any reason. However, often it's not fully explained why default_scopes are harmful to applications. Default Scopes are harmful because they are unexpecte... (more…)

Read more »