You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 18, 2018. It is now read-only.
I'm implementing a CouchDB datastore to contribute back and I'm having a number of questions.
My plan at the minute is to get some sort of reasonable implementation, then post a pull-request with the intention of getting feedback on design decisions and polishing off anything you think needs improved.
Of import at the moment is whether or not Curator is considered to be thread-safe.
Under ordinary circumstances, CouchDB will generate an ID for new documents on creation if one isn't provided.
However, as a means of collection separation (and to allow us to 'find all' by collection without the need for a design doc), the data store will store docs with an ID of "#{collection_name}_#{uuid}" - where the UUID is fresh from a cache inside Curator from Couch's /_uuids API.
Apologies for the information overload - is Curator currently considered thread-safe? Such a UUID cache would require (minor) thought to be made thread-safe, as Ruby's arrays currently aren't.
Thanks
The text was updated successfully, but these errors were encountered:
Hi guys,
I'm implementing a CouchDB datastore to contribute back and I'm having a number of questions.
My plan at the minute is to get some sort of reasonable implementation, then post a pull-request with the intention of getting feedback on design decisions and polishing off anything you think needs improved.
Of import at the moment is whether or not Curator is considered to be thread-safe.
Under ordinary circumstances, CouchDB will generate an ID for new documents on creation if one isn't provided.
However, as a means of collection separation (and to allow us to 'find all' by collection without the need for a design doc), the data store will store docs with an ID of
"#{collection_name}_#{uuid}"
- where the UUID is fresh from a cache inside Curator from Couch's /_uuids API.Apologies for the information overload - is Curator currently considered thread-safe? Such a UUID cache would require (minor) thought to be made thread-safe, as Ruby's arrays currently aren't.
Thanks
The text was updated successfully, but these errors were encountered: