How Airbnb Improved Response Time by 17% By Moving Objects From Memory To Disk - 2 views
-
Peter Vojtek on 14 Jan 14the translated strings are stored on the heap, where the garbage collector must scan over the objects on every run (at least in the case of Ruby MRI). For a mature process with all the translations loaded, this is almost 1 million objects! Second, each process has its own copy of the strings.