(Note: this is part the salvation of my old blog, that a catastrophic event has recently happened me, I’m very sad now, and I will make an postmortem later)

I kind of like Nuxt.JS.

Despite it being kind of mediocre in architecture, and in each update it always break my app, I still think it is the authentic answer of Vue to Next.JS in the React land.

It has a lot of plugins, asynchronous loading and modules…The only thing I missed is a server backend to handle business logic.

Yet, universal application didn’t account for this and forces you to separate it into another domain, I know it has a good intention but this is kind of fussing for me. Did this mean I have to separately start two different Node applications at once? …


(Note: this is part the salvation of my old blog, that a catastrophic event has recently happened me, I’m very sad now, and I will make an postmortem later)

Why?

I loved how NextCloud have rich functionalities that they had such a good plugin ecosystem, but I also want SeaFile level kind of speed, that it is well known how slow NextCloud syncs via WebDAV.

However there are never such integration, and probably never will. And I think that NextCloud as frontend + SeaFile as backend is a good idea…

So, this is the abomination I made. A Docker app that runs SeaDrive and NextCloud…


(Note: this is part the salvation of my old blog, that a catastrophic event has recently happened me, I’m very sad now, and I will make an postmortem later)

雖然一直用緊嗰隻rock64係小巧玲瓏,一直根植係我嘅router附近日日俾我嘅Seafile強暴,但都唔代表無問題存在。

而且佢隻Gigabit速度遠遠達不上預期,加上個USB3係開頭速度快慢慢火葬場,慢到係USB2上嘅速度都頂唔住。

結果我個samba可以最快60MiB/s,跌到低至10MiB/s不等。我已經頂唔順。

所以講得冇錯,平嘢無好嘢,所以ARM都唔多見係好嘢嚟😂

有見及此,我決定用我三個月前剩低嘅士啤,外加$700港紙(Money money money, must be funny…),整咗隻Ghetto 4-Bay NAS。(當然全部用嘅都係山寨貨同洋垃圾😒又話平嘢無好嘢)

舊server spec: arm64 4C4T Cortex-A53 (RK3328), 4GB LPDDR3

新server spec: amd64 8C16T Xeon E5–2660, 8GB DDR3 ECC

驟眼睇落好似無咩嘢喎,普通server upgrade姐?開post做咩呢?係咪諗住炫富?

問題就嚟啦,我原本rock64嘅software同toolchain全部都係arm64喎…

我唔單止要處理OMV,仲有Seafile,Transmission,Plex,MariaDB + MongoDB,NodeBB,Nginx…

最大問題係,Seafile嘅cluster全部都係small files嚟,就算我做咗一次GC犧牲舊嘅revision縮細,都唔一定可以確保一日內transfer走曬啲cluster…50G咁多嘅small files喎大佬

所以今次負責data migration真係有啲頭痛。果然已經establish好咗嘅嘢無人想掂,姐係同香港IT一樣。

我諗咗三隻方案,可能會有更好,希望可以集思廣益下。

  1. 直抄/etc同/usr,然後clone一隻一模一樣但唔同arch嘅OMV

About

Steve “Stefan” Fan

A mad lad

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store