Labels: sockets

7 results found

Ensure the high performance of Redis single threaded IO model through non blocking IO and multiplexing mechanism

High performance Redis practice Basic Principles

Previously, Mr. Xuejun introduced to you that the Redis server uses the single thread IO model when processing client requests, and why it chooses the single thread IO model. In fact, it is not

Published by Xueyuan Jun 3 years ago    Number of views: 812    Number of likes: 0

Redis Client and Server Communication Protocol RESP Details and Predis Extension Implementation Principle

High performance Redis practice Basic Principles

In the last tutorial, Xuejun gave an overall introduction to the organizational structure and basic implementation of Redis through the life cycle of string key value execution of Redis instructions. Starting today

Published by Xueyuan Jun 3 years ago    Number of views: 738    Number of likes: 0

Socket Programming (Part 2): How can the server increase concurrency

Introduction to Network Protocols Transport Layer Protocol

Taking Web requests as an example, we will introduce how to make the server process more requests at the same time to increase the concurrency. Web requests are generally HTTP requests, and the HTTP protocol is

Published by Xueyuan Jun 4 years ago    Number of views: 1125    Number of likes: 3

Socket programming (I): the underlying principle of sockets

Introduction to Network Protocols Transport Layer Protocol

Introduction to Sockets When an application at the application layer communicates based on TCP or UDP protocol, it needs to use the class library provided by the operating system, which is generally called AP

Published by Xueyuan Jun 4 years ago    Views: 1221    Number of likes: 1

radio broadcast

Laravel 5.6 Chinese documents Advanced series

brief introduction In many modern Web applications, Web Sockets are used to implement the user interface of real-time update. When some data is updated on the server

Published by Xueyuan Jun 6 years ago    Views: 22986    Number of likes: 3

Implementation of event broadcast between server and client in Larravel

Laravel 5.5 Chinese Document Advanced series

brief introduction In many modern Web applications, Web Sockets are used to implement the user interface of real-time update. When some data is updated on the server

Published by Xueyuan Jun 6 years ago    Views: 29186    Number of likes: 5

[PHP kernel and extension development series] Streaming access: an overview of streams

Blog

Generally, the direct file descriptor consumes less CPU and memory than the call stream wrapper; However, this will pile up all the work of implementing a specific protocol as an extension developer

Published by Xueyuan Jun 6 years ago    Views: 7285    Number of likes: 1