[root] /concurrency /design /weblog




login:

password:

title search:




 

Tue Aug 05 02:52:06 HKT 2008

concurrency



(google search) (amazon search) second
download here

Tue Aug 05 02:52:06 HKT 2008 From /weblog/design/concurrency

Concurrency


Nice conclusion of a tip of writing safer concurrency code - http://www.artima.com/forums/flat.jsp?forum=276&thread=178345

Immutability in java, not sure if other language have similar attributes also - http://www.theserverside.com[..]_id=50161&asrc=EM_NLN_4133229&uid=703565

(google search) (amazon search)


Fri May 23 18:44:43 HKT 2008 From /weblog/design/concurrency

lock


10-ways-to-reduce-lock-contention-in-threaded-programs - http://www.thinkingparallel.com[..]ce-lock-contention-in-threaded-programs/

Discussion about lock the form and prevent 2 user edit it in the same time and currupt the object, what is the possible drawback. - http://www.dcmanges.com[..]-optimistic-locking-isnt-a-silver-bullet

(google search) (amazon search)



Fri Nov 23 15:53:06 HKT 2007 From /weblog/design/concurrency

deadlock


Deadlock detector sample - http://www.onjava.com/lpt/a/5246 http://www.javaspecialists.eu/archive/Issue130.html http://www.javaspecialists.eu/archive/Issue147.html

Deadlock problem, to be honest I haven't encounter much issue about this, may be I already design my code good :-) Anyway keep as reference and see if it useful in the future

http://jdj.sys-con.com/read/204688_p.htm http://ddj.com/cpp/202802983;?_requestid=414307

A blog comment about database deadlock very detail - http://softarc.blogspot.com[..]2007/04/java-wish-list-2-retry-code.html


(google search) (amazon search)



Thu Sep 13 02:01:25 HKT 2007 From /weblog/design/concurrency

Transactional memory


Someone say the basic idea behind transactional memory is that memory is shared by all the threads in a read-only manner. Threads modify data by "committing" objects to shared memory. If a thread commits on top of a dirty object then it has to "rollback" and retry.

http://research.sun.com[..]007/2007-08-13_transactional_memory.html
http://www.hpcwire.com/hpc/1196095.html

(google search) (amazon search)