Tonight at eight golang share "how to master the go coroutine & pipe & socket communication in 60 minutes."

Tonight at eight  golang share "how to master the go coroutine & pipe & socket communication in 60 minutes."

It reads as follows:

Demo

Knowledge learning

  • Golang Introduction
  • go concurrent programming and communication
  • TCP / IP protocol suite.
  • socket

Real

  • Use go net tcp server module developers to explain and client code

 

Share time: 2019.5.28--20: 00-21: 30

 

Speaker: kk

Mix and match multi-language development engineers, many years PHP, Python project development experience to lead the team to complete multiple, small-scale development projects. Specializes in the development of Web security, performance optimization, distributed application development & design and other aspects, the inauguration was 360, the Green League and Technology, 8 years of work experience, 51Reboot gold medal lecturer

 

way of participation:

Scan code to add assistant micro letter notes [go] Share

 

golang-- concurrent communication

 

Concurrent program of communication

1, the shared data (sync)

Multiple concurrent programs require access to the same resources, you need to apply for access to resources, while re-use access to free resources after completion. When resources are other programs that have applied for access, access to the program should wait to be released and when to apply for access operations. At the same time and operational resources can only be accessed by a program

 

2, the pipe (asynchronous)

Data were processed after processing the data into the buffer, the data receiver to obtain data from the buffer, handlers do not wait for the receiver is ready to process data

 

TCP / IP protocol suite.

 

Host A sends an e-mail processing procedure to the host B in TCP / IP model

 

Socket

 

TCP: connection-oriented, reliable streaming protocol to provide reliable communication transmission

UDP: connectionless-oriented, the unreliability Datagram Protocol

Socket: i.e. the socket, the operating system provides TCP and UDP operation API, an application program uses sockets, may be provided on the IP address, port number of the terminal, and to implement data transmission and reception

 

 

......

 

Course Information

6.15 golang curriculum classes, details Add Amy WeChat: 17812796384

 

Guess you like

Origin www.cnblogs.com/reboot51/p/10939376.html