mongodb accepts javascript functions to run server side.. sweet. hm.. it seems like they grab a global lock on the database when they run though, so I'm not sure if they're the right tool for my use-case of wanting to update a document in two separate collections at the same time. my current solution is to assume that the two updates may not have both succeeded, and make things still work in that case..

annoyance: when using find in chrome, every time I type a character which doesn't match anything, it beeps at me. looking for "no sound" setting.. google searches claim chrome isn't producing the sound.. solution: mac spotlight → "sound" → drag alert volume to zero.

No comments:

Post a Comment