小程序服務器域名5次
by Howard Lo
霍華德·羅
為什么您不應該在100美元的服務器上用5天的時間構建面向500,000個用戶的應用程序 (Why you shouldn’t build an app aimed at 500,000 users in 5 days on a $100 server)
A few days ago, I read Erik Duindam’s “How I built an app with 500,000 users in 5 days on a $100 server” article. Basically, he spent an extra 2–3 hours (totaling 24) to make his app (GoSnap) scalable by using a CDN and some optimized databases. He gives another app (GoChat) a hard time for building an app that had technical issues at launch.
幾天前,我讀了Erik Duindam的“我如何在100美元的服務器上用5天的時間構建500,000個用戶的應用程序”一文。 基本上,他通過使用CDN和一些優化的數據庫花費了額外的2-3個小時(總共24個小時)使其應用程序(GoSnap)可擴展。 他使另一個應用程序(GoChat)難以構建在發布時遇到技術問題的應用程序。
Those reading his article should take a few things into consideration:
那些閱讀他的文章的人應該考慮以下幾點:
他是一位優秀的開發商。 (He is a good developer.)
Much better than me.
比我好多了。
I doubt I could push whatever he did out in 24 hours. He’s quick, and knows what he’s doing.
我懷疑我能在24小時內將他所做的一切都推開。 他很快,并且知道自己在做什么。
To him, 2–3 hours isn’t a big deal. You can shave that off your sleeping schedule and feel crappy for a day. But what if you’re not a strong developer? 24 hours turns into a week, and 2–3 hours can be nearly a full day.
對他來說,2到3個小時沒什么大不了的。 您可以將其從睡眠時間安排中剔除,并一天變得cr腳。 但是,如果您不是一個強大的開發人員,該怎么辦? 24小時變成一周,而2–3小時可能幾乎是整天。
If you’re racing to push something out because you’re worried someone else might have the same idea (more common than you think), a full day can make or break you.
如果您因為擔心其他人可能有相同的想法(比您想像的更普遍)而競相推出某些東西,那么整整一天都會使您成敗。
Gauge this for yourself, but I’d rather be first with a 90% solution than second with 100% solution.
自己衡量一下,但我寧愿以90%的解決方案排在第一位,而不是以100%的解決方案排在第二位。
%失敗>%成功 (%Failure > %Success)
Apps you build are far more likely to fail than they are to succeed.
您構建的應用失敗的可能性遠大于成功的可能性。
Erik speaks from a winner’s point of view. Winners speak a lot louder than losers, whose stories about their failures probably aren’t as impactful (or exciting) as Erik’s is.
埃里克(Erik)從贏家的角度講。 勝利者的聲音要比失敗者的聲音大得多,失敗者的失敗故事可能不及埃里克的影響力(或令人振奮)。
If you do a quick search for Pokemon Go related apps, there are dozens of failed apps for every successful one.
如果您快速搜索與Pokemon Go相關的應用程序,那么每一個成功的應用程序都會有數十個失敗的應用程序。
Barring massive partnerships (Google and Nintendo, in the case of Pokemon Go) the app store is essentially one giant numbers game. Yes, you can spend 10% more time to make your app scalable. But assuming your chance of failure is so high, in most cases that extra 10% of time is going to waste. If you spend 10% more time to make all your Minimum Viable Products (MVPs) scalable, but fail 9x, that’s one fewer MVP you could have built.
除非建立大規模的合作伙伴關系(例如Google和Nintendo,在《 Pokemon Go》中為Pokemon Go),否則該應用程序商店實質上就是一個大型數字游戲。 是的,您可以花費10%以上的時間來使您的應用程序可擴展。 但是,假設您失敗的可能性很高,那么在大多數情況下,將會浪費10%的時間。 如果您將所有最低限度產品(MVP)的可擴展時間花費了10%以上,但失敗了9倍,那么您可以構建的MVP就會減少一倍。
And are you really going to stop at 10%? Do you have so much self control and a birds eye view of what you’re doing?
而且您真的要停在10%的位置嗎? 您是否擁有如此多的自我控制能力,并且對正在做的事情有鳥瞰圖?
For me, that 10% can become 20% really quick because “well, I put in a CDN on my app, why not put in caching, it’ll only take another 10%.”
對我來說,這10%真的可以很快變成20%,因為“好吧,我在應用程序中放入了CDN,為什么不進行緩存,只需要再花10%。”
Go minimum or go all out. Drawing the line anywhere else isn’t optimal.
盡量減少或全力以赴。 在其他任何地方畫線都不是最佳選擇。
失敗還算不錯。 (Failing isn’t so bad.)
Erik himself updated his article a few days after:
幾天后,埃里克本人更新了他的文章:
The Google Play page says [GoChat] “back 100%” with “over 2 million users”.
Google Play頁面說[GoChat]“支持100%”,擁有“超過200萬用戶”。
GoChat launched an MVP, didn’t know they would get so much traction, and their crappy MVP code buckled under load. GoChat failed.
GoChat推出了MVP,但不知道他們會獲得如此大的吸引力,他們cr腳的MVP代碼在負載下也屈服了。 GoChat失敗。
Or did it?
還是呢?
Because even though GoChat went down, it’s still getting more users than Erik’s GoSnap, which is built to scale. They are different products, sure, but could the extra 10% of time Erik put into GoSnap been better used to hit the app market 2–3 hours sooner? Could Erik be sitting on more users with the 2–3 hours head start and a technical crash after?
因為即使GoChat出現故障,它仍然比Erik的可擴展規模的GoSnap吸引更多的用戶。 當然,它們是不同的產品,但是是否可以將Erik在GoSnap中投入的額外10%的時間更早地將其用于應用市場2–3個小時? Erik會在2到3個小時的啟動時間之后又出現技術崩潰,從而吸引更多的用戶嗎?
Hard to say what the results could’ve been, but it’s interesting to think about.
很難說出結果是什么,但是考慮一下很有趣。
Even though GoChat’s code failed them, they still bounced back. They optimized in the second step, and still captured over 2 million users. The failure of non-scalable MVPs doesn’t seem to have hurt them all that much in the end.
即使GoChat的代碼使它們失敗,它們仍然會反彈。 他們在第二步進行了優化,至今仍吸引了超過200萬用戶。 最終,不可擴展的MVP的失敗似乎并沒有對他們造成太大的傷害。
Could GoChat have gotten more users by this point if they didn’t crash? Possibly. But they sure as hell didn’t miss the gravy train as Erik suggests, so what do you have to worry about?
如果他們沒有崩潰,那么GoChat能否在這一點上吸引更多用戶? 可能吧 但是他們確信地獄不會像埃里克(Erik)所說的那樣錯過肉汁火車,那么您有什么需要擔心的呢?
It’s better to go ahead and launch than to miss the train entirely because you were too busy scaling.
最好不要完全錯過火車,因為您太忙于擴展了。
The thing about “scale” is that at the upper end there are so many users to go around, you can afford to run into problems initially and still capture a good market share post-fix.
關于“規模”的事情是,高端用戶太多了,您可以負擔得起最初的問題,但在修復后仍然可以保持良好的市場份額。
At the lower end of “scale” there is nothing. You have nothing on your side but speed of execution. You have to get there fast. Just ask the dozens of other apps that aren’t being downloaded.
在“規模”的低端,什么都沒有。 除了執行速度,您什么都沒有。 您必須快速到達那里。 只需詢問其他數十個尚未下載的應用即可。
Self promotion section!I made rabbut.com, a tool that lets you collect emails here on Medium (and other places). Oh look, here is one now:
自我推廣科! 我制作了rabbut.com ,該工具可讓您在Medium(和其他地方)的此處收集電子郵件。 哦,看,現在是一個:
Looking for my older stories? I’ve got some. Here.Looking for older stories is a PITA on Medium. Click here for a shortcut.powered.by.rabbut.com
尋找我的老故事? 我有一些 這里。 尋找較舊的故事是中級的PITA。 單擊此處獲取快捷方式。 powered.by.rabbut.com
Also, I’m giving away my free eBook on starting up a startup. Especially good for people who don’t know how to startup a startup:
另外,我還將贈送免費的電子書,以幫助您啟動創業公司。 對于不知道如何啟動創業公司的人尤其有用:
First 10 people to subscribe get my free eBook.How to startup your startup as a nobody.powered.by.rabbut.com
前10位訂閱者可獲得我的免費電子書。 如何以無人啟動您的啟動。 powered.by.rabbut.com
Man, these rabbut things are like everywhere now. I wonder where you could get one…
伙計,這些拉布特的事現在到處都是。 我不知道你能在哪里買到……
翻譯自: https://www.freecodecamp.org/news/why-you-shouldnt-build-an-app-aimed-at-500-000-users-in-5-days-on-a-100-server-79c57304b445/
小程序服務器域名5次