RSS feed [root] /design /weblog



title search:


Thu Jan 25 22:38:50 GMT 2024


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

Sat Feb 05 13:10:09 GMT 2022 From /weblog/design/pattern


Lenses in Java -

(google search) (amazon search)

Wed Jan 26 11:53:53 GMT 2022 From /weblog/design/examples


Alright folks, gather round and let me tell you the story of (almost) the biggest engineering disaster I’ve ever had the misfortune of being involved in. It’s a tale of politics, architecture and the sunk cost fallacy [I’m drinking an Aberlour Cask Strength Single Malt Scotch] -

Uber Architecture and System Design -[..]hitecture-and-system-design-e8ac26690dfc

Designing Uber -

(google search) (amazon search)

Wed Jan 19 13:44:27 GMT 2022 From /weblog/design/interview


I love the tool that Linus using -[..]23/stiff-asks-great-programmers-answers/ and here is the abstract -

Ted interview with Linus -

Not really interview, just a discuss of what programmer difference from other -[..]in-on-codewhat-makes-you-able-to-program

Vote for most-influential-programmers -[..]02/most-influential-programmers-results/

Few links about Knuth -

Not really an interview, just with few pointers of few articles -

Robin Milner, creater of ML -[..]nology/2010/apr/01/robin-milner-obituary

Things Every Programmer Should Know -[..]things-every-programmer-should-know.html

egnyte -[..]ons-learned-in-building-and-scaling.html

Bram Moolenaar: "Vim is a very important part of my life." -

(google search) (amazon search)

Wed Jan 19 00:24:47 GMT 2022 From /weblog/design/distribute


In one sentence, here's why: humans are notoriously bad at keeping "self" distinct from "other". Egomania, projection (transference), and enmeshment are well-known symptoms of this problem. OK, so I hear you saying, "yeah, but what does this have to do with programming?" It certainly seems absurd to suggest that if we are bad at something we know the most about (our "selves"), how could we possibly say that we have a good approach for the programming analogues - objects, modules, etc. -

Argue why space base design is better than n-tier design -[..]0The%20End%20of%20Tier-based%20Computing

Some key research of google for distributed computation -

Someone think we are not yet (per Oct 2007) have good language support for distibuted computing -

A blog contain a lot distributed computing information -

How Wikipedia manage their site -

Google tutorial for Design Distributed System -

The Hadoop Distributed File System: Architecture and Design -[..]-a-list-of-distributed-key-value-stores/

Applying experience from CPU design for distributed solution -[..]o/post/26909672264/on-distributed-memory

Distributed systems for fun and profit -

Monitor and design -[..]buted-mission-critical-applications.html

Uber case study -[..]les-their-real-time-market-platform.html

Load balancer design -

Some issues of distributing logic to difference systems -[..]t-f-up-your-microservices-in-production/[..]lised-solution-to-distributed-consensus/

Two Phase Commit -[..]istributed-systems/two-phase-commit.html

(google search) (amazon search)

Wed Jan 19 00:23:06 GMT 2022 From /weblog/design/examples


(google search) (amazon search)

Sat Jan 15 11:28:58 GMT 2022 From /weblog/design


What's in a Good Error Message? -

(google search) (amazon search)

Tue Jan 04 13:59:20 GMT 2022 From /weblog/design


System wide unique nanosecond timestamps -[..]m-wide-unique-nanosecond-timestamps.html[..]22/01/distributed-unique-time-stamp.html

(google search) (amazon search)

Tue Jan 04 04:32:08 GMT 2022 From /weblog/design/examples


ZeroMQ: The Design of Messaging Middleware -[..]&siteSectionName=architecture-and-design

When NOT to use a message queue -

现代IM系统中的消息系统架构 - 架构篇 -

(google search) (amazon search)

Sat Jan 01 12:44:21 GMT 2022 From /weblog/design


Date handling look simple but easy to fail in trap. Even worst is this is easy to have bad data which hard to fix. Here is an example -

One tip for testing application with time dependence, treat it as random -[..]

Explanation of issues of Joda-time, basically it still haven't map the human view of time close enough than machine view of time -

Screencast of how to driven a fluent Date API -[..]-apis-in-java-episode-1-comparing-dates/

解读数据架构的 2021:大数据 1.0 体系基本建成,但头上仍有几朵乌云 -

(google search) (amazon search)

Sun Nov 28 12:45:20 GMT 2021 From /weblog/design/examples


Life of a Netflix Partner Engineer — The case of the extra 40 ms -[..]eer-the-case-of-extra-40-ms-b4c2dd278513

A look under the hood of the most successful streaming service on the planet -

(google search) (amazon search)

Sun Nov 21 13:07:33 GMT 2021 From /weblog/design/examples


Crashproofing the Original NoSQL Key-Value Store -

The history of Berkeley DB -

(google search) (amazon search)

Mon Aug 23 14:12:35 GMT 2021 From /weblog/design/examples


10 Things You Didn’t Know About jOOQ -

(google search) (amazon search)

Sat Jul 24 14:13:07 GMT 2021 From /weblog/design/pattern


Saga Orchestration for Microservices Using the Outbox Pattern -

(google search) (amazon search)

Fri Jun 18 01:04:27 GMT 2021 From /weblog/design/interview

Linus Torvalds

(google search) (amazon search)

Sat Feb 20 13:09:12 GMT 2021 From /weblog/design/examples


建在大数据上的郑州地铁 -

(google search) (amazon search)

Sun Jan 31 13:17:02 GMT 2021 From /weblog/design


Best Practice: Application Frameworks -

(google search) (amazon search)

Sun Jan 31 11:07:40 GMT 2021 From /weblog/design


Fast synchronization between a single producer and single consumer -[..]eenASingleProducerAndSingleConsumer.aspx

Lock free queue idea. -[..]read/thread/82066179448783da?hl=en&pli=1

Use of Disruptor -

Use of Queue -[..]ble-presents-queue-er-message-queue.html

Discuss about the "Railway approach" of producer consumer queue -[..]ormance-Java-Inter-Thread-Communications[..]alternative-multi-producer-approach.html

Probably worth to consider replacing queue by actor -[..]implifying-trading-system-with-akka.html

AbstractQueueSynchroniz -

(google search) (amazon search)

Sun Jan 24 12:25:17 GMT 2021 From /weblog/design/distribute


1. Use Cloud for Scaling
2. Use Cloud for Multi-tenancy
3. Use Cloud for Batch processing
4. Use Cloud for Storage
5. Use Cloud for Communication

Database in cloud -[..]int?articleId=218900502&siteSectionName=

An overview of the Hadoop/MapReduce/HBase framework and its current applications in bioinformatics -

The architecture that survived when amazon outage -

Introduction of few tools for cloud development -[..]/01/best-development-tools-in-the-cloud/[..]/07/developing-and-testing-in-cloud.html

Google Finds: Centralized Control, Distributed Data Architectures Work Better than Fully Decentralized Architectures -[..]control-distributed-data-architectu.html[..]ticles/understanding-clouds-significance

Failover -[..]rchitectures-for-mitigating-aws-outages/

(google search) (amazon search)

Sat Jan 16 13:46:09 GMT 2021 From /weblog/design


如何优雅地重试 -

(google search) (amazon search)

Wed Dec 02 13:09:08 GMT 2020 From /weblog/design

logging[..]08/12/16/7-good-rules-to-log-exceptions/ - look obvious but a lot of program still make those mistakes.

Do you prefer log more or log smarter? It is good to log smart but if you log more, even if you not smart enough, you still have the data. -

Basic log techniques -

Advances and Challenges in Log Analysis -

Filtering only useful stacktrace -[..]ter-irrelevant-stack-trace-lines-in.html

Some suggestion about logging -[..]/10-tips-proper-application-logging.html and

9 Logging Sins in Your Java Applications, the "Logging Plain User Input" is a good one -[..]9-logging-sins-in-your-java-applications

Java Logging Best Practices: 10+ Tips You Should Know to Get the Most Out of Your Logs -[..]ogging-what-should-you-log-and-what-not/

(google search) (amazon search)

Sun Oct 11 13:31:07 GMT 2020 From /weblog/design


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

Compare between schema and schema=less ( like key value mapping ) data -

Simple AVL tree -

逼着面试官问了我 ArrayList 和 LinkedList 的区别,他对我彻底服了 -

(google search) (amazon search)

Sun Oct 11 11:44:53 GMT 2020 From /weblog/design


Why should you combine Reliable Messaging with Distributed Caching -[..]MessagingDistributedCaching/article.html

Read from cache, write the message system -

All You Need to Know About ActiveMQ -

(google search) (amazon search)