Distributed file system for cloud: Difference between revisions

Content deleted Content added
Line 117:
 
The data communication (send/receive) operation transfer the data from the application buffer to the kernel on the machine.[[w:Transmission Control Protocol|TCP]] control the process of sending data and is implemented in the kernel. However, in case of network congestion or errors, TCP may not send the data directly.
While transferring, data from a buffer in the [[w:Kernel (computing)|kernel]] to the application, the machine does not read the byte stream from the remote machine. In fact, TCP is responsible for buffering the data for the application .<ref> {{harvnb|B. Upadhyaya, Azimov, F., Doan T.T., Eunmi Choi, SangBum Kim, Pilsung Kim|p=4|id= Upadhyaya}}</ref>.
 
Providing a high level of communication can be done by choosing the buffer-size of file reading and writing or file sending and receiving on application level.
Explicitly, the buffer mechanism is developed using [[w:Linked list|Circular Linked List]] .<ref> {{harvnb|B. Upadhyaya, Azimov, F., Doan T.T., Eunmi Choi, SangBum Kim, Pilsung Kim|p=2|id= Upadhyaya}}</ref>. It consists of a set of BufferNodes. Each BufferNode has a DataField. The DataField contains the data and a pointer called NextBufferNode that points to the next BufferNode. To find out the current position, two [[w:Pointer (computer programming)|pointers]] are used: CurrentBufferNode and EndBufferNode , that represent the position in the BufferNode for the last written poistion and last read one.
If the BufferNode has no free space, it will send a wait signal to the client to tell him to wait until there is available space.<ref> {{harvnb|B. Upadhyaya, Azimov, F., Doan T.T., Eunmi Choi, SangBum Kim, Pilsung Kim|p=3|id= Upadhyaya}}</ref>.
 
==Security keys==