Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lockless read of MongoUrl cache #118

Closed
wants to merge 3 commits into from
Closed

Commits on Jun 16, 2012

  1. MongoUrl cache implementation with less locking

    Using check-lock-check, no need to take a lock on each cache read.
    nurih committed Jun 16, 2012
    Copy the full SHA
    7d1a387 View commit details
    Browse the repository at this point in the history
  2. Get local ref to cache instance

    nurih committed Jun 16, 2012
    Copy the full SHA
    0b204f4 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2012

  1. Lockless read from existing dictionary

    Lock used for writes only. Any reader goes against existing "current"
    cache ref.
    Any writer replaces shared dictionary ref under lock.
    nurih committed Jun 23, 2012
    Copy the full SHA
    8c05a25 View commit details
    Browse the repository at this point in the history