Introduction

As you may already know, the elevator in the computer sciences department has been broken since Friday and will remain unfixed throughout the weekend. Although we have a backup elevator, it gets overloaded even on a Saturday morning. When I went to grab a cup of coffee, someone else had already ridden it, so I had to take the stairs.

We strive to create systems with high availability. A loss of three days (averaging 0.9% throughout the year) is hardly acceptable. This brings us to today’s main theme:

We present a proposal for a new type of elevator that utilizes blockchain technology to achieve high availability.

The idea behind this proposal is to create an elevator system that never goes down. By using a decentralized blockchain network, the elevator system could potentially achieve 100% uptime, with no single point of failure.

Design

The elevator’s control system would be connected to the blockchain network. Every time a passenger boards or exits the elevator, a new block would be added to the chain. The blocks would contain information about the elevator’s current position, direction, and speed. You can think of it as a transaction: validators (a new name for blockchain miners in this context) will include it in the chain. Once six blocks are validated on top of it, we will consider it confirmed, and the elevator will move toward the destination. The confirmation of the transaction on the Ethereum Mainnet takes approximately 84 seconds. However, faster confirmations can be achieved by using private chains.

Thanks to the decentralized nature of the system, the elevator will continue to function as long as most validators are online. Even if a hacker tries to tamper with the system, the blockchain’s consensus mechanism will ensure that the elevator’s history remains accurate and unalterable. If you take a two-hour coffee break on the sixth floor, everyone in the department will know about it.

In addition, the immutability of the blockchain guarantees that there will be no disputes over the operation of elevators, which can occur with traditional elevator systems. For instance, people often disagree on how long the doors should remain closed if no button is pressed, and it is often unclear whether the “close door” button accelerates the closing. With blockchains, these rules are enforced by the system, and there is no room for interpretation.

Conclusion

Elevators powered by blockchain technology have a lot of potential. We highly anticipate that they will replace the current broken elevator in the CS building.

Happy April Fool’s Day!

Comment and share

Memory Order

in writing

大家好,这里是很懂C++的BlancJpg。

Memory order是什么?哎呀怎么这个都不懂。Memory order不是很简单嘛!Memory是记忆,order是顺序。理所当然,memory order是记忆的顺序!当然,我记性不是很好,经常记不清顺序——卡特列夫库——是什么的库?

拿昨天的早饭做例子吧,我吃的是面包夹肉饼——好吃吗?嗯……还行吧——我记得很清楚,我先吃了面包再吃的肉饼的。

……什么?原子化?对对对,我的牙齿是先碰到面包,再碰到肉饼的分子的。所以从分子层面上来说我是先吃的面包。你呀,明明是分子说什么原子化。难道是要把分子劈开吗?想裂变吗?

就说是先吃面包了!麦当劳的肉饼比较x……好了好了换个例子!拿前天做例子吧,我是先吃的早餐然后吃的午餐。——我说吃早餐了就是吃了!别多管闲事!所以从正常人的眼里来看,我肯定是先吃的早餐然后吃的午餐,除非有人在超光速运动。啊不对,如果是超光速运动的人,那就不是吃了,大概会看到我先吐出午餐,再吐出早餐。像小红帽故事里的大灰狼一样。所以是小红帽在超光速运动。谁也没看见大灰狼吃奶奶的场景对吧?没看见就是一切皆有可能。

大灰狼记不记得自己点了什么菜呢?毕竟是order……哈哈!

讲到哪里了,讲到晚饭了。前天的晚饭吃得比较快活。吃的羊肉串加牛肉面。饿了一天的肚子也填饱了。——所以讲吃早餐了!话真多呢这家伙!走了!

Comment and share

  • page 1 of 1
Author's picture

NoirGif

A progamer.

(click me to see some )


Student(probably)