tag:blogger.com,1999:blog-7359352975660439424.post1986822077230717745..comments2020-12-27T07:42:15.731-05:00Comments on Backyard Bamboo: Database Trigger vs. ActiveRecord CallbackMichaelhttp://www.blogger.com/profile/01020829360408821410noreply@blogger.comBlogger1125tag:blogger.com,1999:blog-7359352975660439424.post-59356791187167373242010-02-28T10:38:58.674-05:002010-02-28T10:38:58.674-05:0093% is a huge difference, but you went from 18 to ...93% is a huge difference, but you went from 18 to 9 which is only half. Measuring the POST time here does not make sense because you should be concerned with measuring only the thing that is changed -- the business logic encapsulated by the callback or trigger. Before changing the mechanism, however, you often want to make sure your algorithm is correct, i.e. no n*m joins and using distinct toUnknownhttps://www.blogger.com/profile/12664105741318872224noreply@blogger.com