Es sind da einige Änderungen vorgenommen worden - hier die wichtigsten:
- natürlich die letzte aktuelle Smarty 3 Version
- Es wird PHP 5.5 erforderlich - darunter keine Laufgarantie
- Es wird Mysql 5.6 ab Version 5.6.4 erforderlich - darunter keine Lauffähigkeit - empfohlen ist 5.6.12. Man muss bei Mysql bis 5.6.12 darauf achten das keine Zahlen im Databasename enthalten sind da der Mysql - Parser einen Bug enthält, der in dem Fall im Zusammenhang mit InnoDB Fulltext zum Abbruch führen würde.
- Die Tabelle cms_content_props entfällt komplett - die betreffenden Teile sind in der Tabelle cms_content enthalten.
- Die Tabelle cms_suchen entfällt,
- Wir verwenden nun die Fulltextsuche in InnoDB Tabellen die erste mit Mysql 5.6.4 möglich ist.
- Die Klasse PiDatabase wurde angepasst - alle direkten Funktionen die ein SELECT ausführen werden nun mit TRANSACTION im Modus READ ONLY ausgeführt - das ist bedeutend schneller als bislang der normale Zugriff.
Insgesamt hat die Version noch gut zugelegt.
Hier die Benchmarks:
Test mit Xajax und diverse Xajax Plugins
siege -b --time=1M -c100 http://localhost/236s/
** SIEGE 3.0.1
** Preparing 100 concurrent users for battle.
The server is now under siege...
Lifting the server siege.. done.
Transactions: 20470 hits
Availability: 100.00 %
Elapsed time: 59.05 secs
Data transferred: 274.05 MB
Response time: 0.29 secs
Transaction rate: 346.66 trans/sec
Throughput: 4.64 MB/sec
Concurrency: 99.72
Successful transactions: 20470
Failed transactions: 0
Longest transaction: 0.68
Shortest transaction: 0.03
Ohne Xajax
siege -b --time=1M -c100 http://localhost/236s/
** SIEGE 3.0.1
** Preparing 100 concurrent users for battle.
The server is now under siege...
Lifting the server siege.. done.
Transactions: 24060 hits
Availability: 100.00 %
Elapsed time: 59.56 secs
Data transferred: 292.67 MB
Response time: 0.25 secs
Transaction rate: 403.96 trans/sec
Throughput: 4.91 MB/sec
Concurrency: 99.75
Successful transactions: 24060
Failed transactions: 0
Longest transaction: 0.59
Shortest transaction: 0.00
Zum Vergleich Cmsmadesimple aktuelle Version
root@jan:~# siege -b --time=1M -c100 http://localhost/cmsms/
** SIEGE 3.0.1
** Preparing 100 concurrent users for battle.
The server is now under siege...
Lifting the server siege.. done.
Transactions: 5182 hits
Availability: 100.00 %
Elapsed time: 59.04 secs
Data transferred: 71.51 MB
Response time: 1.13 secs
Transaction rate: 87.77 trans/sec
Throughput: 1.21 MB/sec
Concurrency: 98.96
Successful transactions: 5182
Failed transactions: 0
Longest transaction: 2.25
Shortest transaction: 0.23
Alle Test's auf dem lokalen Entwicklungsserver - Online werden diese Werte geringer ausfallen.
Allgemeine Hinweise
Die Version ist nicht abwärtskompatibel da sich Tabellen geändert haben.
Es wird keine weitere Version mit Smarty geben, es sei denn es werden sicherheitsrelevante Dinge entdeckt.
Keine Kommentare:
Kommentar veröffentlichen