The Outlier Journey — Day 93
今天維持早起!雖然今天沒有有氧,不過晚上有簡易的腹肌訓練,先求有再求好,循序漸進。今天把單體第一階段內容都完成,然後花了很長時間了解整體交易邏輯,真的是有夠複雜,也手動發現可能會導致資料被複寫的問題:”下單後會建立order,建立後會進入撮合引擎(有鎖),如果沒找到就會進orde…
The Outlier Journey — Day 93

https://unsplash.com/photos/red-padlock-on-black-computer-keyboard-mT7lXZPjk7U
今天維持早起!雖然今天沒有有氧,不過晚上有簡易的腹肌訓練,先求有再求好,循序漸進。今天把單體第一階段內容都完成,然後花了很長時間了解整體交易邏輯,真的是有夠複雜,也手動發現可能會導致資料被複寫的問題:”下單後會建立order,建立後會進入撮合引擎(有鎖),如果沒找到就會進orderbook,接著進行資料整理後才進入交易處理撮合order的for update,都處理完之後才會去更新本單的 order”。我發現order建立後沒有鎖,最後還有被更新,這樣會導致撮合完進入orderbook的當下,其他單就會進入撮合,那這時別人撮合到這個單,就有機率資料被覆蓋,而且這份內容其實已經反覆給不同AI審核很多次,最後手動讀後才發現此問題,後來統一加入for update解決此問題。
—
Weekly Task Tracking:
P0(Must to do):
- Complete Exchange and Deploy to AWS: As mentioned above, and then start to use Redis.
- English (2/7): Only complete Daily Task on App.
- LeetCode: (0/7): No progress made today.
- Wake up at 7:00 (3/7)
- Arrange tomorrow’s schedule(3/7)
P1:
- Aerobic 20–30 min 3 times or more (1/3)
- Workout 30 min 3 times or more (2/3)
P2:
- Play the guitar 2 times (0/2)
- Try a never done before’s thing (0/1)
Task Deadline:
3/15: Complete Exchange and Deploy to AWS
3/17: Complete Interview Preparing
3/18~19: Start to find job
—
A word to myself today:
“Bad programmers worry about the code. Good programmers worry about data structures and their relationships.” — Linus Torvalds (平庸的程式設計師在意程式碼;優秀的程式設計師在意資料結構及其關聯。)
—
Date: 2026.3.11
메타데이터
- post_id
- e3a7e376eaef
- slug
- the-outlier-journey-day-93-e3a7e376eaef
- url
- https://medium.com/@rray12tw346/the-outlier-journey-day-93-e3a7e376eaef
- canonical_url
- https://medium.com/@rray12tw346/the-outlier-journey-day-93-e3a7e376eaef
- author_url
- https://medium.com/@rray12tw346
- status
- ok
- fetched_at
- 2026-06-24 16:30:55