Holo婴氮,全新的無服web和商業(yè)模型

近期holotoken大熱斯棒,上線幾天盾致,市值上漲超過12x主经,創(chuàng)造了新的幣圈紀(jì)錄。

holo的目標(biāo)是為全新的無服務(wù)器web應(yīng)用程序和商業(yè)模型鋪平道路庭惜。

https://medium.com/holochain/the-holo-vision-serverless-2-0-c0b294e753ba


At a low level, the Holo project is a bridge from the internet (browsers, DNS, etc.) to hosts running the Holochain software. This will allow end-users to interact with apps on the network through their web browser.

At a high level though, the Holo paves the way for a totally new breed of serverless web applications and business models.


在較低的級別上罩驻,Holo項目是來自internet的橋梁(瀏覽器、DNS等)护赊。運行Holochain軟件的主機(jī)惠遏。這將允許終端用戶通過他們的網(wǎng)絡(luò)瀏覽器與網(wǎng)絡(luò)上的應(yīng)用程序進(jìn)行交互。

不過骏啰,從更高的層次來看节吮,Holo為全新的無服務(wù)器web應(yīng)用程序和商業(yè)模型鋪平了道路。


Where Serverless falls short today

Just like wireless internet has wires somewhere, serverless architectures still have servers somewhere.

What ‘serverless’ really means is that, as a developer you don’t have to think about those servers. You just focus on code.

Serverless.com

The most popular serverless options are all built on the cloud products offered by the biggest players?—?AWS, Microsoft, IBM and Google as commercial products. There are other “indie” options such as stdlib and webtask.io and open source clones like Kubeless.io but the market is still pretty limited.

While it’s fair to say the technology is still all very new and the situation will improve over time, the reality is that right now, to do this well requires highly abstracted software platforms deployed on cloud style infrastructure. This all requires serious capital and/or technical knowhow to maintain.

Serverless今天在這里做得不夠

就像無線互聯(lián)網(wǎng)在某些地方有連線一樣判耕,無服務(wù)器的架構(gòu)在某些地方也有服務(wù)器透绩。

“服務(wù)器無”的真正含義是,作為一個開發(fā)人員,您不必考慮這些服務(wù)器帚豪。你只需關(guān)注代碼碳竟。

Serverless.com

最流行的無服務(wù)器選項都是建立在最大的參與者提供的云產(chǎn)品之上的。AWS狸臣,微軟莹桅,IBM和谷歌作為商業(yè)產(chǎn)品。還有其他的“獨立”選項烛亦,比如stdlib和webtask.io诈泼,以及像Kubeless.io這樣的開源克隆,但市場仍然非常有限煤禽。

公平地說厂汗,該技術(shù)仍然是非常新的,形勢將隨著時間的推移而得到改善呜师,但現(xiàn)實是娶桦,要做到這一點,需要在云風(fēng)格基礎(chǔ)設(shè)施上部署高度抽象的軟件平臺汁汗。這一切都需要大量的資本和/或技術(shù)知識來維持衷畦。


The serverless trend is awesome for developers who “just want to code” but shitty for the overall decentralisation of the internet. Developers can also get lumped with a nasty refactor if they want to migrate their code to another vendor. Serverless platforms come with vendor specific logic, walled gardens, pricing and contracts, leading to the rise of toolkits and middlemen attempting to paper over the rough edges.

Serverless compute also shares the same regulatory hurdles as the base cloud computing platform. For businesses looking to expand overseas, or located in less economically strong or populous regions, this can be a real pain. Vendors often charge a premium, offer limited services or no local data centres at all in many regions, yet many local lawmakers still expect data to be stored and processed securely within national borders. In many locations sensitive and classified data such as government, medical or legal records can be difficult or impossible to store in a cloud environment without legal consequences.

對于那些“只想編寫代碼”但對互聯(lián)網(wǎng)總體分散化的開發(fā)人員來說,這種無服務(wù)器的趨勢是令人敬畏的知牌。如果開發(fā)人員想要將他們的代碼遷移到另一個供應(yīng)商祈争,他們也可能會因為一個討厭的重構(gòu)而被混為一談。無服務(wù)器平臺附帶了特定于供應(yīng)商的邏輯角寸、圍墻的花園菩混、定價和合同,這導(dǎo)致了試圖掩蓋粗糙邊緣的工具包和中間商的興起扁藕。

Serverless計算也與基礎(chǔ)云計算平臺具有同樣的監(jiān)管障礙沮峡。對于尋求海外擴(kuò)張,或位于經(jīng)濟(jì)實力較弱或人口眾多的地區(qū)的企業(yè)來說亿柑,這可能是一個真正的痛苦邢疙。在許多地區(qū),供應(yīng)商通常收取額外費用望薄,提供有限的服務(wù)疟游,或者根本沒有當(dāng)?shù)財?shù)據(jù)中心,但許多地方立法者仍然期望數(shù)據(jù)在國家邊界內(nèi)得到安全存儲和處理痕支。在許多地點颁虐,政府、醫(yī)療或法律記錄等敏感和機(jī)密的數(shù)據(jù)可能很難或不可能在不產(chǎn)生法律后果的情況下存儲在云環(huán)境中卧须。


Holo as Serverless 2.0

All Holochain applications (which Holo is based on) disconnected from the internet look a lot like a local serverless setup:

A key/value or document data store

JavaScript functions to access the data store and expose API endpoints

A Single Page Application (SPA) client served by the app

It’s easy to imagine how applications could be built on this stack, as many applications are already built on this stack today.

Holo as Serverless 2.0

所有從互聯(lián)網(wǎng)上斷開的Holochain應(yīng)用程序(Holo基于此)看起來很像一個本地的無服務(wù)器安裝程序:

鍵/值或文檔數(shù)據(jù)存儲區(qū)

用于訪問數(shù)據(jù)存儲和公開API端點的JavaScript函數(shù)

應(yīng)用程序提供的一個單頁面應(yīng)用程序(SPA)客戶機(jī)

可以很容易地想象如何在這個堆棧上構(gòu)建應(yīng)用程序另绩,因為現(xiàn)在已經(jīng)在這個堆棧上構(gòu)建了許多應(yīng)用程序瞬痘。


The neat thing about Holochain is that when it connects to the internet, the data marked as “public” in the key/value store is synced with everyone else running the same version of the app. This sync works in the same way as bittorrent, with some extra logic to facilitate security and performance, so it can be confidently used as a database layer.

Holochain最妙的一點是,當(dāng)連接到internet時板熊,在鍵/值存儲中標(biāo)記為“public”的數(shù)據(jù)會與運行相同版本的應(yīng)用程序的其他人同步框全。這種同步與bittorrent的工作方式相同,使用一些額外的邏輯來提高安全性和性能干签,因此可以自信地將其用作數(shù)據(jù)庫層津辩。


Your SPA can’t tell the difference between an AWS backend or a Holochain backend at this point, except that Holochain is sitting on http://localhost:8000 while AWS has a nice HTTPS protected, custom domain backed by a global CDN…

If you’re building a Holochain app for an OS like a mobile app or an Electron application then this might be fine, but it’s a total showstopper for anything browser based.

This is where Holo comes in.


您的SPA不能區(qū)分AWS后端和Holochain后端,除非Holochain位于http://localhost:8000上容劳,而AWS有一個受保護(hù)的喘沿、由全局CDN支持的自定義域。

如果您正在為一個操作系統(tǒng)(比如移動應(yīng)用程序或an Electron應(yīng)用程序)構(gòu)建一個Holochain應(yīng)用程序竭贩,那么這可能是個不錯的選擇蚜印,但對于任何基于瀏覽器的應(yīng)用來說,這都是一個令人大開眼界的結(jié)果留量。

這是Holo進(jìn)來的地方窄赋。


Holo connects existing web infrastructure like DNS and HTTPS to route web requests to a decentralised network of hosts. Apps wanting to leverage Holo can configure minimum requirements for their hosts, from criteria such as:

price

uptime

latency

throughput

processing speed

geographical location

bulk storage capacities

relationship / trust metrics

industry/regulatory certifications/compliance (PCI-DSS, HIPAA, etc.)

This allows developers to always get the best possible deal on compliant hardware and guarantee service continuity, even in the face of multiple vendors being simultaneously wiped out.

Holo將現(xiàn)有的web基礎(chǔ)設(shè)施(如DNS和HTTPS)連接起來,將web請求路由到分散的主機(jī)網(wǎng)絡(luò)楼熄。想要利用Holo的應(yīng)用程序可以為它們的主機(jī)配置最低要求忆绰,標(biāo)準(zhǔn)如下:

價格

開機(jī)時間

潛伏

生產(chǎn)量

加工速度

地理位置

散裝存儲容量

關(guān)系/信任度量

工業(yè)/管理認(rèn)證/遵守(PCI-DSS、HIPAA等)

這使得開發(fā)人員總是能夠在兼容的硬件上獲得盡可能好的處理可岂,并保證服務(wù)的連續(xù)性错敢,即使在多個供應(yīng)商同時被淘汰的情況下也是如此。


Getting paid by Holo

Holo is launching with a new cryptocurrency called Fuel. This will be provided as a Holo app with an API.

As your Holo app consumes network resources the Fuel app automatically triggers micropayments to the hosts and the Holo organisation.

If you want to generate revenue for yourself or facilitate (micro)payments between your users, simply bridge to the Holo fuel app from your standard Holo functions. Every item of data in the network is cryptographically signed by the originating user, so rewarding artists, musicians, authors, creatives or anyone else for providing great content is really easy.

Alternatively you can create your own cryptocurrency, ICO style, as a new Holo app. Simply fork or use the Fuel app as a reference implementation to get started.

If you want to build a decentralised credit card system on PCI-DSS compliant Holo hosts, please do it! that would be awesome

用Holo支付

全息以一種叫做燃料的新的加密貨幣發(fā)布缕粹。這將作為一個Holo應(yīng)用提供一個API稚茅。

當(dāng)你的全息應(yīng)用程序消耗網(wǎng)絡(luò)資源時,燃料應(yīng)用程序會自動觸發(fā)向主機(jī)和全息組織的微支付平斩。

如果你想為自己創(chuàng)造收入亚享,或者為用戶之間的(微)支付提供便利,只需從你的標(biāo)準(zhǔn)Holo函數(shù)連接到Holo燃料應(yīng)用程序双戳。網(wǎng)絡(luò)中的每個數(shù)據(jù)項都是由原始用戶加密簽名的虹蒋,因此獎勵藝術(shù)家、音樂家飒货、作者、創(chuàng)作者或任何其他提供優(yōu)秀內(nèi)容的人真的很容易峭竣。

或者塘辅,您可以創(chuàng)建自己的加密貨幣,ICO風(fēng)格皆撩,作為一個新的Holo應(yīng)用程序扣墩。簡單地叉或使用燃料應(yīng)用程序作為參考實現(xiàn)開始哲银。

如果你想在兼容PCI-DSS的Holo主機(jī)上建立一個分散的信用卡系統(tǒng),請這樣做呻惕!那就太棒了


Identity on Holo

Like all cryptocurrencies, Holo(chain) is backed by public/private key pairs.

Unlike most other cryptocurrencies, there is no intention that users remain anonymous/pseudonymous in the system.

There is a distributed key/identity management Holochain application to allow for native Single Sign On (SSO) style identities to be shared across other applications through a bridge.

OAuth and auth token (e.g. JWT) support is on the roadmap for the identity management systems, so integration with existing social logins etc. should all be possible.

全息上的身份

像所有的加密貨幣一樣荆责,Holo(鏈)也是由公鑰/私鑰對支持的。

與大多數(shù)其他加密貨幣不同亚脆,系統(tǒng)中不存在匿名/假名用戶的意圖做院。

有一個分布式的密鑰/身份管理Holochain應(yīng)用程序,允許本機(jī)單點登錄在(SSO)樣式的標(biāo)識上濒持,通過橋可以在其他應(yīng)用程序之間共享該身份键耕。

OAuth和認(rèn)證令牌(例如,JWT)支持在身份管理系統(tǒng)的路線圖上柑营,因此與現(xiàn)有的社會登錄進(jìn)行集成等等屈雄。應(yīng)該是可能的。


Preparing for Holo

While Holochain is live and has years of development behind it, Holo is still only halfway through the ICO. Much of what is described in this article is aspirational only at this stage.

The only difference between a Holochain and Holo app, from a development perspective, should be minor configuration updates to deploy to the Holo network.

The native testing harness and CLI tools provided by Holochain allows for simulating multiple users simultaneously on your local environment.

There are community efforts towards more sophisticated multi-user setups on a local environment, even allowing for “Holo lite” style deployments by proxying agents through standard hosting environments.

All this means that you can develop your SPA locally using the Holochain web server and be ready on day 1 for Holo launch!

為Holo做準(zhǔn)備

雖然Holochain是在世的官套,并且有多年的發(fā)展酒奶,但Holo仍然只是ICO的中途。本文所描述的大部分內(nèi)容只是在這一階段才具有啟發(fā)性奶赔。

從開發(fā)的角度來看讥蟆,Holochain和Holo應(yīng)用程序之間的唯一區(qū)別,應(yīng)該是將較小的配置更新部署到Holo網(wǎng)絡(luò)纺阔。

Holochain提供的本地測試工具和CLI工具允許在您的本地環(huán)境中同時模擬多個用戶瘸彤。

有一些社區(qū)努力在本地環(huán)境中建立更復(fù)雜的多用戶設(shè)置,甚至允許代理代理通過標(biāo)準(zhǔn)宿主環(huán)境進(jìn)行“Holo lite”樣式的部署笛钝。

所有這些意味著您可以在本地使用Holochain web服務(wù)器開發(fā)SPA质况,并在第1天為Holo啟動做好準(zhǔn)備!


附:更多Holo信息

感謝關(guān)注“分布式云計算平臺”——Holochain(HOT)玻靡,Holochain運用分布式哈希表DHT和區(qū)塊鏈衍生技術(shù)開發(fā)结榄,充分利用現(xiàn)有的消費者冗余計算容量,力圖徹底取代遠(yuǎn)程服務(wù)器和集中化云平臺囤捻,旨在解決區(qū)塊鏈落地的最后一公里問題臼朗。回復(fù)“社區(qū)”蝎土,獲取中文社區(qū)微信群二維碼视哑,掃描二維碼即可進(jìn)入;歡迎關(guān)注HOLO海外社群:

Telegram(電報英文):https://t.me/channelholo

Telegram(電報中文):https://t.me/channelholoCN


中文社區(qū):公號"HOLO火龍果"

1.Holo簡單分析

https://mp.weixin.qq.com/s/iMchwfq3NcAkLbo72JaNng

2.Holo白皮書

https://mp.weixin.qq.com/s/X9nByvSALm9kdTqiuKihQQ

3.什么是Holochain誊涯?——分布式將會是未來貨幣的變革趨勢

https://mp.weixin.qq.com/s/W1RxkDn0og_xOCBj2PH2QQ

4.HOLO的ERC20通證(HOT)和數(shù)字貨幣(Holo fuel)

https://mp.weixin.qq.com/s/oCs3N3AbeEmjidYVh2b0DA

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
  • 序言:七十年代末挡毅,一起剝皮案震驚了整個濱河市,隨后出現(xiàn)的幾起案子暴构,更是在濱河造成了極大的恐慌跪呈,老刑警劉巖段磨,帶你破解...
    沈念sama閱讀 218,546評論 6 507
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場離奇詭異耗绿,居然都是意外死亡苹支,警方通過查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,224評論 3 395
  • 文/潘曉璐 我一進(jìn)店門误阻,熙熙樓的掌柜王于貴愁眉苦臉地迎上來债蜜,“玉大人,你說我怎么就攤上這事堕绩〔哂祝” “怎么了?”我有些...
    開封第一講書人閱讀 164,911評論 0 354
  • 文/不壞的土叔 我叫張陵奴紧,是天一觀的道長特姐。 經(jīng)常有香客問我,道長黍氮,這世上最難降的妖魔是什么唐含? 我笑而不...
    開封第一講書人閱讀 58,737評論 1 294
  • 正文 為了忘掉前任,我火速辦了婚禮沫浆,結(jié)果婚禮上捷枯,老公的妹妹穿的比我還像新娘。我一直安慰自己专执,他們只是感情好淮捆,可當(dāng)我...
    茶點故事閱讀 67,753評論 6 392
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著本股,像睡著了一般攀痊。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上拄显,一...
    開封第一講書人閱讀 51,598評論 1 305
  • 那天苟径,我揣著相機(jī)與錄音,去河邊找鬼躬审。 笑死棘街,一個胖子當(dāng)著我的面吹牛,可吹牛的內(nèi)容都是我干的承边。 我是一名探鬼主播遭殉,決...
    沈念sama閱讀 40,338評論 3 418
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼炒刁!你這毒婦竟也來了恩沽?” 一聲冷哼從身側(cè)響起,我...
    開封第一講書人閱讀 39,249評論 0 276
  • 序言:老撾萬榮一對情侶失蹤翔始,失蹤者是張志新(化名)和其女友劉穎罗心,沒想到半個月后,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體城瞎,經(jīng)...
    沈念sama閱讀 45,696評論 1 314
  • 正文 獨居荒郊野嶺守林人離奇死亡渤闷,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點故事閱讀 37,888評論 3 336
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發(fā)現(xiàn)自己被綠了脖镀。 大學(xué)時的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片飒箭。...
    茶點故事閱讀 40,013評論 1 348
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖蜒灰,靈堂內(nèi)的尸體忽然破棺而出弦蹂,到底是詐尸還是另有隱情,我是刑警寧澤强窖,帶...
    沈念sama閱讀 35,731評論 5 346
  • 正文 年R本政府宣布凸椿,位于F島的核電站,受9級特大地震影響翅溺,放射性物質(zhì)發(fā)生泄漏脑漫。R本人自食惡果不足惜,卻給世界環(huán)境...
    茶點故事閱讀 41,348評論 3 330
  • 文/蒙蒙 一咙崎、第九天 我趴在偏房一處隱蔽的房頂上張望优幸。 院中可真熱鬧,春花似錦褪猛、人聲如沸网杆。這莊子的主人今日做“春日...
    開封第一講書人閱讀 31,929評論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽碳却。三九已至,卻和暖如春新啼,著一層夾襖步出監(jiān)牢的瞬間追城,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 33,048評論 1 270
  • 我被黑心中介騙來泰國打工燥撞, 沒想到剛下飛機(jī)就差點兒被人妖公主榨干…… 1. 我叫王不留座柱,地道東北人。 一個月前我還...
    沈念sama閱讀 48,203評論 3 370
  • 正文 我出身青樓物舒,卻偏偏與公主長得像色洞,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子冠胯,可洞房花燭夜當(dāng)晚...
    茶點故事閱讀 44,960評論 2 355

推薦閱讀更多精彩內(nèi)容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi閱讀 7,332評論 0 10
  • The Inner Game of Tennis W Timothy Gallwey Jonathan Cape ...
    網(wǎng)事_79a3閱讀 12,073評論 3 20
  • 我只是個孩子 一個脆弱的孩子 一顆脆弱的心 落在地上 便……碎了 可是火诸,它沒落 一點風(fēng)雨,便如末日 一絲陽光便足矣...
    燭千笙閱讀 158評論 0 5
  • 今天心血來潮荠察,為大家推薦一個電話卡置蜀。再次聲明做為一名名不見經(jīng)傳的新人奈搜,真的不是給大家推銷產(chǎn)品,而是站在自己的角度覺...
    花之頁閱讀 310評論 1 1
  • 人早晚被生活打敗盯荤,只是你堅持到下半場的什么時候馋吗,換人名額用完,體力用光秋秤,最終還是會被生活打敗宏粤,所以當(dāng)你有能力的時候...
    高舒曼閱讀 232評論 0 0