Alan Stebbens

Results 12 comments of Alan Stebbens

Feel free to help test the new `:align` attribute in my fork [http://github.com/aks/table_print/]. There are "helper" functions too, like: "as_num(WIDTH)" and "as_money(WIDTH)", so you can do something like this: tp...

FYI. To get migrations done correctly on the master, with a correct schema dump, I had to disable the replica before the migration, and re-enable it after. Would be good...

Hi Tsukasa-san, ひさしぶりですね。 Have you considered how to maintain cache-coherency in the replica caches when master-writes occur?

Thanks for the report. I have a pending update that should address these errors.

I've reviewed the makara code, and the AR code that was in the stacktrace. Here are my findings: In `makara_abstract_adapter.rb`, line 108, makara hijacks the core AR methods: hijack_method :execute,...

@swordfish444 -- we switched to evaluating two other gems: `octopus` and `fresh_connection`. Both are less complex gems, work with multi-threaded environments, and also manage the cache coherency problem.

See this PR https://github.com/ex-aws/ex_aws/pull/651

Well, maybe. I've already forked the makara repo, and have added a hijack on the `connection` method. However, that change was insufficient. There are still AR timeouts occurring in our...

The `fresh_connection` gem (https://github.com/tsukasaoishi/fresh_connection) has an elegant way to insert itself into AR, without having to "hijack" lots of methods.