SlideShare a Scribd company logo
Beyond relational database   Building high performance websites using Redis and PHP Pham Cong Dinh Software Developer Vega Corporation
What I am talking about Relational database in our world
High performance web apps: new challenges
Redis: A data structure store
Introduction to some Redis's PHP clients
Question How can we store our data? Answer Relational database ACID is our love Atomicity  - all parts of a transaction succeed or none of then succeed. Integrity.
Consistency  - Nothing in your transaction will violate the rules of the database. Integrity.
Isolation  - Each transaction operates independently of every other transaction.
Durability  - Once the database says that data is committed there is no opportunity for that to be undone. Relational database in our world Part 1
Brewer's (CAP) Theorem C: Consistency - The client perceives that a set of operations has occurred all at once. Strong consistency: ACID A: Availability - Every operation must terminate in an intended response. Requests are to be served even when there is a partition in the cluster.  P: Partition tolerance - Operations will complete, even if individual components are unavailable. Relational database in our world
BASE: An ACID Alternative  Basically Available
Soft state
Eventually consistent. Data partitioning and decision between  Consistency  and  Availability . Relational database in our world
Relational database in high performance environments Google
Facebook
Wikipedia
Live Journal
Yahoo FAILED? … but most companies does not need  more than a single database server …  but modern web apps today is facing a real challenge Relational database in our world
High performance web apps: new challenges  Web server is bottleneck Part 2
Database is bottleneck High performance web apps: new challenges
CPU is bottleneck High performance web apps: new challenges
More requests: going distributed is easy Apache
PHP Database scalability is hard Struggling with SMP: MySQL
Replication is hard: replication is single threaded: MySQL

More Related Content

PPTX
Redis tutoring
PPTX
Introduction to Redis
PDF
Boosting Machine Learning with Redis Modules and Spark
PPTX
Getting started with postgresql
PPTX
Benchmarking Top NoSQL Databases: Apache Cassandra, Apache HBase and MongoDB
PDF
Scalable Filesystem Metadata Services with RocksDB
PDF
Ozone - Evolution of hdfs scalability
PPTX
HDFS Tiered Storage: Mounting Object Stores in HDFS
Redis tutoring
Introduction to Redis
Boosting Machine Learning with Redis Modules and Spark
Getting started with postgresql
Benchmarking Top NoSQL Databases: Apache Cassandra, Apache HBase and MongoDB
Scalable Filesystem Metadata Services with RocksDB
Ozone - Evolution of hdfs scalability
HDFS Tiered Storage: Mounting Object Stores in HDFS

What's hot (20)

PPTX
Tips to drive maria db cluster performance for nextcloud
PDF
Docker 101 for Oracle DBAs - Oracle OpenWorld 2017
PPTX
October 2016 HUG: The Pillars of Effective Data Archiving and Tiering in Hadoop
KEY
Drupal In The Cloud
PPTX
Hadoop Operations - Best Practices from the Field
PPTX
1. beyond mission critical virtualizing big data and hadoop
PDF
The Open Source and Cloud Part of Oracle Big Data Cloud Service for Beginners
PDF
Redis in a Multi Tenant Environment–High Availability, Monitoring & Much More!
PDF
Technical tips for secure Apache Hadoop cluster #ApacheConAsia #ApacheCon
PDF
HBaseConAsia2018 Track3-6: HBase at Meituan
PDF
Ceph and RocksDB
PPTX
Voldemort
PPTX
presentation_Hadoop_File_System
PPTX
SQL Server vNext on Linux
PPTX
SUSE Webinar - Introduction to SQL Server on Linux
PDF
HBaseConAsia2018 Track1-3: HBase at Xiaomi
PDF
Webinar slides: How to Measure Database Availability?
PDF
Managing multi tenant resource toward Hive 2.0
PDF
HBaseCon 2012 | Content Addressable Storages for Fun and Profit - Berk Demir,...
PDF
HBase Tales From the Trenches - Short stories about most common HBase operati...
Tips to drive maria db cluster performance for nextcloud
Docker 101 for Oracle DBAs - Oracle OpenWorld 2017
October 2016 HUG: The Pillars of Effective Data Archiving and Tiering in Hadoop
Drupal In The Cloud
Hadoop Operations - Best Practices from the Field
1. beyond mission critical virtualizing big data and hadoop
The Open Source and Cloud Part of Oracle Big Data Cloud Service for Beginners
Redis in a Multi Tenant Environment–High Availability, Monitoring & Much More!
Technical tips for secure Apache Hadoop cluster #ApacheConAsia #ApacheCon
HBaseConAsia2018 Track3-6: HBase at Meituan
Ceph and RocksDB
Voldemort
presentation_Hadoop_File_System
SQL Server vNext on Linux
SUSE Webinar - Introduction to SQL Server on Linux
HBaseConAsia2018 Track1-3: HBase at Xiaomi
Webinar slides: How to Measure Database Availability?
Managing multi tenant resource toward Hive 2.0
HBaseCon 2012 | Content Addressable Storages for Fun and Profit - Berk Demir,...
HBase Tales From the Trenches - Short stories about most common HBase operati...
Ad

Viewers also liked (11)

PPTX
SQL Server 2012 Beyond Relational Performance and Scale
PPTX
Data stores: beyond relational databases
PPTX
Slide Seminar PHP Indonesia - NoSQL Redis
PDF
Redis Everywhere - Sunshine PHP
PPT
Redis in Practice: Scenarios, Performance and Practice with PHP
PDF
MOSC2012 - Building High-Performance Web-Application with PHP & MongoDB
KEY
Scaling php applications with redis
PDF
Scaling PHP to 40 Million Uniques
PPTX
PHP with Service BUS (RabbitMQ/Redis/MongoDB) - IMasters PHP Experience 2016
PDF
Redis everywhere - PHP London
PDF
Beyond Relational
SQL Server 2012 Beyond Relational Performance and Scale
Data stores: beyond relational databases
Slide Seminar PHP Indonesia - NoSQL Redis
Redis Everywhere - Sunshine PHP
Redis in Practice: Scenarios, Performance and Practice with PHP
MOSC2012 - Building High-Performance Web-Application with PHP & MongoDB
Scaling php applications with redis
Scaling PHP to 40 Million Uniques
PHP with Service BUS (RabbitMQ/Redis/MongoDB) - IMasters PHP Experience 2016
Redis everywhere - PHP London
Beyond Relational
Ad

Similar to Beyond relational database - Building high performance websites using Redis and PHP (20)

PPT
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
PPT
Hadoop and Voldemort @ LinkedIn
ODP
Front Range PHP NoSQL Databases
PPTX
Redis meetup
PDF
Top 100 PHP Interview Questions and Answers
PPTX
http://www.hfadeel.com/Blog/?p=151
PDF
MagentoECG-UsingRedisasaCacheBackendinMagento
PPT
Bhupeshbansal bigdata
PPTX
What's new with enterprise Redis - Leena Joshi, Redis Labs
DOCX
Redis vs Memcached
PDF
Startup Case Study: Leveraging the Broad Hadoop Ecosystem to Develop World-Fi...
PPTX
Case Study with Answers.com on Scaling with Memcached and MySQL
PPTX
Redis_Labs_Redis_on_Flash_on_Power8_-_INAF_Italy_-_June_2015.pptx
PPTX
Hadoop File system (HDFS)
PPT
Migrating from PHP 4 to PHP 5
PPT
GlobalsDB: Its significance for Node.js Developers
PPS
Building Low Cost Scalable Web Applications Tools & Techniques
PDF
Redis - From LAMP to NoSQL (CloudTW meetup-14)
PPTX
Compressed Introduction to Hadoop, SQL-on-Hadoop and NoSQL
PPTX
Membase Meetup 2010
Voldemort & Hadoop @ Linkedin, Hadoop User Group Jan 2010
Hadoop and Voldemort @ LinkedIn
Front Range PHP NoSQL Databases
Redis meetup
Top 100 PHP Interview Questions and Answers
http://www.hfadeel.com/Blog/?p=151
MagentoECG-UsingRedisasaCacheBackendinMagento
Bhupeshbansal bigdata
What's new with enterprise Redis - Leena Joshi, Redis Labs
Redis vs Memcached
Startup Case Study: Leveraging the Broad Hadoop Ecosystem to Develop World-Fi...
Case Study with Answers.com on Scaling with Memcached and MySQL
Redis_Labs_Redis_on_Flash_on_Power8_-_INAF_Italy_-_June_2015.pptx
Hadoop File system (HDFS)
Migrating from PHP 4 to PHP 5
GlobalsDB: Its significance for Node.js Developers
Building Low Cost Scalable Web Applications Tools & Techniques
Redis - From LAMP to NoSQL (CloudTW meetup-14)
Compressed Introduction to Hadoop, SQL-on-Hadoop and NoSQL
Membase Meetup 2010

Recently uploaded (20)

PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Electronic commerce courselecture one. Pdf
PPT
Teaching material agriculture food technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Machine learning based COVID-19 study performance prediction
PDF
KodekX | Application Modernization Development
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Understanding_Digital_Forensics_Presentation.pptx
Electronic commerce courselecture one. Pdf
Teaching material agriculture food technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Mobile App Security Testing_ A Comprehensive Guide.pdf
Unlocking AI with Model Context Protocol (MCP)
Machine learning based COVID-19 study performance prediction
KodekX | Application Modernization Development
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
NewMind AI Weekly Chronicles - August'25 Week I
Network Security Unit 5.pdf for BCA BBA.
Dropbox Q2 2025 Financial Results & Investor Presentation
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Diabetes mellitus diagnosis method based random forest with bat algorithm
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

Beyond relational database - Building high performance websites using Redis and PHP