Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Tcl 8.5 Network Programming

You're reading from  Tcl 8.5 Network Programming

Product type Book
Published in Jul 2010
Publisher Packt
ISBN-13 9781849510967
Pages 588 pages
Edition 1st Edition
Languages
Concepts

Table of Contents (18) Chapters

Tcl 8.5 Network Programming
Credits
About the Authors
About the Reviewers
1. Preface
1. Introducing Tcl 2. Advanced Tcl Features 3. Tcl Standalone Binaries 4. Troubleshooting Tcl applications 5. Data Storage 6. Networking in Tcl 7. Using Common Internet Services 8. Using Additional Internet Services 9. Learning SNMP 10. Web Programming in Tcl 11. TclHttpd in Client-Server Applications 12. SOAP and XML-RPC 13. SSL and Security

Improving scalability and performance


The preceding example shows a simple application that uses a local SQLite database, and performs all operations on a single machine. However, as the number of clients we need to support grows, our application would need to change part of the approach in order to support a large number of clients.

In most small and medium sized cases it is sufficient to create an application that works on a single system, in some cases it is worth considering how to make our application scale better.

One or more of the following steps can be done to gain better scalability and improve its performance:

  • Create multiple systems for managing subsets of clients and create an application that works on top of servers, and points clients to the appropriate servers. Clients could initially ask for the actual server to communicate with, and then contact this server. The comm API would then also be handled in a similar case —a single interface could be exposed that would query...

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 $15.99/month. Cancel anytime}