CyberX

mobile

Site load benchmark testing with apache ab

There are many services for testing and benchmarking site load average in the web but many of them is require a payments. Fortunately in Mac OS and Linux we have Apache service utility named Apache Benchmark thats can do test with one line command input.

For example I test random site with ab using one IP address via WIFI -> 4G network with concurrency 200 and 1000 requests per time:

ab -c 200 -n 1000 https://yandex.ru/images/

The output:

CyberXs-MBP:~ cyberx$ ab -c 200 -n 1000 http://cyberx.pro/revolver_cms_v.1.0.9/
This is ApacheBench, Version 2.3 
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
Licensed to The Apache Software Foundation, http://www.apache.org/

Benchmarking cyberx.pro (be patient)
Completed 100 requests
Completed 200 requests
Completed 300 requests
Completed 400 requests
Completed 500 requests
Completed 600 requests
Completed 700 requests
Completed 800 requests
Completed 900 requests
Completed 1000 requests
Finished 1000 requests


Server Software:        openresty
Server Hostname:        cyberx.pro
Server Port:            80

Document Path:          /revolver_cms_v.1.0.9/
Document Length:        16984 bytes

Concurrency Level:      200
Time taken for tests:   16.783 seconds
Complete requests:      1000
Failed requests:        894
   (Connect: 0, Receive: 0, Length: 894, Exceptions: 0)
Non-2xx responses:      894
Total transferred:      10029004 bytes
HTML transferred:       9855404 bytes
Requests per second:    59.58 [#/sec] (mean)
Time per request:       3356.659 [ms] (mean)
Time per request:       16.783 [ms] (mean, across all concurrent requests)
Transfer rate:          583.55 [Kbytes/sec] received

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:       69  437 287.1    431    1247
Processing:   113 1663 2268.0    729    9685
Waiting:       96 1565 2237.5    686    9598
Total:        195 2100 2286.3   1167   10625

Percentage of the requests served within a certain time (ms)
  50%   1167
  66%   1519
  75%   1660
  80%   1926
  90%   7105
  95%   8116
  98%   8728
  99%   8965
 100%  10625 (longest request)

One small problem with it is a server side blocking requests from one IP when limit are achieved to prevent flood. It is not replaces cloud testing because many servers can generate more IP addresses and can do real overloading picture but Apache Benchmark fast and simple.

Apache Benchmark overload statistics
Apache Benchmark overload statistics

With 106 successful request of 1000 defined over ~3s for one of 200 threads we can look at overload graph placed in server side statistics. So, RevolveR CMS was eat only 2 of 10 available by hosting plan points.

RevolveR CMS v1.2.4 update

Good news. I finished testing and debugging AMP site version based on core functionality in RevolveR CMS and have done validation process of AMP pages!

Now we have fully compatible AMP tags convertor that able to create responsive images in specific format from plain node output.

RevolveR CMS AMP Ready
RevolveR CMS AMP Ready

Next interesting think that I done is a HTTP 2.0 push server preloader for media contents like figure tags, pictures and some other contents. HTML Accelerator under development now and allow some preload information for browser headers to start preload any images from contents placed in database.

Fixed strange bug with hidden output blocked header set instruction founded on a sidebar template. I don't know what a shit is this because this is floating unstable bug. All works like a charm if you don't use left sidebar.

RevolveR is SEO friendly system.

Revolver CMS v.1.2.3 update

First I want to talk about is a HTTP 2.0 RevolveR CMS comparability when used good servers and HTTPS protocol. Yes it works better and should be also better when I've add image preloading features under HTTP 2 and RevolveR Core.

Next, I was do strange things because Turbo pages technology now allows to add user JavaScript to external aggregated pages and we can't use any stats on it I create a hidden tracker. Now we can see all visits on external pages intended for mobile users. It looks like Turbo User in tracker list.

So, also you can track any external resources by including one small image thats collect all needed for statistics engine data. For example you can put this tracker on a forum and look what visitors are read your posts.

Revolver CMS stats Calendar feature
Revolver CMS stats Calendar feature

A second new feature that was added to Revolver CMS is a calendar for statistics and now you can see stats for every day of current month.

We have small problem with issue thats corresponds to Chromium browser bug. Unfortunately all browsers based on Chromium engine affected CPU overload when used RevolveR JavaScript library. Bug posted on crbugs and developers promise to resolve it in next releases.

All other browsers like MS Edge, FireFox and Safari are not affected this issue.

In next releases thats become quickly I've add an subscribers feature for anonymous comments and next should be released first forum module version.

Next thats I trying to bring to mind is AMP. Now all mobile pages are indexed and placed in search results appear than full versions but no any marker about it's AMP compatible. In future releases it should be finalized with styles like an bootstrap and all media types support(in development AMP tags converter for Revolver CMS).

Thats all for now.

Download RevolveR CMS v1.2.3 on GitHub

How to install MacOS Mojave beta on Hackintosh

For now there are no way to install clean build of MacOS Mojave if you are not under beta developer Apple program but we have a chance to switch default update Chanel to developer version.

All you need is a MacOS Developer Beta Access Utility attached this post and updated latest Clover EFI build with all needed for you system kexts placed on Other directory.

Beta Chanel switch Mac OS update
Beta Chanel switch Mac OS update

For example I use ASUS K541UV based Hackintosh to install Mac OS Mojave 10.14 over pre installed Mac OS High Sierra 10.13.

Run package file from attached dmg and wait until execution ends. Then in opened AppStore window thats should be show MacOS Mojave download section press download button and wait for load distro are done.

The simplest way is plain install from Application thats should be run after download complite and strongest way is a creating bootable USB drive and install from it with reboot. So, if you just wont test the system you have to do plain install.

After process are done when you computer reboot first time you have to chose Intsaller option from Clover menu and with next reboot you have to choose Firevault boot option thats synonym of boot MacOS option because it need less button presses ;)

Download Beta Access Utility for MacOS Mojave.

Thats all.

RevolveR CMS v.1.2.2: AMP and Turbo pages

With some unwillingness and some difficulties I was integrate in RevolveR CMS support of Accelerated Mobile Pages without adding one more template alignment! Now core optimized to render two site versions without any switching simple!

RevolveR CMS v1.1.2
RevolveR CMS :: mobile friendly add-ons

So. For now I can not offer you a lot of skins because I have more priority task but if you'd like to use RevolveR Core template - you have to know that it's supports AMP as well. There are no styles and animations for now - it's just first test release that past validation and we need to wait for search engine index to look at result. Now link to mobile pages are visible from beside of logotype.

Next good news is the Turbo Pages support in RSS channel. This technology allow mobile visitors to view accelerated pages as well as specially optimized pages.

No settings define needed because all works automatically like a charm.

In next releases I should update mobile pages view for AMP and rework some integrated in core features thats should convert some contents like images to AMP compatible tags. There are nothin difficult.

And for now internal SEO stats engine updated(improved show visits from search engines).

RevolveR CMS v.1.1.2 download