V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
这是一个专门讨论 idea 的地方。

每个人的时间,资源是有限的,有的时候你或许能够想到很多 idea,但是由于现实的限制,却并不是所有的 idea 都能够成为现实。

那这个时候,不妨可以把那些 idea 分享出来,启发别人。
yaqin05
V2EX  ›  奇思妙想

Decentralized architecture of Inner Peace App

  •  
  •   yaqin05 · 2019-12-30 03:23:48 +08:00 · 757 次点击
    这是一个创建于 1816 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Privacy has taken centre stage across the world. Be it the allegations on tech giants, American Presidential elections or the debate in the Indian Parliament regarding Government’s right to use citizen’s data, a rise in awareness can be seen across the globe. It is a welcome change that needs to be embraced and appreciated. The world is moving towards a new order with respect to how user data is being harvested and more importantly being used. All forms of user data are being utilized every day. It can be as simple as the amount of time we spend on a particular webpage or the people we meet or the photographs in which we are tagged or the recent trend of 10 year old images. But the question that often comes to our mind is should there be a filter or a qualifier on the kind of data that is allowed to be harvested? Case in point for this broad question is the mental health apps. Most of the mental health apps deal with intimate details about an individual. As a user, one would hope that their data points remain private and expect that their information will not be misused. But the level of trust between the user and the app that she/he uses needs to be sacrosanct. With the advent of blockchain technology, this trust deficit can be minimised to a large extent.

    Inner Peace, a gratitude journal leverages blockchain technology to ensure that users are assured that no one is misusing or snooping into their data. It uses Blockstack’s decentralized architecture to create their identity and store the data. How it is done is explained below,

    The Blockstack network stores application data using a storage system called Gaia. Transactional metadata is stored on the Blockstack blockchain and user application data is stored in Gaia storage. Blockchains require consensus among participants and hence they are slow and blockchains are also not designed to hold a lot of data. This means using a blockchain for every bit of data a user might write and store is expensive. Blockstack mitigates this problem by storing data off of the blockchain which ensures that apps like Inner Peace provide users with high performance without central trust parties.

    Blockstack addresses blockchain performance problems using a layered approach. At the base of the system is a blockchain and the Blockstack Naming System (BNS). The blockchain governs ownership of names (identities) in the system, names such as domain names, usernames, and application names. Names in Blockstack correspond to routing data in the OSI stack. The routing data is stored in the Atlas Peer Network, the second layer. Every core node that joins the Blockstack Network is able to obtain an entire copy of this routing data. Blockstack uses the routing data to associate names (usernames, domains, and application names) with a particular storage location.The final layer is the Gaia Storage System. A Gaia system consists of a hub service and storage resources on a cloud software provider such as Azure, DigitalOcean, Amazon EC2, and so forth. Moreover, users choose where their data lives, and Gaia enables applications to access that user data via a uniform API. When the user logs in, the authentication process gives the application the URL of a Gaia hub, which then writes to storage on behalf of that user.

    A Gaia hub runs as a service which writes to data storage. The hub service writes to data storage by requiring a valid authentication token from a requestor. Gaia’s approach to decentralization focuses on user control of data and its storage. If a user can choose which Gaia hub provider to use, then that choice is all the decentralization required to enable user-controlled applications.

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3202 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 12:21 · PVG 20:21 · LAX 04:21 · JFK 07:21
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.