Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming.threads > #2760

Re: More about scalability

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail
From Ramine <ramine@1.1>
Newsgroups comp.programming.threads
Subject Re: More about scalability
Date Sun, 07 Dec 2014 17:10:53 -0800
Organization A noiseless patient Spider
Lines 28
Message-ID <m62j71$mph$1@dont-email.me> (permalink)
References <m62hae$g4b$2@dont-email.me>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
Injection-Date Sun, 7 Dec 2014 22:09:37 +0000 (UTC)
Injection-Info mx02.eternal-september.org; posting-host="1ae5840e55f7298da80ae7cf67a723cd"; logging-data="23345"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pn2Bu+wx4LZqfluFJKYHX"
User-Agent Mozilla/5.0 (Windows NT 6.0; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0
In-Reply-To <m62hae$g4b$2@dont-email.me>
Cancel-Lock sha1:Ziuh/l432OT+dTxoVeOdDlkFItU=
Xref csiph.com comp.programming.threads:2760

Show key headers only | View raw


Hello,


But you have to use this optimization:


Hello,


If you want to implement an in-memory database with
my scalable distributed sequential lock, and you want
to optimize more the writer side, i mean if you want to
eliminate the expensive full memory barrier of the lock on the writer 
side , what can you do about it ? you can use for example a client 
server mechanism , that means the data is put by the producer threads on 
a queue , and the consumer thread will execute alone the
writer section, and this way you can delete the lock from
the writer side, this will make the writer section much much
faster.



Thank you,
Amine Moulay Ramdane.


Back to comp.programming.threads | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

More about scalability Ramine <ramine@1.1> - 2014-12-07 16:38 -0800
  Re: More about scalability Ramine <ramine@1.1> - 2014-12-07 17:10 -0800

csiph-web