HomeLBank AcademyAsynchronous
Asynchronous
Asynchronous
2024-08-0994KAdvanced Tutorials

Asynchrony, in essence, implies actions that don't coincide or proceed at varying speeds. Envision yourself bustling in the kitchen while your friend sporadically texts you – an everyday illustration of asynchronous communication. In the realm of computer science, asynchrony denotes events unfolding without reliance on the main program's tempo; they progress freely at their own pace.


Within computer systems, asynchronous frameworks dispense with the need for a universal clock dictating all operations, instead relying on internally triggered events for propulsion. Such systems resemble an orchestra performing without a conductor, where each musician (module) plays independently yet interacts harmoniously, collectively crafting a melodious symphony. This modular architecture enables each component to function flexibly and efficiently, unhindered by any segment's delay.


Consider email or online forums, where posts and replies can be made at will, regardless of others' online presence – a quintessential example of asynchronous communication. Information isn't transmitted continuously like a flowing stream but rather intermittently, according to individual schedules.


Blockchain technology, the much-lauded innovation of recent years, can be designed to operate asynchronously or in semi-synchronous modes. Imagine blockchain as a public ledger, with asynchronous blockchains akin to courier services without immediate confirmation; senders can proceed to the next package without awaiting receipt acknowledgment, thus hastening transaction processing. However, the downside arises from the lack of instant feedback, leading to potential discrepancies in nodes' ledger views, akin to varied recollections of the same event.


Semi-synchronous networks strive to avert this, ensuring the network's unified state isn't fractured. Even if temporarily segmented, consensus mechanisms among nodes decelerate until reconnection, assuring ultimate agreement across all nodes.


In blockchain design, a trade-off exists between "consistency" and "availability." Prioritizing availability means transactions are swiftly accepted, with the system nearing continuous uptime; conversely, prioritizing consistency necessitates waiting periods for some transactions until preceding ones are verified, ensuring absolute data correctness.


Enter advanced strategy: Asynchronous Byzantine Fault Tolerance (aBFT), which, inspired by solutions to the Byzantine Generals' Problem, achieves consensus without relying on precise time synchronization, even with up to one-third of nodes acting maliciously. This ensures system stability and information integrity in severely adverse network conditions.

Live Chat
Customer Support Team

Just Now

Dear LBank User

Our online customer service system is currently experiencing connection issues. We are working actively to resolve the problem, but at this time we cannot provide an exact recovery timeline. We sincerely apologize for any inconvenience this may cause.

If you need assistance, please contact us via email and we will reply as soon as possible.

Thank you for your understanding and patience.

LBank Customer Support Team