Client
www.buystuff.com
Server Group 1
/ebooks/ ISBNxxxxxxxx
Server Group 2
/ebooks/
ISBNxxxxxxxy WS_008
Figure 7-4: More Complicated URL switching example
In Figure
•www.buystuff.com/ebooks/ISBNXXXXXXX is directed to server group 1.
•www.buystuff.com/ebooks/ISBNXXXXXXX is directed to server group 2.
In fact, a unique rule could be used for each book in the catalog, with little danger of exhausting the rules list. This approach simplifies the design of the website in many ways:
•The need to track the location of the data is eliminated.
•The choice of where to store a book can be completely arbitrary.
•Content can be moved from one server to another quickly, without updating the application server or any static web page links.
Alternatively, buystuff.com could use a more hierarchical approach to sorting content and creating pattern rules, as shown in Figure
Px Series Application Switch Installation and Configuration Guide |