SlideShare une entreprise Scribd logo
1  sur  32
Which one is Better?
●
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
Battle Begins...
Performance Test
Performance Test
Platform:-ARM926EJ-S
Processor 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 Sniffer
Result-: Program New
Session(http)
Event(Http)
hello 0.19s 0.06s
Composer 0.60s 0.07s
Wt
Phalcon Performance test
The 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
Tool Used-: ab(Appache Benchmark)
Programm-> Hello world benchmark
Result
a.Time Per request
b. Request per sec
Speed test
Wt-:
Request per sec -: 1052.11
Transfer rate -: 5318.84 Kbytes/sec (Recieved)
Phalcon-:
Request per sec-: 2535.82
Transfer rate-: 517.56 kbytes/sec (Recieved)
Security Test
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
Light Weight
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.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
Result
No of PHP files included
Framework memory usage
Burden
phalcon Wt
Environment Friendly!
Carbon Footprint
1.6 tons per capita
Anually a human produce-:
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.
Changes in past few Years.
A Step Towards Environment
What Else...
?
?
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
Thank You!
Save Environment, Save Yourself!

Contenu connexe

Tendances

Zingme practice for building scalable website with PHP
Zingme practice for building scalable website with PHPZingme practice for building scalable website with PHP
Zingme practice for building scalable website with PHP
Chau Thanh
 

Tendances (20)

Zingme practice for building scalable website with PHP
Zingme practice for building scalable website with PHPZingme practice for building scalable website with PHP
Zingme practice for building scalable website with PHP
 
WordPress Powered by AMIMOTO HHVM
WordPress Powered by AMIMOTO HHVM WordPress Powered by AMIMOTO HHVM
WordPress Powered by AMIMOTO HHVM
 
NPM THE GUIDE
NPM THE GUIDENPM THE GUIDE
NPM THE GUIDE
 
JavaScript Task Runners - Gulp & Grunt
JavaScript Task Runners - Gulp & GruntJavaScript Task Runners - Gulp & Grunt
JavaScript Task Runners - Gulp & Grunt
 
OpenCms Days 2016: Next generation content repository
OpenCms Days 2016: Next generation content repository OpenCms Days 2016: Next generation content repository
OpenCms Days 2016: Next generation content repository
 
04 web optimization
04 web optimization04 web optimization
04 web optimization
 
Puppet Camp Ghent 2013
Puppet Camp Ghent 2013Puppet Camp Ghent 2013
Puppet Camp Ghent 2013
 
Curl Tutorial
Curl Tutorial Curl Tutorial
Curl Tutorial
 
HTTP 프로토콜의 이해와 활용
HTTP 프로토콜의 이해와 활용HTTP 프로토콜의 이해와 활용
HTTP 프로토콜의 이해와 활용
 
Web Performance Optimization with HTTP/3
Web Performance Optimization with HTTP/3Web Performance Optimization with HTTP/3
Web Performance Optimization with HTTP/3
 
Scaling application servers for efficiency
Scaling application servers for efficiencyScaling application servers for efficiency
Scaling application servers for efficiency
 
Apache james more than emails in the cloud
Apache james  more than emails in the cloudApache james  more than emails in the cloud
Apache james more than emails in the cloud
 
Apache James/Hupa & GWT
Apache James/Hupa & GWTApache James/Hupa & GWT
Apache James/Hupa & GWT
 
Docker
DockerDocker
Docker
 
Extensible web
Extensible webExtensible web
Extensible web
 
Getting the most out of WebPageTest
Getting the most out of WebPageTestGetting the most out of WebPageTest
Getting the most out of WebPageTest
 
Working with npm packages
Working with npm packagesWorking with npm packages
Working with npm packages
 
TomcatCon: from a cluster to the cloud
TomcatCon: from a cluster to the cloudTomcatCon: from a cluster to the cloud
TomcatCon: from a cluster to the cloud
 
Devenez le plus heureux des Front-end avec Gulp.js
Devenez le plus heureux des Front-end avec Gulp.jsDevenez le plus heureux des Front-end avec Gulp.js
Devenez le plus heureux des Front-end avec Gulp.js
 
gRPC and Microservices
gRPC and MicroservicesgRPC and Microservices
gRPC and Microservices
 

Similaire à Wt vs phalcon

20141111_SOS3_Gallo
20141111_SOS3_Gallo20141111_SOS3_Gallo
20141111_SOS3_Gallo
Andrea Gallo
 
Movable Type 5.2 Overview at MTDDC 2012
Movable Type 5.2 Overview at MTDDC 2012Movable Type 5.2 Overview at MTDDC 2012
Movable Type 5.2 Overview at MTDDC 2012
Yuji Takayama
 
Linux sever building
Linux sever buildingLinux sever building
Linux sever building
Edmond Yu
 
Deploying Plack Web Applications: OSCON 2011
Deploying Plack Web Applications: OSCON 2011Deploying Plack Web Applications: OSCON 2011
Deploying Plack Web Applications: OSCON 2011
Tatsuhiko Miyagawa
 
A Kernel of Truth: Intrusion Detection and Attestation with eBPF
A Kernel of Truth: Intrusion Detection and Attestation with eBPFA Kernel of Truth: Intrusion Detection and Attestation with eBPF
A Kernel of Truth: Intrusion Detection and Attestation with eBPF
oholiab
 
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon
 

Similaire à Wt vs phalcon (20)

20141111_SOS3_Gallo
20141111_SOS3_Gallo20141111_SOS3_Gallo
20141111_SOS3_Gallo
 
Cloud native IPC for Microservices Workshop @ Containerdays 2022
Cloud native IPC for Microservices Workshop @ Containerdays 2022Cloud native IPC for Microservices Workshop @ Containerdays 2022
Cloud native IPC for Microservices Workshop @ Containerdays 2022
 
Movable Type 5.2 Overview at MTDDC 2012
Movable Type 5.2 Overview at MTDDC 2012Movable Type 5.2 Overview at MTDDC 2012
Movable Type 5.2 Overview at MTDDC 2012
 
Linux sever building
Linux sever buildingLinux sever building
Linux sever building
 
Porting Android
Porting AndroidPorting Android
Porting Android
 
Kubernetes from scratch at veepee sysadmins days 2019
Kubernetes from scratch at veepee   sysadmins days 2019Kubernetes from scratch at veepee   sysadmins days 2019
Kubernetes from scratch at veepee sysadmins days 2019
 
Pcp
PcpPcp
Pcp
 
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
[OpenStack Day in Korea 2015] Track 1-6 - 갈라파고스의 이구아나, 인프라에 오픈소스를 올리다. 그래서 보이...
 
"Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese...
"Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese..."Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese...
"Making Computer Vision Software Run Fast on Your Embedded Platform," a Prese...
 
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux DeviceAdding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
Adding IEEE 802.15.4 and 6LoWPAN to an Embedded Linux Device
 
Chromium: NaCl and Pepper API
Chromium: NaCl and Pepper APIChromium: NaCl and Pepper API
Chromium: NaCl and Pepper API
 
Micro Datacenter & Data Warehouse
Micro Datacenter & Data WarehouseMicro Datacenter & Data Warehouse
Micro Datacenter & Data Warehouse
 
Web Performance Part 3 "Server-side tips"
Web Performance Part 3  "Server-side tips"Web Performance Part 3  "Server-side tips"
Web Performance Part 3 "Server-side tips"
 
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
OpenShift Origin Community Day (Boston) Extending OpenShift Origin: Build You...
 
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
OpenShift Origin Community Day (Boston) Writing Cartridges V2 by Jhon Honce
 
Deploying Plack Web Applications: OSCON 2011
Deploying Plack Web Applications: OSCON 2011Deploying Plack Web Applications: OSCON 2011
Deploying Plack Web Applications: OSCON 2011
 
Nginx 0.8.x + php 5.2.13 (fast cgi) setup web server
Nginx 0.8.x + php 5.2.13 (fast cgi) setup web serverNginx 0.8.x + php 5.2.13 (fast cgi) setup web server
Nginx 0.8.x + php 5.2.13 (fast cgi) setup web server
 
A Kernel of Truth: Intrusion Detection and Attestation with eBPF
A Kernel of Truth: Intrusion Detection and Attestation with eBPFA Kernel of Truth: Intrusion Detection and Attestation with eBPF
A Kernel of Truth: Intrusion Detection and Attestation with eBPF
 
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
DevSecCon London 2019: A Kernel of Truth: Intrusion Detection and Attestation...
 
Customize and Secure the Runtime and Dependencies of Your Procedural Language...
Customize and Secure the Runtime and Dependencies of Your Procedural Language...Customize and Secure the Runtime and Dependencies of Your Procedural Language...
Customize and Secure the Runtime and Dependencies of Your Procedural Language...
 

Dernier

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 

Dernier (20)

Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
Sensory_Experience_and_Emotional_Resonance_in_Gabriel_Okaras_The_Piano_and_Th...
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 

Wt vs phalcon

  • 1. Which one is Better?
  • 2. ● Php extension with C ● Fastest of all PHP framework ● Multillingual Support ● Template engine(Volt) ● Implement Cache
  • 3. Webtoolkit ● Pronounced as Wt or Witty ● Purely in C++ ● Interactivity ● Built In Security ● Accessibility ● Environment Friendly
  • 6. Performance Test Platform:-ARM926EJ-S Processor 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 Sniffer Result-: Program New Session(http) Event(Http) hello 0.19s 0.06s Composer 0.60s 0.07s Wt
  • 7. Phalcon Performance test The 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
  • 8.
  • 9. Tool Used-: ab(Appache Benchmark) Programm-> Hello world benchmark
  • 12. Speed test Wt-: Request per sec -: 1052.11 Transfer rate -: 5318.84 Kbytes/sec (Recieved) Phalcon-: Request per sec-: 2535.82 Transfer rate-: 517.56 kbytes/sec (Recieved)
  • 14. 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
  • 16. 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
  • 17. Phalcon Light weight test The 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
  • 18.
  • 19. Result No of PHP files included
  • 23.
  • 24.
  • 25.
  • 26. Carbon Footprint 1.6 tons per capita Anually a human produce-:
  • 27. 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.
  • 28. Changes in past few Years.
  • 29. A Step Towards Environment
  • 31. 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