RSS feed [root] /design /weblog




login:

password:

title search:




 


Sun Oct 01 16:19:43 HKT 2017

design



(google search) (amazon search)
second
download zip of files only

Thu Oct 17 18:16:02 HKT 2013 From /weblog/design/distribute

realtime


Few real time map reduce framework - http://www.infoq.com/news/2011/09/twitter-storm-real-time-hadoop

How facebook and twitter doing real-time analytic - http://natishalom.typepad.com[..]ers-approach-to-real-time-analytics.html

(google search) (amazon search)


Wed Jul 03 14:25:31 HKT 2013 From /weblog/design/examples

Lucene


How Lucene implement transaction - http://blog.mikemccandless.com/2012/03/transactional-lucene.html

(google search) (amazon search)


Sat Mar 02 17:01:24 HKT 2013 From /weblog/design

code metric


Contain resource of measurable code metric information - http://thediscoblog.com[..]20/code-quality-for-software-architects/

Meaningful Metrics - http://www.developsense.com/2009/01/meaningful-metrics.html

http://programmers.stackexchange.com[..]ions/115839/how-clean-should-new-code-be

Guidelines for a more appropriate use of metrics

Explicitly link metrics to goals
Favor tracking trends over absolute numbers
Use shorter tracking periods
Change metrics when they stop driving change

http://martinfowler.com/articles/useOfMetrics.html

(google search) (amazon search)


Thu Feb 14 12:33:33 HKT 2013 From /weblog/design/pattern

singleton


How to get ride of it - http://tech.puredanger.com/2007/07/03/pattern-hate-singleton/

Trying to make singleton testable - http://alexruiz.developerblogs.com/?p=1832

Why singleton? Some time may be just create the object once at the beginning is fine - http://www.butunclebob.com[..]ticleS.UncleBob.SingletonVsJustCreateOne

And a good article of telling why don't use singleton - http://www-106.ibm.com[..]works/webservices/library/co-single.html

About how to get it right in Java - http://idiotechie.com/?p=1256

(google search) (amazon search)


Sun Feb 03 11:10:31 HKT 2013 From /weblog/design/interview

Jim Showalter


Principal engineer at Intuit - http://www.javaworld.com[..]im-showalter-of-intuit.html&site=jw_core

(google search) (amazon search)


Tue Jan 29 10:35:26 HKT 2013 From /weblog/design

High level software design discussion


A nice table:
Do Don't
1. Focus on interfaces. 2. Be worried about the implementation.
3. Mention semantic contract using interfaces. 4. Let subtypes break this semantic contract of their parent types.
5. Service decoupling using interfaces. 6. Be coupled with specific concrete implementation.
7. Family extension using interfaces. 8. Break the family relationship using concrete implementation.
9. Establish a family rule by abstract classes. 10. Impose your own rule through concrete classes.
11. Let interfaces answer all "what" about the system. 12. Forget to mention "how" are you answering all "what" from interfaces.
Also a good introduction of Strategy pattern

http://today.java.net[..]/03/28/testing-java-object-oriented.html How to determine the levels of abstraction - http://programmers.stackexchange.com[..]w-to-determine-the-levels-of-abstraction Simple and clear, good design -> Correct, clear, easy to change - http://randomartifacts.blogspot.com.au[..]rrectness-clarity-and-changeability.html
(google search) (amazon search)


Mon Jan 28 21:31:57 HKT 2013 From /weblog/design

classic


List of Turing Award Lecture - http://c2.com/cgi/wiki?TuringAwardLecture

classic-computer-science-text - http://mark-watson.blogspot.com[..]0/classic-computer-science-text-and.html

How emacs is beautiful - http://martinfowler.com/bliki/InternalReprogrammability.html

(google search) (amazon search)


Mon Jan 21 17:07:23 HKT 2013 From /weblog/design

model


Agile Models Distilled: Potential Artifacts for Agile Modeling - http://www.agilemodeling.com/artifacts/

Difference between Association, Composition, Aggregation, Dependency, Abstraction, Realization, Generalization - http://techie-experience.blogspot.gr[..]1/quick-summary-object-associations.html

(google search) (amazon search)


Sun Jan 20 01:35:15 HKT 2013 From /weblog/design

DataStructure


"Bad programmers worry about the code. Good programmers worry about data structures and their relationships." - http://programmers.stackexchange.com[..]uote-about-good-programmer/163187#163187

Compare between schema and schema=less ( like key value mapping ) data - http://martinfowler.com/articles/schemaless/

(google search) (amazon search)


Tue Jan 01 10:28:13 HKT 2013 From /weblog/design

quote


Quotations on simplicity in software design - http://www.jbox.dk/quotations.htm

2 hard things, caching and naming - http://martinfowler.com/bliki/TwoHardThings.html


(google search) (amazon search)


Tue Dec 18 00:49:34 HKT 2012 From /weblog/design/interview

Alan Kay


Not interview, but a lot of useful link - http://www.codinghorror.com/blog/archives/001213.html

http://www.drdobbs.com[..]0_h&elq=c2568ee4975f4e69b244d72a9a8e2487

(google search) (amazon search)


Tue Oct 02 20:34:57 HKT 2012 From /weblog/design/distribute

spanner


Google spanner

https://cloudant.com/blog/cloudant-labs-on-google-spanner/
http://nosql.mypopescu.com[..]ogle-spanners?e57078b0?317bb970?b3b99980

(google search) (amazon search)


Mon Oct 01 23:49:18 HKT 2012 From /weblog/design

constructor


Examples of proper and inproper constructor - http://misko.hevery.com[..]s-guide/flaw-constructor-does-real-work/

(google search) (amazon search)


Wed Sep 26 21:45:25 HKT 2012 From /weblog/design

persistence


Polyglot Persistence, choosing difference approach for storage - http://martinfowler.com/bliki/PolyglotPersistence.html http://martinfowler.com/articles/nosql-intro.pdf

How leveldb store data? SSTable ( Sorted String Table ) - http://www.igvita.com[..]able-and-log-structured-storage-leveldb/

(google search) (amazon search)


Sat Jul 28 10:24:11 HKT 2012 From /weblog/design

object oriented


This article show some problems of abusing object, a good reading - http://www.codinghorror.com/blog/archives/000801.html

Why extends in evil - http://www.javaworld.com[..]avaworld/jw-08-2003/jw-0801-toolbox.html

Fundamental fault of procedure programming - http://c2.com/cgi/wiki?FundamentalFlawsInProceduralDesigns

OO suck?! http://harmful.cat-v.org/software/OO_programming/why_oo_sucks http://www.librador.com/2012/07/16/No-thats-not-why-OO-sucks/

(google search) (amazon search)


Sun Jun 10 22:54:15 HKT 2012 From /weblog/design/examples

llvm


The design of LLVM - http://www.drdobbs.com[..]9_h&elq=d513b4b897824dcc8fef763eaf9bc12a

(google search) (amazon search)


Fri Jun 08 01:22:23 HKT 2012 From /weblog/design

state machine


http://www.javacodegeeks.com[..]developers-never-use-state-machines.html

(google search) (amazon search)


Fri Jun 08 01:21:55 HKT 2012 From /weblog/design

text


Is it better to wrap all node with methods, or use regular expression to manipulate? I think we should use best tools case by case. - http://www.codinghorror.com/blog/archives/000617.html

Matching Wildcards: An Algorithm - http://www.ddj.com/architect/210200888?pgno=1

Generic Text Comparison Tool with LCS Approach - http://www.javacodegeeks.com[..]neric-text-comparison-tool-with-lcs.html

(google search) (amazon search)


Sun May 20 16:51:05 HKT 2012 From /weblog/design

immutability


Java Immutability - http://www.theserverside.com[..]_id=50161&asrc=EM_NLN_4133229&uid=703565

"A similar pattern is that with objects that you need to open before usage and make sure that they are closed on usage completion."

http://digerati-illuminatus.blogspot.com[..]2/initialize-pattern-and-open-close.html

Discussion of various approach that implement immutable class - http://discuss.joelonsoftware.com/default.asp?design.4.601499

How to create immutable class, and why it is better? - http://www.infoq.com/presentations/Immutable-Object

Immutable Event - http://blog.jonathanoliver.com[..]/cqrs-event-sourcing-and-immutable-data/

(google search) (amazon search)


Sun May 13 00:25:08 HKT 2012 From /weblog/design

reference


Contain discuss about if value object should be immutable or it is still ok - http://c2.com/cgi/wiki?ValueObject

MongoDB architecture - http://horicky.blogspot.com.au/2012/04/mongodb-architecture.html

Why clocksource.h is a nice API - http://queue.acm.org/detail.cfm?id=2187657&ref=fullrss

(google search) (amazon search)


Mon Apr 16 22:38:34 HKT 2012 From /weblog/design/distribute

storage


How facbook manage photo storage - http://www.facebook.com/note.php?note_id=76191543919&ref=mf

Promotion letter for oracle coherence, but still a good reading - http://highlyscalable.wordpress.com[..]e-of-high-performance-ecommerce-backend/

(google search) (amazon search)


Sun Mar 25 10:03:05 HKT 2012 From /weblog/design

defensive


A nice reference - http://hoskinator.blogspot.com[..]m/2006/07/what-is-defensive-copying.html

Defensive coding - http://www.javacodegeeks.com[..]nsive-programming-being-just-enough.html

(google search) (amazon search)


Thu Mar 01 22:35:45 HKT 2012 From /weblog/design/examples

mailinator compresses


How Mailinator compresses email by 90%, how to analysis the bottleneck and how to find the solution to get good compression ration and also fast to compress - http://mailinator.blogspot.com[..]w-mailinator-compresses-email-by-90.html

(google search) (amazon search)


Tue Feb 21 00:02:15 HKT 2012 From /weblog/design

trade off


Discussion of trade off between having modular design which is easy to test difference module independencely , verse have big testable context that able to write test for all module - http://blog.objectmentor.com[..]s/2007/06/11/collateral-effort-revisited

Discussion of trade off between performance and consistent about distributed system - http://www.allthingsdistributed.com[..]d.com/2008/12/eventually_consistent.html http://www.infoq.com/news/2008/03/ebaybase http://www.infoq.com/news/2009/01/EventuallyConsistent,

Discussion about good thing and bad thing for blocking method - http://javarevisited.blogspot.com[..]s-blocking-methods-in-java-and.html#more

(google search) (amazon search)


Wed Dec 21 21:30:43 HKT 2011 From /weblog/design

term


Compare related words - http://caminao.wordpress.com[..]011/12/11/reflections-for-the-perplexed/

(google search) (amazon search)