Question

In: Computer Science

The realtime results are available on the server in a database. What would the effects of...

The realtime results are available on the server in a database. What would the effects of browser and server caching, and I'll be using AJAX, and how would I estimate the load this will put on the site in terms of hit rate and bandwidth consumption.

Solutions

Expert Solution

AJAX, provides a framework that allows the client to contact the server with the requests. By using AJAX there is no need to update the entire page for example like validations in textboxes and radio button,checkboxes and the user will get the information from the server on demand.AJAX provides a rich user experience.Thus we should expect that AJAX will impose a performance penalty on our application servers. Ajax calls are like any other http request that might be used to build a web page.The main advantage of Ajax is caching,it helps to access the content immediately.It is same as http caching.

Band width consumption:

With client-side rendering your initial load will be and feel heavier: again, more JavaScript and a 2nd request. However, subsequent updates will require less bandwidth. JSON is pretty verbose, but it's probably less verbose than HTML with classes and ids. This is an area where client-side rendering will be faster (if we ignore the fact that we client-side rendering still needs to spend time transforming the JSON to HTML).However, both HTML and JSON should compress quite well.

I'm legitimately drawing a blank trying to come up with a pattern where the JSON data would be significantly smaller. If it's a collection of data (like search results), it'll just be the same divs with the same class name...much like it'll be the same JSON fields. I guess client-side rendering might have a real edge if you are using Word to generate your html...

Hit rate:

A hit is a request to a web server for a file, like a web page, image, JavaScript, or Cascading Style Sheet. When a web page is downloaded from a server the number of "hits" or "page hits" is equal to the number of files requested.


Related Solutions

You need to design a Web Server, Database Server and a Backup server. If you had...
You need to design a Web Server, Database Server and a Backup server. If you had to choose from the following list of resources which ones would you place a priority on and state why you would do so. List these for each server type. Hint: You need to think about the functionality of the server. Based on this information, which resource would you emphasize on the most to increase the performance of the server. CPU utilization and speed Multiprocessing...
1. What solution(s) is/are available for server virtualization?
1. What solution(s) is/are available for server virtualization?a) Microsoft virtual severb) VMware and Microsoft virtual serverc) Virtual consortium2. What are the parts of a computer shown in a functional diagram of a computer?a) Input device; output device; processorb) Main memory; storage devicec) Both (a) and (b)3. What is netcentric computing?a) Applications that run on a computer, which require network connection in order to run, example, such as email, web, and online banking.b) Software that anyone can downloadc) Operating system that...
a) What are the most important differences between MS Access and as Server database like SQL...
a) What are the most important differences between MS Access and as Server database like SQL Server? b) Does Access have any advantages over SQL Server? c) Describe one or more scenarios where you would recommend upgrading an existing MS Access application to SQL Server. Not the use of SQL Server Express edition.
"How can I connect my hadoop database or mysql database server to my d3 visual?"
"How can I connect my hadoop database or mysql database server to my d3 visual?"
Name a new example of the use of an ODS. Is a database server horizontal scalable?...
Name a new example of the use of an ODS. Is a database server horizontal scalable? Why/why not? In horizontal scaling, why does doubling the number of components not necessarily double the performance?
Using your downloaded DBMS (MS SQL Server), create a new database. Create the database tables based...
Using your downloaded DBMS (MS SQL Server), create a new database. Create the database tables based on your entities defining The attributes within each table The primary and foreign keys within each table *****Show your database tables, tables attributes, primary and foreign keys***** Do not forget to check the lesson slides and videos that show you how to convert an ER/EER into a database schema, and how to create a database and tables using MS SQL Server.
what body effects will acromegaly produce? What are the available treatments for acromegaly? what are the...
what body effects will acromegaly produce? What are the available treatments for acromegaly? what are the side effects of acromegaly? the success rates of acromegaly?
NOTE: If the default database date format for the Oracle Server you are using does not...
NOTE: If the default database date format for the Oracle Server you are using does not show a four digit date you can issue a command to change the default to something you prefer. Examples: alter session set nls_date_format ='DD-MON-YYYY'; alter session set nls_date_format ='Month DD, YYYY'; Create a logical view of your presidents table named ModernPresidents that shows all of the presidents since the end of World War II. Harry Truman was the president at that time so you...
A systems developer needs to provide machine-to-machine interface between an application and a database server in...
A systems developer needs to provide machine-to-machine interface between an application and a database server in the production environment. This interface will exchange data once per day. Which of the following access control account practices would BEST be used in this situation? A.Establish a privileged interface group and apply read -write permission.to the members of that group. B.Submit a request for account privilege escalation when the data needs to be transferred C.Install the application and database on the same server...
Part 2: Use MySQL Workbench to add a table to your database on the class server...
Part 2: Use MySQL Workbench to add a table to your database on the class server and name the table “Person”. Include these fields in the Person table: Field Name Description Data Type Sample Value LoginID User’s login name varchar(10) Bob FirstName User’s first name varchar(50) Bob LastName User’s last name varchar(50) Barker picUrl Filename of the user’s picture varchar(50) bob.gif Bio User’s biography varchar(255) Bob is the best! LoginID should be the Primary Key of the table. Add at...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT