HDFS applications need a write-once-read-many access model for files.
HDFS应用对文件要求的是write - one - read - many访问模型。
Each channel has a predefined function and is either a read channel or a write channel.
每个通道都是一个预定义的函数,它可能是一个读通道,也可能是一个写通道。
A write to a volatile field happens-before every subsequent read of that same volatile.
对volatile字段的写happens - before同一volatile的每一个后续读。
A write barrier executed before the application performs a store operation does this tracking.
在应用程序执行存储操作之前执行写障碍将完成这种跟踪。
Figure 6 demonstrates how a write mode time queue for file access can improve data consistency
图6显示了文件访问的写模式时间队列如何改善数据一致性
The capital W in the FD column indicates that the application has a write lock on the whole file.
FD列中的大写W表示该应用程序具有对整个文件的写锁。
If a program has a file open before the fork, what happens if both processes try a read or a write?
如果在调用fork前,某个程序已经打开了一个文件,如果两个进程都尝试执行读取或写入,会发生什么情况呢?
In blocking mode, a thread will block on a read or a write until the operation is completely finished.
在阻塞模式中,线程将在读或写时阻塞,一直到读或写操作彻底完成。
On Monday, China Telecom reported a jump in full-year profit after a write-down hurt year-earlier results.
周一,中国电信宣布全年利润大幅增长,其上年同期业绩因冲销而受损。
In a write-behind cache, once the data is in the cache, the request is returned, and processing continues.
在write - behindcache模式下,当数据位于缓存中时,请求将返回,并且处理继续进行。
When a write or delete occurs in the original file system, the affected blocks are copied into the snapshot.
当原始文件系统中发生写入或删除事件时,受影响的块将复制到快照中。
A write transaction is not completed until all synchronous replica shards have confirmed receipt of the new data.
在所有同步复制碎片确定新数据的接收之后,写入事务才算完成。
On a write, the DIF is generated by the host bus adapter (HBA), based on the block data and logical block address.
在写数据时,主机总线适配器(HBA)根据块数据和逻辑块地址生成dif。
For the SPE, it is simply a set of channels (a read channel and a write channel) to write 32-bit values to the PPE.
对于spe而言,邮箱就是一组信道集(包括写信道和读信道),用来将32位值写到PPE。
As discussed earlier, with a write-behind cache, the transaction completes when the data is written to the cache, which is fast.
正如上文讨论的一样,使用写入后缓存,事务在数据写入缓存时完成,这样速度更快。
The rw parameter, which you use to indicate whether the data is being pulled in for Read or preparing for a Write operation.
rw参数,使用它指明预抓取数据是为了执行读操作,还是执行写操作。
FD 4 is where things get a bit more interesting, since it is a write-only handle to a character device, essentially /dev/log.
FD4 中的内容比较有趣,因为它是一个字符设备的只读句柄,实质上是 /dev/log。
In a write-through cache, the data is written to the cache and to the disk before returning to the writing process to continue.
在write - throughcache模式下,在返回到写入流程并继续之前,数据将写入到缓存然后再写到磁盘。
Some implementations open a read channel as a long HTTP GET, while a write channel opens and closes when needed as an HTTP POST.
有些实现打开读取通道作为长期HTTPGET,而另外打开写入通道作为HTTPPOST,在需要时打开和关闭。
After the indexer receives the IASTTranslationUnit, it gets a write lock on the PDOM and begins persisting the TranslationUnit's data.
索引器接收到IASTTranslationUnit后,会得到在PDOM上的一个写锁并开始保持TranslationUnit的数据。
Facebook has also developed a Write and Search API that allows third-party apps to publish checkins and run queries on Places data.
Facebook也开发了一套写入及搜索应用程序开发接口,允许第三方应用程序发布签到信息及对地点数据进行查询。
The most obvious advantage is that theweb is based on standards, giving developers the benefit of a write once, runanywhere environment.
最明显的优势是,以标准为基础的Web用编写一遍、到处运行的环境帮助开发人员。
If a write to an object is encountered while there is a previous write to the same object in progress, the previous write is invalidated.
如果对象写入时遇到前一个对相同对象的写入正在进行,发生这种情况时,前一个写入是无效的。
Under normal circumstances, a write request is written directly to cache and incurs no delay because physical disk access is not required.
在正常的环境中,一个写请求是直接写入到缓存中而不会引起延迟的,因为它不需要访问物理磁盘。
A server can also restrict the byte range of a Write layout to avoid quota limits or to reduce allocation overhead, among other reasons.
服务器还能限制Write布局的字节范围,以避免配额限制或减少分配开销等等。
When a peer performs a write on a socket, it is guaranteed that this same-sized chunk of data will be read at the peer endpoint (see Figure 5).
当一端对一个套接字执行写操作时,可确保对等端读出的数据大小与此相同(请参见图5)。
The first architectural change was to create a write-through Vector Cache containing an array of tweet IDs which are serialized 64 bit integers.
第一个架构改动是创建一个直写式向量缓存包含了一个tweetID的数组,tweet ID是序列化的64位整数。
Additionally, if a client receives a write delegation for a file, then no other client may write or read to that file for the length of the delegation.
此外,如果一个客户机得到了一个文件的写授权,那么在此授权期间没有其他客户机可以写或读这个文件。
This is due to the way in which JFS2 is implemented with a write-exclusive inode lock, allowing multiples users to read the same file simultaneously.
这是因为JFS2在实现时使用了写独占(write - exclusive)索引节点锁,允许多个用户同时读取相同的文件。
When a semaphore protects a large amount of data, assuming one or more tasks USES it on a write basis, the semaphore becomes a bottleneck within the system.
在一个信号量保护大量数据时,如果一个或多个任务使用它进行写操作,这个信号量就会成为系统瓶颈。
应用推荐