uwiger / locks

A scalable, deadlock-resolving resource locker
Mozilla Public License 2.0
204 stars 26 forks source link

benchmark sourcecode ? #32

Closed benoitc closed 6 years ago

benoitc commented 7 years ago

is the source code of the bench application used in your presentation [1] available? is there any usage in prod you're aware of btw?

[1] http://www.erlang-factory.com/static/upload/media/1402393233214750euc14wigerlocks.pdf

uwiger commented 7 years ago

The bench code is in examples/src/bench.erl

I've received some feedback on the locks_leader, so some people seem to be using that (and I'm thinking about moving gproc onto it). Other than that, I'm not aware of any production use of the locking mechanism.

benoitc commented 7 years ago

sorry i didn't see the module :) thanks. Also I think I already asked, but what about using the code for local locks? Would it be overkill? I'm wondering of the cost of using 1 process to maintain the transaction instead of maintaining locally for example.

benoitc commented 6 years ago

closing issue since it has been answered :) thanks!