Define maintaining data on a per client basis, Operating System

Assignment Help:

Define Maintaining Data on a Per Client Basis

Perhaps the most dramatic syntactical programming change for the application developer of client – server applications is maintaining data on a per – client basis. It is most beneficial to architect applications initially with per- client data in mind. Because servers ( or serving application components) traditionally perform work on behalf of many client, data accessed by server logic components must be unique for each client. Traditional variable allocation and use under C poses interesting problems for the application developer. Data is usually maintained as global or local.

When manipulating data on behalf of many clients, global data can not be guaranteed to be unique. It is therefore necessary to recode applications for per-client data use. Inc, the mechanism for redevelopment is to group all data pertaining to each requester of services(client) as a structure. Generally an instance of the structure will be created for each requesting client. The data modifications made by the server application component are therefore based on the individual client’s user data structure. C++ enforces modular data access by grouping all data and functions within a class. This encapsulation provides the C++ developer with a more normal mechanism for per – client data access.


Related Discussions:- Define maintaining data on a per client basis

Cpu, Some CPUs provide for more than two modes of operation. What are two p...

Some CPUs provide for more than two modes of operation. What are two possible uses of these multiple modes?

What are scheduling queues?, What are scheduling queues? Since the proc...

What are scheduling queues? Since the processes enter the system they are put into job queue. This queue contains all processes in the system. The processes that are exist in m

What are the different types of semaphore?, What are the different types of...

What are the different types of semaphore? Principally the semaphore is able to be classified into two on the basis of their values a)      Counting semaphore: In counting s

Compare user threads and kernel threads, Compare user threads and kernel th...

Compare user threads and kernel threads. User threads:- User threads are supported above the kernel and are executed by a thread library at the user level. Thread creation

Load sharing , Load Sharing : Processes are not given to a particular proc...

Load Sharing : Processes are not given to a particular processor. A global queue of threads is used to maintain. Each processor, when idle, picks a thread from this queue. Note th

What are conditions under which a deadlock situation arise, What are condit...

What are conditions under which a deadlock situation may arise? A deadlock situation can arise if the following four conditions hold simultaneously in a system: a. Mutual ex

Explain deadlock avoidance, Deadlock Avoidance It's a method to evade ...

Deadlock Avoidance It's a method to evade deadlock by careful resource scheduling. This approach to the deadlock problem foresees deadlock before it actually occurs. This a

Explain variable partitioning in memory management, VARIABLE PARTITIONING ...

VARIABLE PARTITIONING We can differ the partitions and change the location according to the size of the process.   50k 40k

Protection scheme in unix, Q. Consider a system that holds 5000 users. Pre...

Q. Consider a system that holds 5000 users. Presume that you want to allow 4990 of these users to be able to access one file. a. How would you denote this protection scheme in

What are the drawbacks of spiral model, What are the drawbacks of spiral mo...

What are the drawbacks of spiral model? I. It is based on customer communication. If the communication is not proper then the software product that gets developed will not be t

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd