Skip to content
This repository has been archived by the owner. It is now read-only.

twistedcaldav.directory.idirectory interfaces should return Deferreds. #79

Closed
macosforgebot opened this issue Dec 9, 2006 · 10 comments
Closed

Comments

@macosforgebot
Copy link

@macosforgebot macosforgebot commented Dec 9, 2006

@dreid originally submitted this as ticket:93


This will be essential for a pure LDAP backend using Ldaptor. Indeed it'll be necessary for any directory service using the network and the blocking appleopendirectory implementation should already be deferred to a thread to prevent blocking.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Dec 11, 2006

@wsanchez originally submitted this as comment:1:⁠ticket:93

  • Status changed from new to assigned
  • Priority changed from 5: Not set to 2: Expected
  • Milestone set to Preview 1
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Dec 12, 2006

@wsanchez originally submitted this as comment:2:⁠ticket:93


Well, for long-latency directory services, we probably was a persistent cache that always returns a value right away, and a background thread which refreshes the cache if the server is actively using the directory.

The flaw in the current OpenDirectory implementation is that when the cache expires, we block again. We should instead do a background cache refresh and return what's current in the cache.

However, for services where caching may not be used (eg. XMLFile), a non-blocking API is probably appropriate.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jan 29, 2007

@wsanchez originally submitted this as comment:3:⁠ticket:93

  • Milestone changed from Preview 1 to Version One
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jul 30, 2007

@wsanchez originally submitted this as comment:4:⁠ticket:93

  • Milestone changed from 1.0 to 2.0
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Oct 26, 2009

@wsanchez originally submitted this as comment:5:⁠ticket:93

  • Milestone changed from CalendarServer-2.x to CalendarServer-3.x
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Oct 26, 2009

@wsanchez originally submitted this as comment:6:⁠ticket:93

  • Owner changed from @wsanchez to @glyph
  • Status changed from assigned to new
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Aug 1, 2011

@wsanchez originally submitted this as comment:7:⁠ticket:93

  • Radar deleted
  • Milestone changed from CalendarServer-3.x to CalendarServer-4.x
@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jan 24, 2013

@wsanchez originally submitted this as comment:11:⁠ticket:93

  • Milestone changed from CalendarServer-4.x to CalendarServer-6.x

This impacts a lot of code… hopefully v6?

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Jan 7, 2014

@wsanchez originally submitted this as comment:15:⁠ticket:93


twext.who is the new hotness and does this right. It's almost ready for us to adopt. Needs LDAP and some work on OD.

@macosforgebot
Copy link
Author

@macosforgebot macosforgebot commented Apr 10, 2014

@wsanchez originally submitted this as comment:16:⁠ticket:93

  • Status changed from new to closed
  • Resolution set to Software changed

twext.who usage is in trunk. twistedcaldav.directyory is now largely obsoleted. Woot!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.