Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Practical Artificial Intelligence and Blockchain

You're reading from   Practical Artificial Intelligence and Blockchain A guide to converging blockchain and AI to build smart applications for new economies

Arrow left icon
Product type Paperback
Published in Jul 2020
Publisher Packt
ISBN-13 9781838822293
Length 290 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Ganesh Prasad Kumble Ganesh Prasad Kumble
Author Profile Icon Ganesh Prasad Kumble
Ganesh Prasad Kumble
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

Preface 1. Section 1: Overview of Blockchain Technology
2. Getting Started with Blockchain FREE CHAPTER 3. Introduction to the AI Landscape 4. Section 2: Blockchain and Artificial Intelligence
5. Domain-Specific Applications of AI and Blockchain 6. AI- and Blockchain-Driven Databases 7. Empowering Blockchain Using AI 8. Cryptocurrency and Artificial Intelligence 9. Section 3: Developing Blockchain Products
10. Development Life Cycle of a DIApp 11. Implementing DIApps 12. The Future of AI with Blockchain 13. Moving Forward - Resources for you 14. Other Books You May Enjoy

Blockchain versus distributed ledger technology versus distributed databases

There have been several debates on how to differentiate blockchains from Distributed Ledger Technology (DLT) and distributed databases. Based on some of the user- and application-level features and heuristics, we can observe the following differences:

Feature

Blockchain

DLT

Distributed Database

Immutability

The information persisted in blockchains cannot be removed or updated without a new identifier to the target data.

Although most DLTs are pro-immutability, there are a few exceptions where immutability is not a design constraint.

Most distributed databases are not immutable due to design limitations.

Logical execution

Smart contracts can be used to enforce business logic on data from a blockchain.

DLTs offer the execution of logic on the data within them, as well as on user inputs.

User-defined functions and stored procedures are normal approaches that are used here.

Accessibility

Data in a public blockchain is stored in the form of a transaction or account states in a block and is visible and accessible with middleware.

Data is private in a DLT and may, in some cases, be encrypted in the DLT entry. Data can only be accessed by participating stakeholders.

Data is persisted within the distributed data clusters spread across the globe for faster access, using traditional client-server techniques.

Verifiability

All the transactions are verified before a change is made to the state of an account.

Most DLTs do not offer verification algorithms or modules as a design restriction to applications.

The verifiability of data is not offered as the state of accounts is not persisted in a specific structure.

Incentivization

Most blockchains use several economic models to incentivize their stakeholders.

Stakeholders in a DLT group host the nodes and are self-incentivized to run their business more confidently.

The company manages the data for sustainability and so no extra incentivization can be observed.

Let's now compare these technologies with an example use case discussed in the following section.

Comparing the technologies with examples

The following scenario is provided to aid your understanding of the core differences between the preceding three implementations.

Imagine that you plan to create a new digital platform for stock photography. If you want to invite photographers all over the world to use the platform and allow them to upload their work and be incentivized with their royalties automatically paid off by the consumers, you'd want to use blockchain to offer public access and incentivization and to transfer the royalties directly from the consumer to the photographer, thereby eliminating the need for a third party performing the duty payment collection, guaranteeing the return of royalties but with a service fee.

However, if you want your platform to form a private consortium of photographers, with their art exclusively available to a limited audience, and to handle royalties in conjunction with other means, you would use a DLT.

Finally, if you intend to use your platform to exhibit art by an eligible set of photographers that are accessible across the globe, with or without royalties (which is handled offline), you'd form a cluster of nodes that host this data and logic to handle access and payments. So, you would use distributed databases.

Let's now further discuss the types of blockchains available for different use cases.

You have been reading a chapter from
Practical Artificial Intelligence and Blockchain
Published in: Jul 2020
Publisher: Packt
ISBN-13: 9781838822293
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime