Swoole 与 纯 PHP ab 压力测试

服务器配置

  • 操作系统CentOS 7.2 64位
  • CPU1 核
  • 内存2 GB
  • 公网带宽1 Mbps

Swoole  2.1.2-alpha

<?php
$http = new swoole_http_server("127.0.0.1", 9501);

$http->on("start", function ($server) {
    echo "Swoole http server is started at http://127.0.0.1:9501\n";
});

$http->on("request", function ($request, $response) {
    $response->header("Content-Type", "text/plain");
    $response->end("Hello World\n");
});

$http->start();
ab -c100 -n100000 http://127.0.0.1:9501/
Server Software:        nginx
Server Hostname:        127.0.0.1
Server Port:            80

Document Path:          /helloworld.php
Document Length:        11 bytes

Concurrency Level:      100
Time taken for tests:   20.609 seconds
Complete requests:      100000
Failed requests:        0
Write errors:           0
Total transferred:      18900000 bytes
HTML transferred:       1100000 bytes
Requests per second:    4852.13 [#/sec] (mean)
Time per request:       20.609 [ms] (mean)
Time per request:       0.206 [ms] (mean, across all concurrent requests)
Transfer rate:          895.56 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.1      0       3
Processing:     3   20   6.3     20     153
Waiting:        1   20   6.3     20     153
Total:          3   21   6.3     20     154

PHP 7.2.3

<?php
echo 'hello world';
ab -c100 -n100000 http://127.0.0.1/helloworld.php
Server Software:        swoole-http-server
Server Hostname:        127.0.0.1
Server Port:            9501

Document Path:          /
Document Length:        12 bytes

Concurrency Level:      100
Time taken for tests:   5.758 seconds
Complete requests:      100000
Failed requests:        0
Write errors:           0
Total transferred:      16100000 bytes
HTML transferred:       1200000 bytes
Requests per second:    17368.14 [#/sec] (mean)
Time per request:       5.758 [ms] (mean)
Time per request:       0.058 [ms] (mean, across all concurrent requests)
Transfer rate:          2730.73 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    1   0.4      1       4
Processing:     3    4   0.9      4      54
Waiting:        2    3   0.6      3      52
Total:          4    6   0.9      5      54

对 Laravel 5.5 和 ThinkPHP 5.0.20 进行了 ab 压力测试

是不是我配置有问题?

Laravel 5.5 输出 echo ‘hello world’

Server Software:        nginx/1.11.5
Server Hostname:        laravel55.a.cc
Server Port:            80

Document Path:          /
Document Length:        11 bytes

Concurrency Level:      10
Time taken for tests:   36.029 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      101442 bytes
HTML transferred:       1100 bytes
Requests per second:    2.78 [#/sec] (mean)
Time per request:       3602.922 [ms] (mean)
Time per request:       360.292 [ms] (mean, across all concurrent requests)
Transfer rate:          2.75 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.4      0       1
Processing:   348 3458 724.6   3592    4386
Waiting:      348 3457 724.6   3592    4386
Total:        349 3458 724.6   3592    4386

ThinkPHP 5.0.20 输出 echo ‘hello world’

Server Software:        nginx/1.11.5
Server Hostname:        thinkphp50.a.cc
Server Port:            80

Document Path:          /
Document Length:        11 bytes

Concurrency Level:      10
Time taken for tests:   4.198 seconds
Complete requests:      100
Failed requests:        9
   (Connect: 0, Receive: 0, Length: 9, Exceptions: 0)
Non-2xx responses:      9
Total transferred:      20852 bytes
HTML transferred:       2558 bytes
Requests per second:    23.82 [#/sec] (mean)
Time per request:       419.839 [ms] (mean)
Time per request:       41.984 [ms] (mean, across all concurrent requests)
Transfer rate:          4.85 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.5      0       1
Processing:    64  401 123.5    401     604
Waiting:       64  401 123.6    401     604
Total:         64  402 123.5    402     604

电脑配置

使用 Apache 的 ab 工具进行 PHP WordPress 的压力测试

使用 Apache 的 ab 工具测试了下几个网站的并发

本机配置

本地测试 echo ‘hello world’

./ab -c10 -n1000 http://localhost/helloworld.php
Server Software:        nginx/1.11.5
Server Hostname:        wp.a.cc
Server Port:            80

Document Path:          /helloworld.php
Document Length:        25 bytes

Concurrency Level:      10
Time taken for tests:   1.041 seconds
Complete requests:      1000
Failed requests:        12
   (Connect: 0, Receive: 0, Length: 12, Exceptions: 0)
Non-2xx responses:      1000
Total transferred:      219284 bytes
HTML transferred:       26776 bytes
Requests per second:    960.29 [#/sec] (mean)
Time per request:       10.414 [ms] (mean)
Time per request:       1.041 [ms] (mean, across all concurrent requests)
Transfer rate:          205.64 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.4      0       1
Processing:     2   10   4.7      9      22
Waiting:        2   10   4.6      8      22
Total:          3   10   4.7      9      22

测试 phpinfo()

./ab -c10 -n1000 http://localhost/phpinfo.php
Server Software:        nginx/1.11.5
Server Hostname:        wp.a.cc
Server Port:            80

Document Path:          /phpinfo.php
Document Length:        98215 bytes

Concurrency Level:      10
Time taken for tests:   4.408 seconds
Complete requests:      1000
Failed requests:        107
   (Connect: 0, Receive: 0, Length: 107, Exceptions: 0)
Non-2xx responses:      17
Total transferred:      96733608 bytes
HTML transferred:       96548186 bytes
Requests per second:    226.85 [#/sec] (mean)
Time per request:       44.083 [ms] (mean)
Time per request:       4.408 [ms] (mean, across all concurrent requests)
Transfer rate:          21429.39 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.4      0       1
Processing:    10   44   8.9     43      78
Waiting:        9   43   8.9     42      78
Total:         10   44   8.9     43      78

测试新装 WordPress

./ab -c10 -n100 http://localhost/wordpress/
Server Software:        nginx/1.11.5
Server Hostname:        wp.a.cc
Server Port:            80

Document Path:          /wordpress/
Document Length:        52976 bytes

Concurrency Level:      10
Time taken for tests:   45.738 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      5323100 bytes
HTML transferred:       5297600 bytes
Requests per second:    2.19 [#/sec] (mean)
Time per request:       4573.759 [ms] (mean)
Time per request:       457.376 [ms] (mean, across all concurrent requests)
Transfer rate:          113.66 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.5      0       1
Processing:   447 4366 790.2   4507    5239
Waiting:      446 4366 790.2   4507    5239
Total:        447 4367 790.2   4507    5240

WordPress 安装 WP Super Cache 缓存插件

./ab -c10 -n100 http://localhost/wordpress/
Server Software:        nginx/1.11.5
Server Hostname:        wp.a.cc
Server Port:            80

Document Path:          /wordpress/
Document Length:        53120 bytes

Concurrency Level:      10
Time taken for tests:   2.721 seconds
Complete requests:      100
Failed requests:        0
Total transferred:      5338000 bytes
HTML transferred:       5312000 bytes
Requests per second:    36.75 [#/sec] (mean)
Time per request:       272.131 [ms] (mean)
Time per request:       27.213 [ms] (mean, across all concurrent requests)
Transfer rate:          1915.58 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.4      0       1
Processing:    32  260  47.2    268     328
Waiting:       32  260  47.2    268     328
Total:         32  261  47.2    269     328

PHP 多版本共存 PHP5.6 PHP7.2

先安装 php7,正常安装

php7.2 安装完成后,进行 php5.6 的安装

安装 php5

[root@VM_0_2_centos ~]# cd ~
[root@VM_0_2_centos ~]# wget -c http://cn2.php.net/distributions/php-5.6.30.tar.gz
[root@VM_0_2_centos ~]# tar -zxvf php-5.6.30.tar.gz
[root@VM_0_2_centos ~]# cd php-5.6.30/
[root@VM_0_2_centos php-5.6.30]# ./configure  --prefix=/usr/local/php5 --enable-fpm --with-mysql  --with-mysqli --with-zlib --with-curl --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-openssl --enable-mbstring --enable-xml --enable-session --enable-ftp --enable-pdo
[root@VM_0_2_centos php-5.6.30]# make

make 可能会报错:make: *** [sapi/cli/php] error 1 ,

则使用

[root@VM_0_2_centos php-5.6.30]# make clean
[root@VM_0_2_centos php-5.6.30]# make ZEND_EXTRA_LIBS='-liconv'

安装

[root@VM_0_2_centos php-5.6.30]# make install

复制 php 配置文件

[root@VM_0_2_centos php-5.6.30]# cp php.ini-production /usr/local/php5/etc/php.ini

已经安装完成,查看版本号

[root@VM_0_2_centos php-5.6.30]# /usr/local/php5/bin/php -v

返回

PHP 5.6.30 (cli) (built: Aug 29 2018 09:09:28) 
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies

配置 php-fpm

[root@VM_0_2_centos php-5.6.30]# cp /usr/local/php5/etc/php-fpm.conf.default /usr/local/php5/etc/php-fpm.conf
[root@VM_0_2_centos php-5.6.30]# vim /usr/local/php5/etc/php-fpm.conf

查找 user 将

user = nobody
group = nobody

改成

user = www
group = www

查找 listen 将

listen = 127.0.0.1:9000

改成

listen = 127.0.0.1:9001

配置 php-fpm 服务

[root@VM_0_2_centos php-5.6.30]# cp sapi/fpm/php-fpm.service /usr/lib/systemd/system/php5-fpm.service
[root@VM_0_2_centos php-5.6.30]# vim /usr/lib/systemd/system/php5-fpm.service 

将:

PIDFile=${prefix}/var/run/php-fpm.pid
ExecStart=${exec_prefix}/sbin/php-fpm --nodaemonize --fpm-config ${prefix}/etc/php-fpm.conf

改成

PIDFile=/usr/local/php5/var/run/php-fpm.pid
ExecStart=/usr/local/php5/sbin/php-fpm --nodaemonize --fpm-config /usr/local/php5/etc/php-fpm.conf

重新载入 systemd

[root@VM_0_2_centos php-5.6.30]# systemctl daemon-reload

可以设置开机启动:

[root@VM_0_2_centos php-5.6.30]# systemctl enable php5-fpm

返回结果

Created symlink from /etc/systemd/system/multi-user.target.wants/php5-fpm.service to /usr/lib/systemd/system/php5-fpm.service.

启动:

[root@VM_0_2_centos php-5.6.30]# systemctl start php5-fpm

关闭:

[root@VM_0_2_centos php-5.6.30]# systemctl stop php5-fpm

查看状态:

[root@VM_0_2_centos php-5.6.30]# systemctl status php5-fpm

返回

● php5-fpm.service - The PHP FastCGI Process Manager
   Loaded: loaded (/usr/lib/systemd/system/php5-fpm.service; disabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-08-29 09:36:39 CST; 47s ago
 Main PID: 14996 (php-fpm)
   CGroup: /system.slice/php5-fpm.service
           ├─14996 php-fpm: master process (/usr/local/php5/etc/php-fpm.conf)
           ├─14997 php-fpm: pool www
           └─14998 php-fpm: pool www

配置不同的 nginx 站点使用不用的 PHP 版本

[root@VM_0_2_centos php-5.6.30]# cd /usr/local/nginx/conf/vhost/
[root@VM_0_2_centos vhost]# vim test.liuguofeng.com.conf 
server {
    listen       80;
    server_name  test.liuguofeng.com;
    root         /home/wwwroot/test.liuguofeng.com
    location / {
        index  index.php index.html index.htm;
    }
    location ~ \.php$ {
        fastcgi_pass   127.0.0.1:9001;
        fastcgi_index  index.php;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        include        fastcgi_params;
    }
}

PHP 5 使用 9001 端口, PHP 7,使用 9000端口。

重载 nginx 服务

[root@lnmp conf.d]# systemctl reload nginx

访问 PHPINFO

PHP url 缺少 www 自动补全 www 函数

稍后继续优化

<?php
function addWww($url){
	$parse = parse_url($url);

	$scheme = isset($parse['scheme'])?$parse['scheme']:'';
	$host = isset($parse['host'])?$parse['host']:'';
	$path = isset($parse['path'])?$parse['path']:'';
	$query = isset($parse['query'])?$parse['query']:'';
	$fragment = isset($parse['fragment'])?$parse['fragment']:'';

	preg_match('/^(([www]{3})|([\w]{1,}))[\.][\w]*?[\.][com|cn|com.cn|cc|net]{2,}/',$host,$match);

	if($match){
		$resUrl = $url;
	}else{
		$resUrl = $scheme.'://'.'www.'.$host.$path.'?'.$query.'#'.$fragment;
	}
	return $resUrl;
}

微信分享 和 支付宝分享自动调用的设备使用情况

使用微信分享 和 支付宝分享时,微信服务器与阿里服务器自动调用网页情况记录

Linux; Android 8.0; ONEPLUS A3010 Build/OPR1.170623.032; 

iPhone; CPU iPhone OS 10_2_1 like Mac OS X

是本人设备

2018-08-24 14:48:54	http://wanai.unetu.net/	Mozilla/5.0 (Linux; Android 8.0; ONEPLUS A3010 Build/OPR1.170623.032; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.132 MQQBrowser/6.2 TBS/044205 Mobile Safari/537.36 MicroMessenger/6.7.2.1340(0x26070236) NetType/WIFI Language/zh_CN
2018-08-24 14:51:13	http://wanai.unetu.net/	Mozilla/5.0 (Linux; Android 8.0; ONEPLUS A3010 Build/OPR1.170623.032; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.132 MQQBrowser/6.2 TBS/044205 Mobile Safari/537.36 MicroMessenger/6.7.2.1340(0x26070236) NetType/WIFI Language/zh_CN
2018-08-24 14:54:10	/vip/relay_login?invited=&via=mobile	Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML; like Gecko) Mobile/12F70 MicroMessenger/6.1.5 NetType/WIFI
2018-08-24 14:54:10	/vip/relay_login?invited=&via=mobile	Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML; like Gecko) Mobile/12F70 MicroMessenger/6.1.5 NetType/WIFI
2018-08-24 14:54:11	/vip/relay_login?invited=&via=mobile	Mozilla/5.0 (iPhone; CPU iPhone OS 8_3 like Mac OS X) AppleWebKit/600.1.4 (KHTML; like Gecko) Mobile/12F70 MicroMessenger/6.1.5 NetType/WIFI
2018-08-24 14:54:24	http://wanai.unetu.net/vip/relay_login?invited=&via=mobile	Mozilla/5.0 (Linux; Android 8.0; ONEPLUS A3010 Build/OPR1.170623.032; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.132 MQQBrowser/6.2 TBS/044205 Mobile Safari/537.36 MicroMessenger/6.7.2.1340(0x26070236) NetType/WIFI Language/zh_CN
2018-08-24 14:55:24	http://wanai.unetu.net/vip/relay_info?invited=&via=none	Mozilla/5.0 (Linux; Android 4.4.4; Coolpad Y82-520 Build/KTU84P) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/33.0.0.0 Mobile Safari/537.36 MicroMessenger/6.5.4.1000 NetType/4G Language/zh_CN
2018-08-24 15:03:38	/vip/relay_login?invited=&via=none	Mozilla/5.0 (Linux; U; Android 8.0.0; zh-cn; ONEPLUS A3010 Build/OPR1.170623.032) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.0.0 Mobile Safari/537.36
2018-08-24 15:04:12	http://wanai.unetu.net/vip/relay_login?invited=&via=none	Mozilla/5.0 (Linux; U; Android 8.0.0; zh-cn; ONEPLUS A3010 Build/OPR1.170623.032) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.0.0 Mobile Safari/537.36
2018-08-24 15:05:01	http://wanai.unetu.net/branch/palipay_return/vip/0?body=3%E5%BC%A030%E5%85%83%E4%BB%A3%E9%87%91%E5%88%B8&is_success=T&notify_id=RqPnCoPT3K9%252Fvwbh3Ih134mxINV5jZfwxcrQKMegXWc3%252Bfdo4ugy5pN8E8Vf3iVhwW%252Fe&notify_time=2018-08-24+15%3A04%3A55&notify_type=trade_status_sync&out_trade_no=20180824-500001-150344_10095&payment_type=1&seller_id=2088911951177304&service=alipay.wap.create.direct.pay.by.user&subject=29%E5%85%83%E8%B4%AD%E4%B9%B0%E4%B8%87%E7%88%B1%E4%BB%A3%E9%87%91%E5%88%B8%E6%8E%A5%E9%BE%99&total_fee=0.02&trade_no=2018082422001417181000967030&trade_status=TRADE_SUCCESS&sign=JYCBvK68Vfol0lJpLH2ft5l59AirEw3dAWK8FBf4vJgrOR7Qpkv3AsgehR4iaujMSv6%2FJeYS5%2Bl7o2HVEbk42SE6cp9kXRrhQNmjPAPyZey8pQfROTKc9aG4BCuSjmaSYbBAxtz0XMqBPhZh3gFQt%2BcEw5IGEZIOPofk1pn6do0%3D&sign_type=RSA	Mozilla/5.0 (Linux; U; Android 8.0.0; zh-cn; ONEPLUS A3010 Build/OPR1.170623.032) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.0.0 Mobile Safari/537.36
2018-08-24 15:05:29	/vip/relay_login?invited=&via=pc	Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/16A5364a MicroMessenger/6.7.2 NetType/WIFI Language/zh_CN
2018-08-24 15:05:54	http://wanai.unetu.net/vip/relay_login?invited=&via=pc	Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/16A5364a MicroMessenger/6.7.2 NetType/WIFI Language/zh_CN
2018-08-24 15:06:30	http://wanai.unetu.net/vip/relay?via=pc	Mozilla/5.0 (iPhone; CPU iPhone OS 10_2_1 like Mac OS X) AppleWebKit/602.4.6 (KHTML, like Gecko) Mobile/14D27 MicroMessenger/6.5.5 NetType/WIFI Language/en
2018-08-24 15:06:56	http://wanai.unetu.net/vip/relay_info?invited=&via=none	Mozilla/5.0 (Linux; Android 4.4.4; HUAWEI ALE-CL00 Build/HuaweiALE-CL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/53.0.2785.49 Mobile MQQBrowser/6.2 TBS/043024 Safari/537.36 MicroMessenger/6.5.4.1000 NetType/4G Language/zh_CN
2018-08-24 15:07:23	http://wanai.unetu.net/	Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1
2018-08-24 15:07:41	http://wanai.unetu.net/vip/relay_login?invited=&via=mobile	Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1
2018-08-24 15:08:09	http://wanai.unetu.net/branch/palipay_return/vip/0?body=3%E5%BC%A030%E5%85%83%E4%BB%A3%E9%87%91%E5%88%B8&is_success=T&notify_id=RqPnCoPT3K9%252Fvwbh3Ih134mxINMlIGTG%252B9kID%252FwiGx4c1FnkV%252BooSK3CMdbONBwJlaco&notify_time=2018-08-24+15%3A08%3A03&notify_type=trade_status_sync&out_trade_no=20180824-500001-150601_10094&payment_type=1&seller_id=2088911951177304&service=alipay.wap.create.direct.pay.by.user&subject=29%E5%85%83%E8%B4%AD%E4%B9%B0%E4%B8%87%E7%88%B1%E4%BB%A3%E9%87%91%E5%88%B8%E6%8E%A5%E9%BE%99&total_fee=0.02&trade_no=2018082422001463961001437388&trade_status=TRADE_SUCCESS&sign=QcnyPraS%2FMLpTcAqns0y%2FWvAZrMBML0zZHKI4%2FpLRYzhcBc0BGvRAXgTEZH1rEgWJOOKB3MuI54OjsXvHNdseme4c1Us4DXfMt4zNZoNhXohWHWbCz7lX2xgQfe2Kd6ex9VPhL3gVS4wR0pjhCedYAbeIkqsuH3sIQAxTh9bPjg%3D&sign_type=RSA	Mozilla/5.0 (iPhone; CPU iPhone OS 12_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/12.0 Mobile/15E148 Safari/604.1
2018-08-24 15:10:18	/vip/relay_info?invited=DVMTUzNTA5NDQ4OWV5SnBaQ0k2SWpFMk9TSjk=&via=share	Mozilla/5.0 (iPhone; CPU iPhone OS 9_3 like Mac OS X) AppleWebKit/601.1.46 (KHTML, like Gecko) Mobile/13E230 ChannelId(3) Nebula PSDType(1) AlipayDefined(nt:WIFI,ws:320|504|2.0) AliApp(AP/9.9.0.000001) AlipayClient/9.9.0.000001 Language/zh-Hans ProductType/dev
2018-08-24 15:10:22	/vip/relay_start?invited=DVMTUzNTA5NDQ4OWV5SnBaQ0k2SWpFMk9TSjk=&via=none	Mozilla/5.0 (Linux; U; Android 8.0.0; zh-CN; ONEPLUS A3010 Build/OPR1.170623.032) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 UCBrowser/11.8.8.968 UWS/2.13.2.11 Mobile Safari/537.36 UCBS/2.13.2.11_180731180537 NebulaSDK/1.8.100112 Nebula AlipayDefined(nt:WIFI,ws:411|0|2.625,ac:sp) AliApp(AP/10.1.30.663) AlipayClient/10.1.30.663 Language/zh-Hans useStatusBar/true isConcaveScreen/false
2018-08-24 15:10:46	/vip/relay_info?invited=DVMTUzNTA5NDQ4OWV5SnBaQ0k2SWpFMk9TSjk=&via=share	Mozilla/5.0 (Linux; U; Android 8.0.0; zh-CN; ONEPLUS A3010 Build/OPR1.170623.032) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 UCBrowser/11.8.8.968 UWS/2.13.2.11 Mobile Safari/537.36 UCBS/2.13.2.11_180731180537 NebulaSDK/1.8.100112 Nebula AlipayDefined(nt:WIFI,ws:411|0|2.625,ac:sp) AliApp(AP/10.1.30.663) AlipayClient/10.1.30.663 Language/zh-Hans useStatusBar/true isConcaveScreen/false
2018-08-24 15:11:07	http://wanai.unetu.net/vip/relay_info?invited=DVMTUzNTA5NDQ4OWV5SnBaQ0k2SWpFMk9TSjk=&via=share	Mozilla/5.0 (Linux; U; Android 8.0.0; zh-CN; ONEPLUS A3010 Build/OPR1.170623.032) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/57.0.2987.108 UCBrowser/11.8.8.968 UWS/2.13.2.11 Mobile Safari/537.36 UCBS/2.13.2.11_180731180537 NebulaSDK/1.8.100112 Nebula AlipayDefined(nt:WIFI,ws:411|0|2.625,ac:sp) AliApp(AP/10.1.30.663) AlipayClient/10.1.30.663 Language/zh-Hans useStatusBar/true isConcaveScreen/false