Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Why does TON take seconds to process a transaction if it is capable of processing millions of transactions per second?

It's said that TON blockchain is capable of processing millions of transactions per second. That sounds like it only needs to spend a small fraction of a second on each transaction. Why does every transactions take several seconds to complete, then? Why not a small fraction of a second?

This question was imported from Telegram Chat: https://t.me/tondev/127629

Votes Newest


To put it simply:

All the blockchains, including TON, group new transactions into a "block" before they are added to the chain-like structure that consists of all the previous blocks (hence the word "blockchain"). And it always takes some noticeable time to create a new block, due to a number of factors.

But a block can contain lots of transactions. And that means the time it took to create a block was not spent on a single transaction, but on all of them at once.

So there is no contradiction. When people say "TON can process millions of transactions per second", it means that all that giant stream of transactions won't overwhelm the network. But all the transactions in that giant stream would have that same several-seconds processing time.

Posted one year ago
Edited one year ago