Re:CockroachDB beta-20161013
by bfrog on Thursday February 16, 2017 @01:40PM
(#13662368)
Couldn't this be a problem for application authors and a potential source of DoS activities? It seems this should be a big red warning flag somewhere.
[ Parent
| on HN ]
Re:CockroachDB beta-20161013
by stickfigure on Thursday February 16, 2017 @03:03PM
(#13663091)
Not really.
All databases tend to struggle to under contention. If you are an application author building a high-scale app, you need to avoid contention by design. That single counter row you were planning to increment on every visit? Bad idea; maybe insert a new visit record instead.
The contention in this example is an aspect of the test design, not database design. You wouldn't try to build an app this way.
Re:CockroachDB beta-20161013
by ej_campbell on Friday February 17, 2017 @12:50AM
(#13666228)
It'd only be a DOS vector, if the rest of the db bogged down during this type of contention.