Performance Modeling of Proposed GUISET Middleware for Mobile Healthcare Services in E-Marketplaces

,


Introduction
The e-marketplaces are local community of service providers and requestors (service consumers) organized in vertical markets and gathering around portals [1].These emarketplaces have allowed consumers to shop for bread of services from anywhere in the world based on pay-as-you-go model [2].
One major improvement in these e-markets is the issue of mobile services whereby the data processing and storage are moved from the mobile device to powerful and centralized computing platforms and then accessed over the wireless connection based on a thin native client or web browser on the mobile devices [3].This improvement brought the idea of Grid Based Utility Infrastructure Software Engineering Technology (GUISET) project.
The basic goal of GUISET is to provide utility infrastructure services especially in the context of mobile healthcare services to small, medium, and microenterprise.These mobile e-services include e-health (healthcare service), ecommerce, and e-learning.The idea of this project is centered on the fact that mobile devices (e.g., smartphone and tablet PC) are increasingly becoming an essential part of human life.They are the most effective and convenient communication tools not bounded by time and place.Mobile users accumulate rich experience of various services from mobile applications (e.g., iPhone apps and Google apps), which run on their devices and/or on remote servers via wireless networks.With rapid growth in mobile technology both in low-and middle-income countries, particularly in Africa and in the less affluent and rural communities, mobile device access is far greater than access to computers in developing countries.For instance, in South Africa about 50 million people have mobile phone access and everyday experience confirms a near-universal mobile ownership, with everyone from street vendors to top-level executives carrying one [4].
The report of World Health Organization (WHO) global survey on e-health indicates that the dominant form of m-health today is characterized by small-scale pilot projects that address single issues in information sharing and access.This report also noted the existence of a number of applications gaining attraction for mobile phone-based health issues [5].
In addition, mobiles services have been attracting the attention of entrepreneurs as a profitable business option that reduces the development and running cost of mobile applications of mobile users as a new technology to achieve rich experience of a variety of mobile services at low cost and of researchers as a promising solution for green IT [6].Three things are important to make this engine effective and efficient: the GUISETs implementation, performance, and the pricing strategy.While the implementation and pricing strategy process are on course, see for example, [7][8][9], that of performance is yet to be fully addressed.For example, in the International Data Cooperation (IDC) report, the performance challenge of Cloud which is a similar project rose in 2008 from 63.1% to 82.9% in 2009 as reported in [10].This is an increase of 19.8% as against the Security challenge of about 12.9%.
One important aspect of performance is the waiting time to respond to consumers by e-Cloud providers for products or requests.This waiting time, which is a key source of competitive advantage, is so important that traditional marketplaces like MCDonalds in 1990s offered consumers their meal free of charge if the order was not served within 2 minutes [11].
The focus of this research is to investigate the proposed GUISET middleware performance based on requests waiting time of mobile events with different service offerings in the context of e-health; that is, we study and evaluate the service discipline to be adopted in the context of mobile e-health where providers of service have different service offerings for mobile aware requests.
Most existing literature that delved into performance impact, for example, the Cloud e-marketplaces, focuses on the exogenous nonpriority model with emphasis on First Come First Served discipline [12][13][14] or Shortest Job Next [15].As the server farms increase with consumers demanding different service disciplines, some scholars like [16] use the preemptive service discipline in the context of Cloud emarketplaces but literature reveals that, in practice, preemption and migration of virtual machines are costly [17].Second, preemption leads to increase in response time of consumers' requests especially when the requests are deadline constrained [18].This work extends existing and widely adopted theories to non-preemptive model in the context of the proposed GUISETs middleware with emphasis on mobile e-health.
Our assumption in this paper is that each medical point of call is called server and we then follow that of [14,19] that the system consists of a number of server machines that are allocated to patients' request based on the service discipline.Furthermore, each mobile event request is assigned to only one server, and each server can only run at most one task at a time.
The remainder of this paper is organized as follows.Section 2 discusses the related work.Section 3 introduces our analytical model description with the numerical and simulation setup.In Section 4, we have our results and discussion.We have the conclusion in Section 5.

Literature Review
Since this is a proposed project and yet to be fully implemented, we study existing literature of a similar project which has given us the opportunity to extend the body of knowledge and we focus on Cloud issue on performance.
In [20], the authors study the effect of queuing in relation to the time spent by patients to access clinical services multiuser model.The authors analyze the data and the results of the analysis show that average queue length, waiting time of patients, and overutilization of doctors at the clinic could be reduced at an optimal server level.
In [12], the authors address three things; these are the levels of QoS that can be guaranteed given service resources, the number of service resources that are required to ensure that customer services can be guaranteed in terms of the percentile, and the number of customers to be supported to ensure that customer services can be guaranteed in terms of the percentile of response time.The work of [19] uses the M/G/c to evaluate a Cloud server firm with the assumption that the numbers of server machines are not restricted.The result of the authors demonstrates the manner in which request response time and number of tasks in the system may be assessed with sufficient accuracy.
The work of [14] uses the M [] /G/m/m+r to describe a new approximate analytical model for performance evaluation of Cloud data centers with batch task arrivals.The results show that important performance indicators such as mean request response time, waiting time in the queue, queue length, blocking probability, probability of immediate service, and probability distribution of the number of tasks in the system can be obtained in a wide range of input parameters.This work is based on the so-called on-demand service.
In [16], the authors propose a preemptive policy in Cloud market.The idea is that when an urgent request arrives, it preempts the current request in service and such preempted request is then migrated to another virtual machine if it cannot meet the deadline for completion.In [18], the authors remove the scheduling bottleneck from one-dimensional to multidimensional resources.This is done with the use of Multidimensional Resource Integrated Scheduling (MRIS) which is an inquisitive algorithm to obtain the approximate optimal solution.
The work of [15] proposes M/M/m queuing model to develop a synthetic optimization method to optimize the performance of services in an on-demand service.The simulation result shows that the proposed method can allow less waiting time and queue length and more customers to gain the service using synthetic optimization function when the number of servers increases.In [21], the authors model the Cloud using M/M/c/c model with different priority classes with the main goal of studying the rejection probability for different priority classes.But [22]  in a single server accumulating priority queue with Poisson arrival and general distribution service time.All these authors have made one or more contributions to the existing knowledge.These works have given us the opportunity to make our contribution based on the few observations we noticed.For instance, the works of [12,14,15,20,22] were based on FCFS or SJN which could not work in e-health mobile service where the e-mobile events are prioritized.Also, the generalized approach used by [12] could not reflect the real Cloud market of today.The work of [16] produces a good result but [17] reveals that preemption and migration of virtual machines are costly.
Our work is closely related to [23,24] where these authors model the Cloud as series of queues.What differentiate our work are the following: (i) each of our service stations is modelled as M/M/c/ Pr as against the M/M/1 proposed by these authors; (ii) no dedicated server is given or allocated to any class, thereby reducing consumers' waiting time; (iii) our research is in the context of mobile services.

The General GUISETs Architecture and the Proposed Middleware Model
We present two architectures; the first is the general architecture of the proposed GUISETs in Figure 1 and the second is our proposed performance GUISET middleware prototype model in the context of e-health in Figure 2. The second is calved out from the first as part of the services.The GUISETs architecture has three major layers: the multimodal layer, the middleware, and the infrastructural layer.The multimodal layer consists of SMME enabling applications which we refer to as the client side.This includes the WAP, Net, and other applications as shown in Figure 1.The clients send mobile aware requests to the GUISET middleware and the middleware does the service discovery, selection, and composition.Apart from these it checks for authentication and authorization and resolves the issue of pricing strategy; it ensures the provisioning of good quality of service through better service discipline.The third layer is the infrastructure layer that contains the resource repository.These are low level, knowledge, and other services like ehealth service.
Our research is in this middleware where we focus on the service discipline to be adopted in the context of mobile e-health where providers of service have different service offerings for mobile aware requests.
Our proposed prototype GUISET model is shown in Figure 2. The health-aware mobile devices are connected to the mobile networks via a base station, for example, through base transceiver station or access point that establishes and controls the connections and functional interfaces between the networks and mobile devices.We gather our health information from [25][26][27].The mobile user information (e.g., ID and location, BS, BP) is recorded and the risk column field is classified into five levels that determine the mobile event class as shown in Table 1.For example, mobile event that has blood sugar greater than 200 mg/d or blood pressure of 180/110 and above is classified as severe or very high risk with class 1 and that between 140-200 and 160-169/100-109 is classified as moderate or high risk with class 2. These e-health mobile events are classified under five categories in this research as shown in Table 1.These are transmitted to the central processor which is the dispatcher-in server that provides authentication, authorization, order of request (service discipline), and accounting services based on the home agent and subscribers' data stored in databases.After that, the requests are delivered to the right destination where the e-health mobile network services will be provided and results are then dispatched back through the dispatcherout.One assumption is that the mobile gargets and the access points are already in place; secondly, the issues of authentication, authorization, and accounting services are out of scope of this research.Our research is to prioritize these classes so that urgent requests get access to solution faster than the less urgent ones.The priority is such that the order is in the form of class 1 mobile aware event having higher  priority than classes 2, 3, 4, and 5.When an incoming request meets lower one on the queue, it takes over that request but when lower request is already underprocessed, that request has to be completed.When requests of the same priority are on the queue then the order is based on First Come First Served (FCFS).All requests are sent to the dispatcher-in server where they are then distributed to the e-health center stations for processing.The processed request then moves through the dispatcher-out as the outlet.
Unlike most related works [16,22,24] where the nonpreemptive policy is implemented at the first point of entry alone, we model our non-preemptive model at every point of queue, that is, the dispatcher-in queue as M/M/1/ Pr, the ehealth centers as M/M/c/ Pr, and the dispatcher-out queue as M/M/1/ Pr.This is because at every point of queue there is likely tendency that higher priority will arrive when lower one is on the queue.
This proposed model assumes that the arrival and the service process are exponentially distributed and due to large number of consumers entering the market for request we assume an infinite population.To get our performance measure, we follow the law of conservation of flow and the steps stated in [28].

Mathematical Modelling of Dispatcher-In Queue.
Let mobile event with service of the th priority (the smaller the number, the higher the priority) arrive before the dispatcherin according to Poisson distribution with parameter   ( = 1, 2, . . ., ) and these consumers wait on First Come First Served basis within their respective priorities.Let the service distribution for the th priority be exponential with mean 1/  .As earlier said, whatever the priority of a unit in service is, it has to complete its service before another item is admitted.
We define , ( 0 ≡ 0,   ≡ ) . ( The system stationary for   =  < 1.Let an event of priority  arrives at time  0 and enters service at time  1 .Its line wait is thus   =  1 −  0 .At  0 let us say we have  1 of priority one in line ahead of this new arrival,  2 of priority two,  3 of priority three, and so on.Let  0 be the total time required to finish the job already in service and   the total time required to serve   .During the new mobile request waiting time   (say)    mobile request of priority  < 1 will arrive and go to service ahead of this current arrival.If    is the total service time of all    , then it can be seen that taking the expected values from both sides of the foregoing, then Since  −1 <   for all , then  < 1 implies that  −1 < 1 for all .
To find [ 0 ], we observe that the combined service distribution is the mixed exponential, which is formed from the law of total probability as where The random variable remaining time of service  0 has the value 0 when the system is idle; hence But the probability that the system is busy is where  is the server utilization and therefore, Since   and the service times of individual mobile requests  ()  are independent, Utilizing Little's formula then gives similarly, and then utilizing the uniform properties of the Poisson we have therefore  ()  which is the waiting time for mobile request of  priority is Using ( 9) finally gives The above equation holds as long as   = ∑  =1   < 1.Therefore, from Little's formula, The total expected system size in each of the single channels is

Mathematical Modelling of Mobile E-Health Center.
Unlike the M/M/1/ Pr, the M/M/c/ Pr is governed by identical exponential distributions for each priority at each of the  channels within a station.As earlier said, our service rate is equal throughout the experiment.We define where the system is stationary for  < 1, and where   is the time required to serve   mobile requests of the th priority in the line ahead of the consumer.   is the service time of the    consumers of priority  which arrive during  ()   ;  0 is the amount of time remaining until the next server becomes available. Therefore, = Pr (all servers are busy within a service station) ⋅  [ 0 | all server are busy within a service station] but Therefore The expected time taken in a service station is The overall average time taken in  service stations is

Mathematical Modelling of Dispatcher-Out.
Our dispatcher-out is similar to the dispatcher-in; therefore the waiting time is derived using (1) to ( 15) and (18).We obtain The total waiting time by, say, class  priority is while the total waiting time experienced in the queue by the whole classes is 3.4.Numerical Validation and Simulation.First, we validate our mathematical solution with the simulation to ascertain the degree of correction.This is done by considering five classes of consumers' arrival.These are represented as five arrival processes  1 ,  2 ,  3 ,  4 , and  5 , where  1 =  2 =  3 =  4 =  5 and  =  1 +  2 +  3 +  4 +  5 .We use the Wolfram Mathematica 9.0 as the mathematical tool for our validation results and arena 14.5 as the simulator.Waiting time (t/hr) We set  = 100, 200, 300, . . ., 970, respectively, and  = 2 in each of the service stations.We then simulate this experiment using Arena discrete event simulator version 14.5 with the same values to ascertain the degree of variability.This simulation was run with replication length of 1000 in 24 hours per day with base time in hours and it was replicated 5 times.The service rate was set to 0.001 for the dispatcher-in and 0.0005 for each of the servers in the web queue stations and the dispatcher-out.
In addition, we set up a similar experiment with the same configurations but under a nonpriority discipline using FCFS discipline.The illustration of this model is shown by numerical examples and the impact on the five performances of the priority classes is analyzed under the Results and Discussion section.

Results and Discussion
The analytical results and that of our simulation are compared and the results are shown in Table 2 and Figure 3, respectively.The degree of variation is hardly noticed until  → 1 but the coefficient of variation is very small and less than unity; that is why, in Figure 3, the analytical colour overshadowed the simulation colour at the initial stage.Table 3 provides the results of our waiting time distributions of our simulation under the non-preemptive priority and the exogenous nonpriority where we use the FCFS policy.We represent the simulation results of non-preemptive as C1s-C5s and the nonpriority (FCFS) ones as C1-C5.Our first observation reveals that the total waiting time simulation results of both are the same.This implies that the total waiting time on the queue is independent of the service discipline.Second, the waiting time distributions of the classes in the non-preemptive differ while those of nonpriority have equal distributions.Figure 4 is the performance result of our simulation that we obtained from Table 3 of our non-preemptive priority.At the initial state when the server utilization is below 0.5 the performance difference of these five classes is not fully noticed.As the server utilization increases, that is, the number of mobile events increases in the proposed GUISETs e-marketplace, the performance differentiation becomes well noticed with class 1 priority having the minimum waiting time followed by class two while class five has the highest waiting time.All these four classes have better performance at the expense of the fifth class.
In Figure 5, we compare this model with that of nonpriority model using the First Come First Served policy.Both of them have an unnoticeable performance differentiation below 0.4 but as the  → 1 where  < 1, four classes out of the five classes observed have better waiting time performances over the conventional exogenous nonpriority model.Though the fifth class has higher waiting time, this class can be dedicated to requests that do not pose much risk like checking information whose waiting time does not pose risk, for example, the issue of blood pressure request with 120/80, which is normal in this experiment.This implies that urgent e-health mobile requests have better response time than noncritical requests.We envisage this proposed system to be good in the mobile e-health sector where patients with urgent request equipment need urgent attention.Also, it will be good to the e-health provider if the costs paid per class are prioritized since they have the same overall average waiting time.

Conclusion
One of the objectives of the proposed GUISET engine is the provisioning of mobile e-services to clients.In this research, we model a typical GUISET mobile healthcare middleware and evaluate the performance impact of mobile healthcare device requests' waiting time using the nonpreemptive priority and the nonpriority service discipline.
In our evaluation, we recorded the same average time for both disciplines but the waiting time distributions of each class in the non-preemptive priority differ with the lowest class having the minimum waiting time.Four out of the five classes observed perform better in the non-preemptive discipline than nonpriority discipline.This prototype system will be a good service in the mobile healthcare environment where urgent requests are given higher priority than lower requests.For example, request of severe risk should have higher priority than that of moderate or mild risk.More can still be done to have better consumers waiting time performance for the whole class.For example, one can consider the case where the lowest priority consumers represent a scheduled task and the highest appear at random.

Table 3 :Figure 4 :
Figure 4: Performance of the five classes waiting with the total waiting time.

Table 1 :
The e-health mobile aware records.

Table 2 :
Simulation and analytical.