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

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.
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?
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...
Pitt Fitness would like to analyze their options for an in-house database versus a cloud database-as-a-service. What are the benefits to moving their database to the cloud?
Pitt Fitness would like to analyze their options for an in-house database versus a cloud database-as-a-service. What are the benefits to moving their database to the cloud? 
For you, what would be the biggest benefit of managing a server remotely? What do you...
For you, what would be the biggest benefit of managing a server remotely? What do you imagine will be the biggest disadvantage of managing a server remotely? Why? Most remote management tasks will be handled by using Server Manager, MMC, or the PowerShell command line. Which do you think will be the easiest for you to use and why?
what is the purpose of DHCP server. what is the purpose of DNS server. what command...
what is the purpose of DHCP server. what is the purpose of DNS server. what command do we use to troubleshoot connectivity between Hosts. what command do we use to lookup ip address. what is the purpose of VPN server. what is the purpose of PROXY server. what is the purpose of FIREWALL server.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT