Skip to content

899/swoole

 
 

Repository files navigation

php_swoole

Swoole written by C, based on the Linux epoll does not rely on any third-party libraries, as a the PHP extensions running high-performance network server framework, you can easily maintain more than 100,000 concurrent TCP connections. Swoole provides a full asynchronous, non-blocking, parallel PHP Socket Server to achieve. Support UDP, TCP, IPv6 support multi-port monitoring, multi timer and operation mode can be configured. PHP developers do not care about the underlying implementation, only need to use PHP to write the callback function, write the logic code can be. Swoole can be used for server-side development, such as WebSocket Server, Web server, FTP server.

Document 中文

feature

  • Event-driven
  • Full asynchronous non-blocking
  • No lock design
  • Separate read and write
  • Concurrent execution. Support Multi-Thread or Multi-Process
  • Support IPv6

For PHP

cd swoole/
phpize
./configure
make && make install

For C/C++

cd swoole/
cmake .
make && make install

PHP Application Server

https://github.com/matyhtf/swoole_framework

example

blog

http://swoole.sinaapp.com/ 中文(Chinese)

About

PHP & C/C++ asynchronous, concurrent and distributed Socket Server & Client framework.

Resources

License

Stars

Watchers

Forks

Packages

No packages published