@bascule @headius @evanphx @yukihiro_matz not sure we can ever get completely away from thread locals. e.g. http://thierryroussel.free.fr/java/books/martinfowler/www.martinfowler.com/isa/registry.html …
-
-
Replying to @tenderlove
@tenderlove@headius@evanphx@yukihiro_matz why can't you check out and return connections on demand from a connection manager singleton?1 reply 0 retweets 0 likes -
Replying to @bascule
@bascule@headius@evanphx@yukihiro_matz and look up by current thread object id?3 replies 0 retweets 0 likes -
Replying to @tenderlove
@tenderlove@headius@evanphx@yukihiro_matz I guess the question is why cache the connection in a thread local?1 reply 0 retweets 0 likes -
Replying to @bascule
@bascule@tenderlove@headius@yukihiro_matz Asking for the last insert id probably depends on using the same connection.1 reply 0 retweets 0 likes -
Replying to @evanphx
@evanphx@tenderlove@headius@yukihiro_matz aah yes :| Is there a reasonable approach to thread affinity aside from thread locals?1 reply 0 retweets 0 likes -
Replying to @bascule
@bascule@tenderlove@headius@yukihiro_matz You could use in ivar on the Thread object (which are not what Thread#[] uses)2 replies 0 retweets 0 likes -
Replying to @evanphx1 reply 0 retweets 0 likes
-
Replying to @tenderlove1 reply 0 retweets 0 likes
-
Replying to @bascule2 replies 0 retweets 0 likes
@tenderlove @evanphx @headius so I can monkeypatch ActiveRecord to work with Celluloid better... what's the real fix though?
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.