News for hackers. Stuff that matters.
Re:Cogs bad by eridius on Wednesday February 22, 2012 @03:46PM (#3622399)
Isn't a read-write lock only really useful if you have more readers than writers? I would not be surprised if the amount of incoming spam means mailinator has far more writing to do than reading.
Re:Cogs bad by hythloday on Wednesday February 22, 2012 @05:17PM (#3622739)
Maybe! My point isn't that Mailinator made the wrong choice (in fact I said they probably made the right one)--it's that the decision for a situation we know nothing about is more complex than "Cogs bad".
Re:Cogs bad by dblohm7 on Wednesday February 22, 2012 @04:08PM (#3622482)
Read-write locks also have involve more overhead, so the work that must be done while holding the lock had best be significantly more costly than what's required to take the lock itself.