过度自我审视的人生很难幸福

据说,未经审视的人生是不值得过的。这句话意在提醒我们,要经常思考、反省、甚至质疑自己的生活。但自觉并不广泛分布的性格特质,对于缺乏自觉的人来说,这句话是积极的。可是包括我在内,有很多人倾向于过度审视人生,追寻终极问题的答案甚至是我前三十年生活的主要旋律。但我现在越发觉得,这样的特质会阻碍我们获得快乐。

read more

《教父一》小说到电影的改编

麦克年轻的时候为什么会远离家族的生意?电影和小说的解释不同。电影里,最后一次和麦克谈话的时候,教父愧疚地表示,他对最终让麦克介入了家族生意感到遗憾。教父并不完全认同自己的事业,那种语气仿佛自己所做的一切不过是第一代移民为了生存的权宜之计。他希望儿子可以上大学、参军、从政,从事被社会主流所接受的行业,成为光明世界里面受到瞩目的人物。这显然是一种更加正面的价值观念,也更容易令观众接受。

read more

《Bing Mortal》凡人皆有一死

年轻的读者们往往难以想象生命——主要是自己的生命——如何不可逆转地从健康走向衰弱。我们也许偶然生病难受,感叹一句生命如此宝贵。然而病好之后,就把这些感悟和对医院的记忆一同抛在脑后。病痛对我们只是一种暂时的状态,衰老则是更加遥远的未来。《Being Mortal》的价值就是用一个又一个例子,填补我们关于死亡想象的空白。在《Being Mortal》里,死亡不再是一种遥远的,带着哲学意味的概念。葛文德谈论衰老的具体过程:身体机能的衰退,意料之外的跌倒,坐进轮椅,被人推进养老院,过上进食如厕洗澡都需要人辅助的日子,那绝对不是令人憧憬的画面。

read more

《以利为利》1994年的分税制改革

国企破产和现代化改革、设立股票交易所、建立现代金融体系等改革,都对中国当代的经济面貌影响重大。这其中,1994年的分税制改革又尤为重要。中国今天的许多宏观经济现状:土地财政、基础设施建设驱动的经济增长、国家层面的转移支付等等都可以从这次改革中找到历史源头。周飞舟的这本《以利为利:财政关系与地方政府行为》详细介绍了分税制改革的前因后果。作者分析了财政制度改革如何改变地方政府的激励和行为模式,并最终影响经济模式。对于想要了解中国当代经济史的读者这是一本极好的入门读物。

read more

Chapter 4: Good and Bad Cache Practices

Cache can help reduce the load to the database and improve the service performance, however, designing and using the cache in the optimal way is one of the most tricky problems. In Doordash’s monolithic world, there were many anti-patterns cache usage, which makes cache itself a scalability issue. In this chapter, I am going to revisit the bad practices using cache, and discuss the right principles as well as some interesting cache problems.

read more

Chapter 3: How to Scale SQL Database?

Database is oftentimes the bottleneck of service scalability and reliability. Between 2018 and 2020, Doordash experienced multiple site wide outages during our traffic peak hours due to database issues. Before we are able to break down the monolithic service, we need to put off the database fires to ensure the team has enough room to focus on the service extraction. In this chapter, I am going to introduce how we scale the SQL databases.

read more

Chapter 1: Decouple Client and Backend through BFF Layer

In the monolithic world, doordash service only has two layers: a python Django monolithic service as the backend, and the client layer, including the web and mobile clients. The simple architecture worked well when the business and the team were small, as it enabled the product team to move fast. However it doesn’t scale as it increases the overhead maintaining the backend.

read more

Introduction to Monolithic to Microservice Extraction

The biggest issues Doordash faced in the past few years are reliability and scalability challenges. They are connected: since we can’t scale the server as the business grows, we crash very often. In the worst outage, Doordash lost millions of dollars since it had to pay for the prepared food to the merchant and send extra apology credit to the customer besides the refund.

read more

职场杂谈:如何有效推动跨职能合作

我们大多数人或早或晚都会经历过跨团队跨职能的合作项目。能够有效推动这样的项目是个人领导能力最好的证明,也常常是晋升到高级职位必须的历练和必备的资历。跨部门合作之所以困难本质上是权力不足造成的。作为项目的推动者,你往往并不具备对这些合作的组织的直接权力。你能倚靠的只有自己日常建立起来的影响力和推动这类项目的技巧。

read more