Fragen im Vorstellungsgespräch bei Elastic: In case a field has high cont... |

Frage im Vorstellungsgespräch

Java Engineer-Vorstellungsgespräch Remote, OR (Vereinigte Staaten von Amerika)

In case a field has high contention (many threads accessing

  it in parallel), what could you do about it?

Antwort im Vorstellungsgespräch

2 Antworten


Check if you could use instead of one, let's say AtomicLong, many AtomicLongs and apply some round-robin or modulo approach, changing them independently from each other. In case an over all sum is needed, this can be only done with weak consistency guarantees though.

Bewerber im Vorstellungsgespräch am 21.07.2017

Wondering if anyone tried using Rooftop Slushie? Seems like you can ask questions and get answers from Elastic employees.

Anonym am 15.07.2019

Antwort oder Kommentar posten

Um dies zu kommentieren, bitte anmelden oder Konto anlegen.