Distribute System 1-12-Introduciton

What is a Distributed System?

“A collection of independent computers that appears to its users as a single coherent system.”

Cluster:

CSIRO Bracewell 114 PowerEdge C4130 servers with Nvidia Tesla P100 GPUs, Nvlink, dual Intel Xeon processors, and 100Gbps EDR InfiniBand interconnect. 1,634,304 Cuda compute cores, 3192 Xeon compute cores, and 29TB of RAM, and runs both Linux and Windows.

Monthly active
Facebook 2006M
Wechat 938M
Ins 700M
Nessenger 1200M
Whatsapp 1300M

Chip Multiprocessor
MICA,DDR3 Controller
TRIO mPIPE network I/O Flexible I/O USB

Sensor NetWork pg25

Blockchain pg28

A blockchain is a decentralized ledger of all transactions across a peer-to-peer network. Using this technology, participants can confirm transactions without a need for a central clearing authority. Potential applications can include fund transfers, settling trades, voting, and many other issues.

Transparency helps the users observe a single coherent system
– The different forms of transparency in a distributed systems

Middleware - A distributed systems can be viewed as a middleware
The middleware layer extends over multiple machines and offers each
application the same interface

主要的部分:Scalability:
Scalability of a distributed system: the ability for the system to
preserve some properties as the system grows in
• the number of requests or participants,
• the distance between resources and users, or
• the heterogeneity.

在这里插入图片描述

主要的部分:Consistency:
Consistency; a property applying to a collection of data items that are accessed by distributed participants.

主要的部分:Consistency:Fault-Tolerance容错
– Fault-tolerance of a distributed system: the ability for the system to recover from partial failures.

The producer and consumer access the same MessageQueue concurrently.
Find the documentation of java.util.Vector by browsing the Java API at
http://docs.oracle.com/javase/8/docs/api/. Why is the producer consumer implementation
thread-safe? What happens if you replace Vector by an ArrayList (read the
documentation)?

Answer: The Vector class is synchronised which ensures that producer and consumer can
share and mutate it (write to it) in a thread-safe manner.
Replacing Vector by ArrayList makes the program no longer thread-safe.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值