依依不舍的2018

2018年已经过去了,我这才意识到。当事事都很顺利时,时间就过的很快,仿佛是快进模式。

有一件事让我受益匪浅。

2017年年底时,我老板得到更好的职位于是离开了AFL,这让我多少有些失望,因为我觉得我跟他蛮和得来的。和我这有棱有角的脾气能和得来的也确实不多。后来新老板来了我想,这位没准儿跟我就和不来吧。幸运的是事情不是像我预测的那样糟。

老板是意大利裔,在土澳长大。他居然对中国特别是四川颇有了解,因为他曾经在重庆的一家外企带过队伍。当时他面对食品一条街从头到尾的红辣椒真是一筹莫展,庆幸可口可乐里没有加辣椒。

老板最初的几个小项目我都参与并顺利完成了,这是个好的开端。一次我们谈工作时,我提出团队工作流程里一些残留问题。他问:为什么这个问题一直没得到解决呢?我说:困难不在技术层面,而是资深员工不赞成革新,可能需要领导层面介入才行。他没有反对,于是我期待他能在团队会议上提出这个问题并执行革新,但这迟迟没有发生。

后来老板做了团队拓展活动,离开办公室去讨论内部问题,包括工作流程问题,时间是一整天。我有些不解:革新方案是明摆着的,上行下效不就完事了么?为啥用一天?会议中,保守派给出了很多工作流程没有改变的历史原因,作为改良派的牵头人,我则据理力争给出革新后的工作流程的优势。然后全部团队成员投票,改良派的方案以一票之优势胜出!

事后老板跟我说,他当然知道改良派的方案是更好的,但是土澳人民的价值观在这就体现了出来,每个人的意见都很重要,因此得到多数人的支持才是最重要的。老板笑着说,比起中国,土澳做事情的确很慢,一个项目可能要争论很久才能批下来,修一条路,如果要拆迁的居民不同意,那就只能想办法绕开。这对我的启示真是不小,因为我尽管自以为自己支持民主,但事到临头时还是希望把自己的观点灌输给别人。

入乡随俗,还有很多事物需要学习。:)

柳暗花明的2017

对比忙于奔命的2016年, 2017年是收获颇丰但又不失平衡的一年.

在3月份, 我们一家宣誓成为了土澳的公民. 这是我们这几年一直期待的, 当然, 事到临头心情却是复杂的. 另外在公民仪式上我们得到一份礼物, 一盆土澳特有的本地花卉. 我想着本地物种应该很有能耐吧, 就随便把它放在花园里了. 结果冬天没过完它就死了…

有了”身份”后我想着要是有机会去很”土澳”的公司工作一下一定能学到很多”精髓”, 没想到不久之后我很走运的拿到了AFL的工作offer, 没有像以往那样在最后一轮面试时落马. 工作上的收获就不赘述了, 之前的笔记有很多都是这方面的.

二宝在年初时中耳积液, 导致几乎失聪, 之前学会的咿咿呀呀也都忘了. 医生起初认为二宝是自闭儿童, 把我们愁了个不轻. 还是老婆意志力比较强, “毛病再多也得把她养大”, “我们没有别的选择”. 好在给二宝戴助听设备数月之后, 二宝的听力貌似开始恢复了, 逐渐开始响应我们的呼唤. 她并不是自闭, 只是什么都没听到, 生活在静音的世界里.

收获最大的当属大宝笑笑, 终于在老婆的威逼利诱下对家里已经买了二年多的钢琴产生了兴趣. 而且我们在居住区附近找到了大宝的钢琴老师, 让大宝把钢琴+五线谱一起学了. 几个月以后笑笑参加了老师组织的汇报演奏音乐会. 笑笑在绘画方面的进步也很大, 我让她把自己的作品扫描上传到她自己的blog, 但她似乎兴趣不大, 上一次更新停在3月… 笑笑的期末评估也很好, 所有科目都比去年的成绩好(因为去年以及前年我们陪笑笑的时间也少).

今年完成的另一件大事是我帮爸妈提交了移民申请, 希望几年后能顺利团聚. 父母的移民申请基本上是DIY的, 填写的表格可以铺满地板. 感谢老婆的支持以及”过来人”朋友的经验分享. 土澳移民的确越来越难了.

🙂

The Burnout Effect

Back in October 2015 I got an offer from a big data startup, and after 1 year and 4 months I decided to move on.

There’s a 3D printer and a drone in the office and the team was talking about Fallout 4 in the morning because it was just released. I thought the company and the team were very cool and I still think so now.

My first challenge was to migrate a self-hosted MySQL database to AWS Aurora, because the MySQL server was over stretched and felt like it could collapse anytime soon. I was quite experienced at MySQL so I didn’t think that would be hard. However there were some complications: The MySQL was a huge VM managed by Ganeti cluster and backed by DRBD volumes and the best of all was that the disks were old school magnetic SAS disks.

The DB migration tool recommended by AWS just failed randomly on large tables(~400GB). It wasn’t acceptable to do a full mysqldump(~1TB) and setup replication to Aurora because that will cause huge downtime. And since there’s no access to the Aurora’s system, the option to use LVM snapshot was out too. I thought there must have a way so I created a MySQL replica in the same cluster using LVM snapshot, then setup replication between the replica and the master.

After the replication was done and verified between the master and the replica, I had the opportunity to pause the replication and do mysqldump on the replica and then setup another replication between the replica MySQL and Aurora. After the replica  caught  up with the master we did the DNS switch-over and the apps almost did feel a thing and started to update on the Aurora. This concluded the first success.

I was involved in several big projects such as migration of DNS to route53, migration of core servers(about 40) to AWS and migration of data warehouse from AWS Redshift to Google BigQuery in 2016.

I thought the job should have become more comfortable since a large portion of the infrastructure had been rebuilt. However since a few months ago I started to have poor sleeps, and in daytime poor concentration. I searched for the answer, to my surprise, a lot of people shared the same issue which is called burnout. So rather than being asked to leave for poor performance, I choose to have a break and search for a new job.

On the last day of the job, we played Rocket League together and those were my best hours. I felt super relieved, yet very sad to leave the team. Thanks to the team especially Trist and Adam who I learned a lot from.

🙂