Tag Archives: System Design

Java Multi Thread Basics 2

1. Singleton Design Pattern check null after get lock to avoid instantiate multiple times (other thread passed first null check and are waiting for the lock) 2. Producer and Consumer problem is not like Read and Write, it doesn’t allow … Continue reading

Posted in CS Research&Application, Uncategorized | Tagged , , | Leave a comment

How to design a Big Data Platform

Data Producer: Rider / Driver App, API / Services, Dispatch (GPS logs), Map Services Data Product (Uber Surge Pricing – high in traffic, low in free time) Real time pipeline (Kafka -> Surge / ELK / Storm / Samza) -> … Continue reading

Posted in CS Research&Application, Uncategorized | Tagged , | Leave a comment

How to design GFS/BigTable/MapReduce

How to design GFS/BigTable/MapReduce Foundation of Big Data Age Interviewer: design search engine How to read a paper? Find a suitable solution under your scenario instead of recite details What is the layers of search engine system? Layers of system … Continue reading

Posted in CS Research&Application, Uncategorized | Tagged , , , | Leave a comment

Make it work first, don’t over engineering

Nowadays, Test Driven Development (TDD) is so popular that software engineers are a group of people full of curiosity and spend a lot of time on learning and testing, like unit testing, integration testing and system testing. They design the test … Continue reading

Posted in CS Research&Application, IT, Uncategorized | Tagged , , , , , | Leave a comment

System Design Notes

From BitTiger https://www.youtube.com/watch?v=28n0DVP3U14   Template: SNAKE Scenario: case/interface (Enumerate & Sort) Necessary: constraint/hypothesis (Ask & Predict) Application: service/algorithm (Replay & Merge) Kilobit: data (Append & Choose) Evolve (Analyze & Trackback)   Node vs Server (physical vs virtual)   Server (Machine, … Continue reading

Posted in CS Research&Application, Uncategorized | Tagged , , | Leave a comment