Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Building a Web Application with PHP and MariaDB: A Reference Guide

You're reading from   Building a Web Application with PHP and MariaDB: A Reference Guide Build fast, secure, and interactive web applications using this comprehensive guide

Arrow left icon
Product type Paperback
Published in Jun 2014
Publisher
ISBN-13 9781783981625
Length 200 pages
Edition 1st Edition
Languages
Arrow right icon
Author (1):
Arrow left icon
Sai S Sriparasa Sai S Sriparasa
Author Profile Icon Sai S Sriparasa
Sai S Sriparasa
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. CRUD Operations, Sorting, Filtering, and Joins 2. Advanced Programming with MariaDB FREE CHAPTER 3. Advanced Programming with PHP 4. Setting Up Student Portal 5. Working with Files and Directories 6. Authentication and Access Control 7. Caching 8. REST API 9. Security 10. Performance Optimization Index

CDN, reverse proxy, and database replication


In this section, we will be briefly introduced to Content Delivery Network (CDN), reverse proxies, and the concept of database replication. Use of either or all of CDN, reverse proxies, or database replication is necessary when the application grows and receives a huge number of requests per second. A CDN is a huge set of servers that are deployed across multiple geographical locations. The purpose of a CDN is to deliver content to the end user from the nearest possible server. As an example, a website hosted in the US gets a request from a user in India. For this request to be complete, it will take a fair amount of time for the server in the US to process the response and send it over to the user in India. It would be easier if the content was housed close-by, so that the amount of time taken to complete the request will be shorter. CDNs help us solve this problem, where they would store static content on their servers and serve that content...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime