View
141
Download
5
Category
Tags:
Preview:
Citation preview
● Php extension with C
● Fastest of all PHP framework
● Multillingual Support
● Template engine(Volt)
● Implement Cache
Webtoolkit
● Pronounced as Wt or Witty
● Purely in C++
● Interactivity
● Built In Security
● Accessibility
● Environment Friendly
Performance Test
Platform:-ARM926EJ-SProcessor Features-:● Clock-speed: 200 MHz● Linux BogoMIPS: 89.70● Caches: 8K instructions, 8K data
Setup● Wt version: Git (15/12/2010, > Wt 3.1.7)● Target system: Linux uclibc 2.6.23● Build environment: buildroot, arm-linux-gcc 4.2.1● Options: without multi-threading, libz and OpenSSL● Build type: full static build, except for: libstdc++, libc, and libm● Runtime settings: ./app.wt --docroot . --http-address 0.0.0.0 –no-compression
Tool used-:Packet SnifferResult-: Program New
Session(http)Event(Http)
hello 0.19s 0.06s
Composer 0.60s 0.07s
Wt
Phalcon Performance testThe testing hardware environment is as follows:
● Operating System: Mac OS X Lion 10.7.4● Web Server: Apache httpd 2.2.22● PHP: 5.3.15● CPU: 2.04 Ghz Intel Core i5● Main Memory: 4GB 1333 MHz DDR3● Hard Drive: 500GB SATA Disk
Speed test
Wt-: Request per sec -: 1052.11Transfer rate -: 5318.84 Kbytes/sec (Recieved)
Phalcon-:Request per sec-: 2535.82Transfer rate-: 517.56 kbytes/sec (Recieved)
SQL Injection EncryptionCSRFXSS
Wt-:Logic is automatically verified
Generate JavaScript
Doesn't Relies on Cookies
SSL/TSL
phalcon Manually use Filter
Manually use Tokens
Manually use Filter SSL
Wt Light Weight Test
Setup
● Wt version: Git (16/03/2010, >= Wt 3.1.1)
● Target system: Linux uclibc 2.6.23
● Build environment: buildroot, arm-linux-gcc 4.2.1
● Options: without multi-threading, libz and OpenSSL
● Build type: full static build, except for: libstdc++, libc, and libm
● Runtime settings: ./app.wt --docroot . --http-address 0.0.0.0 –no-compression
● Tool Used-: Pmap
Code Size and Ram Usage in Killo BytesProgram Code (strip) Code(strip+u
px)Ram basis+ read only
Ram Basis +write only
Ram/Session
hello 1214 362 2544 228 14.8
composer 1462 420 2796 232 83.6
Phalcon Light weight test
The testing hardware environment is as follows:
Operating System: Mac OS X Lion 10.7.4Web Server: Apache httpd 2.2.22PHP: 5.3.15CPU: 2.04 Ghz Intel Core i5Main Memory: 4GB 1333 MHz DDR3Hard Drive: 500GB SATA Disk
Carbon footprint (server)
➔ Running on PHP
Number of servers used by facebook: 30 000
Total Carbon Dioxide emmision per year: 59 000 tons
➔ If running on C++
Servers used : 500
Reducing the carbon footprint to 10000 tons
*Google uses 5 00 000 servers.
Property Webtoolkit(Wt) Phalcon
Aproach Widget-set approach MVC approach
Use Compiler Interpreter
Browser Support Automatically Detects Mannually
Optimisation Automatically as C++ compilers are Smart
Manually
Latency In sub millisecond In Sub millisecond
Amount of work done on server
less more
Cookies Doesn't Relies on it Relies on it
Event Handling Fantasttically Manually and Good as compare to Wt
Extreme Powers
Recommended