• Category Archives: cache

Ruby global method cache invalidation impact on a single and multithreaded applications

Most of the programmers treat threads (even green threads in MRI) as a separate space, that they can use to simultaneously run some pieces of code. They also tend to assume, that there’s no “indirect” relation between threads unless it is explicitly declared and/or wanted. Unfortunately it’s not so simple as it seems… But before […]

Read more at the source

Ruby on Rails and Dragonfly processed elements tracking with two layer cache – Memcached na ActiveRecord underneath

Dragonfly is a great on-the-fly processing gem, especially for apps that rapidly change and need files processed by multiple processors (for example, when you need to generate many thumbnails for the same attached image). Since it is a on-the-fly processor, it has some downsides, and the biggest one, in my opinion, is keeping track of […]

Read more at the source
close