DAG (Directed Acyclic Graph) - A competitor to Blockchain! (2024)

DAG:

Directed Acyclic Graph (DAG) is an outline which is more expressive than an absolutely linear model. A DAG is an information or data structure which can be utilized to demonstrate diverse problems. It is an acyclic graph in topological ordering. Each directed edge has a certain order followed by the node. Every DAG starts from a node that has no parents and end with one that has no kids. These graphs are never cyclic. A DAG comprises of a set of nodes and arrows where arrows are directed from one node to another.

In simpler terms, DAG is a graph that flows in one direction and elements cannot refer back to themselves. Hence, DAGs are not cyclic.

DAG (Directed Acyclic Graph) - A competitor to Blockchain! (1)

DAG’s components:

  • Nodes or Vertices. Every node represents some information.
  • Arrows or Directed edges. A coordinated edge starting with one node to another depicts some sort of connection between those two nodes. Arrows in a DAG may not frame a cycle.
  • A root node. One of the nodes will have no predecessor. This is the base of the DAG. It is also called a zero node.
  • Leaf node. Some nodes will have no assessors. These are called leaves or leaf nodes.

DAG (Directed Acyclic Graph) - A competitor to Blockchain! (2)

DAGs in Cryptos:

Did you hear the term DAG coins and thought it’s a name of a new crypto? If yes, then you are probably close to the idea… Actually all digital coins that make use of DAG (directed acyclic graphs) are called DAG coins.

The basic purpose of blockchain based cryptocurrencies was to provide a decentralized, scalable, robust and a fast replacement for financial transactions across multiple mediums. As a matter of fact, all the credit for such a revolutionary idea goes to blockchain. But, is blockchain efficient enough to provide all of this?

Well, not so far. Blockchain has limitations in speed-TPS and scalability- size of the block, Interoperability, and Sustainability.

Many crypto makers are now looking forward to implement DAG instead of blockchain to achieve a different work structure than that of blockchain. DAGs can enable multiple nodes to exist at the same time for recording transactions while in blockchain only one block is used for recording transactions (two blocks cannot exist simultaneously) at a time and a new block is created about every 10 minutes. The blockchain system based on POW slows down due to the miners competing over mining every next block.

DAG can overcome the single chain issue of blockchain by enable multiple chains to exist on the system simultaneously. It may make block less distributed records another standard in the realm of crypto.

DAG or Blockchain:

Blockchain's sequential structure hinders significantly the transaction throughput. If the time of mining remains untouched a DAG of blocks can extend the storage by X times with X blocks on the network at the same time. The blend of blockchain with DAG still originates from side-chains. Distinctive sorts of transactions are running on various chains all at the same time. DAG of blocks still depends on the idea of blocks.

It is different from Blockchain. Blockchain is actually a cryptographically verifiable list of records of things that have happened in the past. It has a linked list data structure and every new entry is linked to the previous one such that you can verify it back to the beginning of history. This is how the blockchain is established. This flat sequential nature is the drawback that is apparent in Bitcoin. That is when the scaling issues arise. Even if you increase the size of the block or increase the speed of the new blocks’ creation making it more rapid, still there are a lot of tradeoffs.

DAG based cryptocurrencies actually suggest to turn to a completely new data structure altogether. DAG is a completely different form of data structure. It follows a linked graphic data structure where the links are unidirectional. Acyclic means that the nodes cannot refer back to themselves and hence cannot loop. It simply acts as a flow chart where all information is flowing in one direction. It can have multiple parallel nodes that might join back at a single node. You may also relate it to a file directory structure.

The benefit is that every node and arrow does not need to be sequential by nature.

Differences that exist in DAG are:

  • Due to its block less nature, the transactions run directly into the DAG networks hence the speed of transactions increase.
  • There are no miners on DAG systems. The approval of exchanges goes straight to the exchanges themselves. This implies exchanges occur instantly.
  • As assumed, the DAG network picks an existing later exchange to connect to when new transactions occur. The objective is to keep the system width inside a specific range that can ensure speedy transaction approval.
  • DAG will be utilized for applications that require adaptability for thousands of exchanges every second.

Merits/ Advantages of using DAG:

  • More flexible and communicative.
  • No transaction fee
  • Higher scalability
  • Everyone is responsible for both issuing and validating transactions.
  • Network can easily scale
  • More adoption and usage
  • Valuable in machine-to-machine interactions
  • As the size of the network increases, the speed increases too.
  • Quantum resistant

Detriments/ Disadvantages of using DAG:

  • Needs a lot of traffic for its functioning
  • Decrease in network traffic enhances network’s vulnerability to attacks
  • Transaction propagation latency
  • Accumulation of unconfirmed transactions
  • Centralized nature
  • Unproven at a large scale

Implementation Examples:

  • In Ethereum, a DAG is created in every epoch using a version of the Dagger-Hashimoto Algorithm combining Vitalik Buterin's Dagger algorithm and Thaddeus Dryja's Hashimoto algorithm.
  • The Dagger algorithm works by producing a directed acyclic graph with ten levels including the root and a total of 2^25 - 1 values.
  • Ancestry trees are actually DAGs.

Some major projects implementing DAG are:

IOTA:

DAG (Directed Acyclic Graph) - A competitor to Blockchain! (3)

One of the most commonly known DAG coin is IOTA. They call their DAG Tangle. It removes miners completely from the verification process. For broadcasting every transaction you have to validate two previous transactions in order to get their transactions processed. Everybody is participating in the consensus which makes it even more decentralized. The name itself refers to the term IoT- internet of the things.

MIT disclosed a number of mistakes in this data structure and functioning. IOTA would take only 33% of the network power (number of nodes and some amount of PoW attached to every transaction) in order to generate an attack. In such a small network, that IOTA is currently, it won’t be very hard to achieve. Currently, they have a central system to validate all transactions which is claimed to be only for the time being but it eliminates decentralization from the system. Currently, people claim that IOTA is slow to use. That’s because they don’t have enough full nodes out there to process all the transactions. The network still needs to grow enough to become effusively decentralized.

Byteball:

DAG (Directed Acyclic Graph) - A competitor to Blockchain! (4)

It uses a DAG in the place of a traditional Blockchain. Their main net has been out longer than that of IOTA and is similarly a DAG based coin. It has a native currency called Bytes but it does not completely get rid of transaction fee as IOTA does. They have transactions fees implied to avoid scams. Their data structure is very similar to that of IOTA. Here the difference is that you have to pay a fee which will be awarded to the 12 witnesses who are responsible for verifying all the transactions. It eliminates the need to have everybody involved in the verification process. They allow you to achieve more than what you could achieve with IOTA. It has a conditional payment platform is not very robust. They have their privacy coins on the network as well for those who prefer privacy. They have enabled instant messaging systems in their wallets too. It still lacks decentralization as all the validation will be done by the 12 witnesses who will know the real life identities of people as well. They are trying to achieve too much at once which might end up worse. This implementation of DAG is only of a centralized computerized payment system

Railblocks:

DAG (Directed Acyclic Graph) - A competitor to Blockchain! (5)

It is an almost instant, fee-less and infinitely scalable medium for transactions. It also has no miners hence no transaction fee. It has public non-shared ledgers. Every individual has their own block (similar to blockchain) which they verify themselves. This implements PoS called “Balance of vote”. It is an open source project. They have no pre-miners and no ICOs. They have their network and wallet established. The hashing Algorithm this uses is SHA3/Blake2, ED25519 elliptical curve. It is providing unlimited transaction throughput with zero network fees. The problem is that they have a small team hence it is not well developed. This coin is innovative but implements new technology which could produce its own set of problems as it scales.

Fantom Foundation

DAG (Directed Acyclic Graph) - A competitor to Blockchain! (6)

Fantom claims the world’s first DAG based smart contract. It implements the architecture of DAG in the distributed ledger technology. It resolves the issue of speed and scalability present in today's blockchain based smart contracts. It can enable 300,000 transactions per second with fee less than a cent. The transactions will be made asynchronously with instant confirmations. It is aimed to be infinitely scalable. This system will have a lot of bonuses and transparency for trust. It has broad applications in the current market from food-technology to IoT. They call their DAG Opera Chain. It supports verification of people, community management and financial services etc. They use Fantom Virtual Machine (FVM) which will allow executive smart contract bi-code efficiency across all operating systems. The project aims to improve on newer blockchain platforms that are also DAG-based such as IOTA, Nano, Byteball etc. These platforms improve on current blockchain scalability as nodes are designed to process transactions asynchronously.

Fantom differentiates itself by incorporating smart contract DAPP infrastructure into a DAG-based platform so that it offers instant payment, near zero cost (under $0.01 from one wallet to another), and infinite processing scalability.

We do not have any knowledge of successful implementation of DAG as claimed by many projects though it is promising and looks useful for crypto ecosystem.

DAG (Directed Acyclic Graph) - A competitor to Blockchain! (2024)

FAQs

Why is DAG better than blockchain? ›

Unlike blockchains, DAGs do not organize data in blocks but in a graph structure where various types of transactions directly reference one another. No Need for Blocks or Miners: This structure eliminates the need for blocks and miners, potentially increasing transaction speeds and reducing costs.

What is a DAG in a blockchain? ›

A DAG is a type of data structure differing from the linear chain structure of traditional blockchains. Unlike blockchains, which consist of blocks linked together in a linear fashion, DAGs are more like a web of interconnected nodes.

What is the disadvantage of DAG? ›

However, there are also challenges associated with DAG-based models. One challenge is the lack of systematic work summarizing DAG techniques, which creates a gap in understanding . Another challenge is the need to solve NP-hard graph optimization problems on the DAG, which can be computationally complex .

What are the advantages of using DAG? ›

Expression Optimization: DAGs are used to optimize expressions by identifying common subexpressions and representing them efficiently, reducing redundant computations. Code Generation: DAGs assist in generating efficient code by representing intermediate code and optimizing it before translating it into machine code.

Which is better than blockchain? ›

Some of the greatest alternatives are centralized databases, distributed databases, centralized ledgers, cloud storage, decentralized storage, etc. These blockchain alternatives offer diverse benefits, ranging from increased transaction speed and efficiency to enhanced scalability and data privacy.

What technology will replace blockchain? ›

Attractive alternatives to blockchain for distributed ledgers include Hashgraph, Iota Tangle and R3 Corda. Both Iota and Hashgraph use Directed Acyclic Graphs (DAGs) as an alternative data structure for maintaining the ledger.

What are the limitations of DAG? ›

Limitations of DAGs

Second, DAGs do not convey information about magnitude or functional form of causal relationships and therefore are not ideal tools to definitively represent effect-measure modification or moderators. For example, in Figure 1, J causes D.

What is a DAG good for? ›

A DAG is a graph that provides a visual representation of causal relationships among a set of variables. These causal relationships are either known to be true or more commonly are only assumed to be true.

What are the benefits of DAGs? ›

When a DAG is created, common subexpressions are detected. Also, creating a DAG makes it easy to see variables and expressions which are used or defined within a block. DAGs also produce good code at code generation time.

Why is DAG useful? ›

Why Are Directed Acyclic Graphs Useful? DAGs help represent many different types of flows, including data processing flows. By thinking about large-scale processing flows in terms of DAGs, one can more clearly organize the various steps and the associated order for these jobs.

Why are DAGs good? ›

Originating in mathematics, a directed acyclic graph (DAG) is a diagram that visualizes an order-based relationship of events. This is why DAGs are useful in data engineering, DevOps, and data science as an efficient way of mapping out (i.e., graphing) workflows and data pipelines.

What is a DAG and when would it be used? ›

A Directed acyclic graph (DAG) is a visual representation of your data models and their connection to each other. The key components of a DAG are that nodes (sources/models/exposures) are directionally linked and don't form acyclic loops.

Is DAG the future of crypto? ›

Directed acyclic graph (DAG) technology may be the future of cryptocurrency transactions. Many people are unfamiliar with DAGs and graph theory. If you are a cryptocurrency enthusiast, it is a good idea to learn more about DAGs, how they work, and how they may impact distributed ledger technology.

Top Articles
What foods are high in collagen? And why is that important?
can vechain reach $100 | BTCC Knowledge
Star Wars Mongol Heleer
neither of the twins was arrested,传说中的800句记7000词
Fat Hog Prices Today
What to Do For Dog Upset Stomach
Is pickleball Betts' next conquest? 'That's my jam'
Vaya Timeclock
Brgeneral Patient Portal
Polyhaven Hdri
Sprague Brook Park Camping Reservations
Pike County Buy Sale And Trade
Barstool Sports Gif
Ecers-3 Cheat Sheet Free
123Moviescloud
Wnem Radar
Readyset Ochsner.org
Think Up Elar Level 5 Answer Key Pdf
Foodland Weekly Ad Waxahachie Tx
Comics Valley In Hindi
Pekin Soccer Tournament
iZurvive DayZ & ARMA Map
Schedule 360 Albertsons
18889183540
Terry Bradshaw | Biography, Stats, & Facts
Koninklijk Theater Tuschinski
Relaxed Sneak Animations
Masterbuilt Gravity Fan Not Working
Giantbodybuilder.com
Big Boobs Indian Photos
Elijah Streams Videos
123Moviestvme
Fandango Pocatello
Σινεμά - Τι Ταινίες Παίζουν οι Κινηματογράφοι Σήμερα - Πρόγραμμα 2024 | iathens.gr
Radical Red Doc
Vocabulary Workshop Level B Unit 13 Choosing The Right Word
Gotrax Scooter Error Code E2
Blow Dry Bar Boynton Beach
Fatal Accident In Nashville Tn Today
Breaking down the Stafford trade
Cch Staffnet
Craigslist Pet Phoenix
Underground Weather Tropical
Diario Las Americas Rentas Hialeah
Dmv Kiosk Bakersfield
Amourdelavie
North Park Produce Poway Weekly Ad
라이키 유출
Gelato 47 Allbud
Duffield Regional Jail Mugshots 2023
Haunted Mansion Showtimes Near The Grand 14 - Ambassador
Latest Posts
Article information

Author: Kerri Lueilwitz

Last Updated:

Views: 6079

Rating: 4.7 / 5 (67 voted)

Reviews: 90% of readers found this page helpful

Author information

Name: Kerri Lueilwitz

Birthday: 1992-10-31

Address: Suite 878 3699 Chantelle Roads, Colebury, NC 68599

Phone: +6111989609516

Job: Chief Farming Manager

Hobby: Mycology, Stone skipping, Dowsing, Whittling, Taxidermy, Sand art, Roller skating

Introduction: My name is Kerri Lueilwitz, I am a courageous, gentle, quaint, thankful, outstanding, brave, vast person who loves writing and wants to share my knowledge and understanding with you.