Izolacja transakcji w aplikacjach Ruby on Rails

Na WRUG-u miałem przyjemność opowiedzieć o izolacji transakcji w ogóle oraz konkretnie w Railsach.

Zareklamowałem też dwa gemy mojej produkcji: transaction_isolation pozwala wygodnie manipulować poziomem izolacji transakcji. Gem jest dosłownie bezkonkurencyjny. Tzn. żadne inne dla ActiveRecorda nie istnieją.

Natomiast transaction_retry auto-ponawia transakcje, które zakończyły się błędem typu deadlock lub serialization error. Ten ma silną konkurencję w postaci starego deadlock_retry, ale nie pisałbym go gdyby nie miał być lepszy ;-)

Słowa kluczowe: serializable, repeatable read, read committed, read uncommitted, transaction isolation levels, deadlock found when trying to get lock, serialization error, ActiveRecord, gem.

Akcja "Oświeć Przyjaciół", podziel się znaleziskiem:
  • Wykop
  • Facebook
  • Twitter
  • Blip
  • email
  • del.icio.us
  • Blogger.com
  • Google Bookmarks
  • Śledzik
  • RSS
This entry was posted in polskie, programowanie, rails, ruby. Bookmark the permalink.

10 Responses to Izolacja transakcji w aplikacjach Ruby on Rails

  1. Niezwykle fajny post, interesujące teksty zalecam wszystkim

    Feel free to surf to my web-site – ocieplenie fundamentu

    • Jean says:

      Keep these arlectis coming as they’ve opened many new doors for me.

    • We think alike as I have been tossing around thoughts lately for a post about the turtle. Mine is how slow and steady wins the race for happiness in life but I like your thoughts on it. You know sometimes the best HNT’s are ones like these where you bare your thoughts and feelings.

    • http://www./ says:

      I always thought I would have a boy, then when they told me I was having a girl it made me feel oddly calm. Wasn’t sure I wanted a girl before then but already knew I couldn’t live without her.

    • The article & dogwatcher both describe where anxiety has taken me so accurately.I didn’t know this before, I did know that I was getting more & more limited & I isolate. It’s a big deal if I go anywhere & when I do, it’s a last minute decision that I’ve postponed for some time. I thought it was due to my getting older, old people do this. Yet, I knew better.Thank you so much for the accurate discription. I feel understood, for one thing, for another, I know what to do.

    • http://www./ says:

      This “free sharing” of information seems too good to be true. Like communism.

  2. Aw, this was a very nice post. Taking the time and actual effort to
    make a superb article… but what can I say… I hesitate a lot and never manage to get anything done.

    My web-site printing press in dubai

    • Stormy says:

      Oui, il est follement amusant de voir les équipes de Marine Le Pen de déchainer après la publication d’un article la concernant qui ne fait pourtant pas partie de ce qui est paru de plus critique la concernant ! Mais l&a#p17;8p2roche des présidentielles met au garde à vous les geeks qui entourent la candidate ! Beau travail Messieurs, mais un peu trop visible et manquant de finesse à mon goût.

  3. Superb, what a website it is! This web site provides useful facts
    to us, keep it up.

  4. Etejee says:

    Thanks for any other excellent post. The place else could anyone get that kind of info in such
    an ideal way of writing? I’ve a presentation subsequent week, and I’m on the
    look for such info.

    Feel free to visit my homepage; ultimate team coins

Leave a Reply

Your email address will not be published.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>