1、第三屆中國第三屆中國Rust開發者大會開發者大會Use Rust to Develop the Decentralized Open Data ApplicationMike Tang daogangtang2023-06-08 裁員 互聯網格局定型 平臺倒閉,數據丟失這是一個什么時代?互聯網的終局創業-種子-天使-A-B-C-IPO創業的目的是?賺錢盈利。建立一個好的平臺,盡量粘住用戶代碼:可能開源,可能不開源,絕大部分不開源。數據?完全封閉。數據是護城河,是信息時代的石油?;ヂ摼W企業的發展模式Web3?So-called Web3?Where is the Next Stage Block
2、chain Decentralized Ledger Storage:MPT(Merkle Patricia Tree)K-V database Smart Contract ServerlessThe Weapons Web3 UtilizesFor mainstream tech stack,e.g.Ethereum A world-wide unified network to provide a serverless layerA single-core CPU machineIs serverless really the next stage of Internet?Or just
3、 a gimmick by cloud platform Wants to extend the financial computation/storage model to general casesLimites of On-chain VM computationLimites of MPTLimites of K-V dbProblems of Web3:Technical ViewpointFinancial Model:Account=Balance Relatively closed dataset,linear increasement against account set
4、One dimensionInternet Model:Any Open dataset,data will increase quickly on any dimension.Multiple dimensionsDataset Models What is open data?Build an internet platform,but open its data to everyone.Why we need open data?The business of the closed data model has been at the end.A New Proposal:Open Da
5、ta ApplicationThe Road to Open Web From the user side,it looks like just the traditional Internet app But everyone have the chance to download/sync all open data from this platform On the server side,it is a network,consisting of some/many nodes Every node has a blockchain node in itWhat An Open Dat
6、a App Feels Like?“EightFish is a development framework(maybe the first one)for the Open Data Application(ODA),implementing the Open Data Application Model(ODAM).The theory of the ODA and ODAM is located here.In short description:EightFish powers ODAs,ODAs constitute the Open Web.”https:/ intends to
7、develop the Data-kind Decentralized Application.You can use the traditional Web development coding style to develop a ODA.How to develop Open Data ApplicationThe EightFish Application ComponentsThe EightFish Application Network TopologyHow to Write LogicHow to Write LogicHow to Write Logic Docker co
8、mpose,yaml configure file One command to boot up and deploy 5 fixed EightFish services+1 your customized app servicesHow to Test and Deploysubnodesubxt proxyhttp gatepostgresredisapp biz+=ODA Rust WebAssembly Substrate Wasmtime Spin Redis PostgresqlThe EightFish Tech StackOne EightFish network hosts
9、 one protocol,different protocols sit on different networks.(like appchains)One EightFish Network Hosts One Protocolnode1node2node3node4nodeProtocol 1node1node2node3node4nodeProtocol 2One Protocol Supports Multiple Applicationsnode1node2node3node4nodeProtocol 1app 1app 2app 3app nEvery app has its o
10、wn backend and frontend implementations.General User Text Persistence protocolhttps:/ Case:GUTPMeBlog is a blog platform for users with the features of open-data and ownership.https:/ Case:Meblog Connected to GUTPAll Open Data Apps Constitute the Open WebODA vs Web2 appWeb2 AppOpen Data AppCentraliz
11、ationCentralizedDecentralizedPerformanceHighHigh,less than Web2Query CapabilityPowerfulPowerful,less than Web2Open Source CodeOpen or Not,mostly NOTOpenData ResiliencyNormalHighData OpennessClosedOpenTrustlessnessNoYesODA vs Web3 DAppWeb3 DAppOpen Data AppCentralizationDecentralizedDecentralizedUnde
12、rlying NodesManyFewPerformanceLowHighQuery CapabilityLowHighOpen Source CodeOpenOpenHot Data CapacityLowHighData ResiliencyHighHighData OpennessOpenOpenTrustlessnessYesYesWeb3 DApp focuses on TOKEN and tokenizing other thingsODA focuses on DATA and the OPENNESS of the dataCore Difference Between ODA
13、 and Web3 DAppIf I opened my database to others,how would I get profits from my efforts,how should I run my business?How to attract more parties to run steady and persistent nodes for this platform?Two Major Problems End user drives,no security(or token fund)drives.Network is like a living creature,
14、it will evolve grow or die.The needs of the end users is the force to drive this network to evolve.So what we should keep doing is to develop the scale of the end users.More users,more data,more meanings.The incoming depends on consumer traffics,not directly on users data.More users,more incomings.T
15、he decentralization could probably reduce the cost,so you may get more profits.More profits,more network nodes coming.They can share the profits of the overall network.An Initial Scheme Open Data give EVERYONE the rights/chance to train your own AI model,by collecting the raw data source easily!The rights of Raw Data Equality The AI age requires Open Data/Open Web for people to counter the Giant Techs.Idea:Open Data for Everyones AIThank you!