Enhanced Stochastic Methodology for Combined Architecture of E-Commerce and Security Networks

This paper deals with network architecture which is a combination of electronic commerce and security systems in the typical Internet ecosystems. The e-commerce model that is typically known as online shopping can be considered as a multichannel queueing system. In the other hand, stochastic security system is designed for improving the reliability and availability of the ecommerce system. The security system in this paper deals with a complex system that consists of main unreliable servers, backups, and repair facilities to repair the broken servers. The results are applied for analyzing the current Internet ecosystem, and the mathematical methods can be also applied to the various areas such as human resources, manufacturing processes, and military operations. The solution presents the analytical solutions of the combined architecture of two queueing systems, and these tractable results are used for demonstration in the framework of optimization problems.


Introduction
Presently, electronic commerce e-commerce has been fastly growing and became extremely popular.Because of heavy traffic on Internet services and Internet shopping, the servers for e-commerce must be available all the time to meet the customer satisfactions.In the case of computer security, there are three distinct concepts which are secrecy confidentiality , accuracy integrity , and availability 1 .A secure computer system must not allow information to be disclosed to anyone who is not authorized to access.Accuracy means the system must not corrupt information in the system.Availability means the computer system keeps working efficiently and the system is able to recover if a disaster occurs 2 .The availability of network servers is one of the most important issues in the business.The stochastic integrated model is the combination of e-commerce 3 and network security 4 systems under one umbrella see, Figure 1 .Typical electronic commerce service is online shopping via Internet 3 .The security system that is also called stochastic backup model 4 is designed for improving the availability and reliability of the network.
As mentioned above, the system that is proposed in the paper consists of two systems.One is a network systems which actually serve customers via Internet and the other is a stochastic security system which supports to maintain main servers using the reserve spare or backup servers 2-5 .
The e-commerce system has unreliable web-based network servers m and each server contains several channels to serve customers.Each customer connects to one of many channels for Internet shopping and a customer leaves when shopping is done.It is assumed that service time of each channel is exponentially distributed with the parameter μ and identically and independently distributed iid .The interarrival times of input streams are generally distributed and iid in accordance with the PDF A x with the mean a that is the average interarrival time between customer arrivals.Let Q k t be the number of occupied channels at time t on the kth server that offers up to n channels.These channels are occupied by customers randomly and iid.The solution of the system can described by a GI/M/m/0 queueing system with embedded chain process and continuous time process.The embedded chain process was developed by Takács 6 and recent researches from Kim 3 deal with the continuous time process of a GI/M/m/0 multichannel open queueing system.The stochastic security system with reserve backups is designed for improving availability and the reliability by using reserve or spare backup servers.A main server is the current server working properly i.e., open channels, serve customers, etc. .Reserve server or spares, backups is a standby server which replaces a main server instantly when it is broken.This system has a repair facility or called a repairman to repair the broken server.Independent of any other system, this kind of backup system has been developed with different aspects such as a stochastic reliability system 5 , and stochastic disaster recovery system 2 .
The paper is organized as follows.Section 2 formalizes the stochastic security system under consideration.Section 3 deals with e-commerce application and shows how to combine the e-commerce and security system.During these two sections, advanced mathematical techniques are applied such as Duality Principle 7 , Embedded Markov Process, semiregenerative and supplementary variable techniques to get the solutions of both systems e-commerce and SSS .Explicit formulas obtained demonstrate a relatively effortless use of functionals.These formulas give main stochastic characteristics of the combination system such as rewards due to customers in e-service system and expenses due to repair, maintenance, waiting, and reward for higher reliability is security system and optimization of their objective function.Sections 4 and 5 deal with these topics.

Stochastic Security System with Backups
The stochastic security system can be characterized by the Markovian input with parameter λ; general-independent service times i.e., a renewal process are distributed in accordance with the PDF B x and mean b R xdB x < ∞ .The latter is a classical system investigated by Dshalalow 9 and the related tools such as duality principle, Markov chain process, supplementary variable, and semiregenerative techniques are used for analyzing the proposed security system.Let Z 1 t be the total number of intact main and reserve servers at time t.Denote by Z t the total number of main and reserve machines at time t ≥ 0 with a special condition.There are no idle periods even when all main and backup servers become intact.
The system consists of m main server and w 1 backup server for security purposes.Denote by can be solved as follows: φ n , k 0, where φ k lim t → ∞ P {Z t k}, k 0, 1, . . ., m w.For the process Z 1 t , the corresponding formulas yield P m w mλb P m w .

2.2
For the explicit solution, P k , k 0, 1, . . ., m w can be found as follows:

2.4
Q z of 2.4 is the generating function, convergent in the open disc centered at zero.

Combined Network Architecture of Two Systems
As the above session mentioned, the e-commerce system is considered as GI/M/m/0 multichannel queueing system but the number of available channels is random.So, a conventional GI/M/ m/0 queueing system is proposed rather than GI/M/m/0 system.This system is characterized by general-independent input; jth server has n parallel channels without buffer within unreliable m servers.The channel of each server can be occupied by customers Q j t , j 1, . . ., n at time t.Since all servers are unreliable, the number of working servers may be less than m and the main servers can be supported by w 1 reserve or backup servers.Since Z 1 t is the number of intact servers included with backups, M t gives the number of main intact servers at time t.Let m t be total number of channels occupied by customers.It yields where

3.2
Limiting probabilities π π 0 , π 1 , . . .i.e., π k lim t → ∞ P {m t k}, k 0, 1, . . .which are number of occupied channels will be the solution of our system.As we mentioned, service time for each channel is the exponential distribution with parameter μ.
To find the solution, a single-server queueing system which has n available channels is considered.Let τ 0 0 , τ 1 , . . .be interarrival time sequences of interarrival moments of customers and these sequences are iid identically independently distributed and the random variable σ n : τ n 1 − τ n is distributed in accordance with the PDF A x A x : P {σ n ≤ x}, x ≥ 0, α θ : E e −θσ n .

3.3
The solution of a multichannel queue in a single-server has been developed by Takács 6 and has been applied in the various researches 2, 4, 5 .Limiting probabilities of the GI/M/m/0 multichannel queue q q 0 , q 1 , . . ., q n i.e., q i : lim t → ∞ P {Q t i}, i 0, 1, . . ., n, and n is the number of channels for each server are known to satisfy the following formulas since we assume that the number of channels for servers is iid and all servers are stochastically equivalent, we drop the server index j : where

3.5
Now, we can find the limiting probabilities of this model.The generating function of a singleserver system with multichannels is and the generating function of number of servers is From 3.2 and 3.6 -3.7 , we have To get the solution for a multiserver system with multichannels, we use the generating function as follows: 3.9 By the conditional expectation, 3.9 yields

3.10
and the limiting probabilities are which is the limiting distribution π π 0 , π 1 , . . ., π nm nw n of the system.

Optimality of the Stochastic Combined System
In this section we deal with a class of optimization problems that arise in stochastic management.Stochastic optimization method is commonly applied for management problem see, 2-6 .Let a strategy Σ be a set of action we impose on the system e.g., choice of customer distribution, number of channels in the network server, etc. .For instance, A x and μ can the parts of the function of m.On the other hand, a system can be subject to a set, say C, of cost functions.Denote by Φ Σ, C, t the expected costs within 0, t , due to the strategy Σ costs C and define the expected cumulative cost rate over an infinite horizon: We treat this problem as a special case.Since Q k t is the number of channels in the kth server and M t is a total number of servers in the system, m t is the number of occupied channels in the systems from 3.1 at time t.Let f n be reward rate from n customers in channels of the servers, which is the same as number of occupied channels.Then the expected reward for all occupied channels in network severs during 0, t is which by Fubini's theorem is j≥0 f j t s 0 P m s j ds.

4.3
Recall that Z 1 t is the number of intact servers included in the reserve servers, M t gives the number of the intact working servers at time t.Let g n be cost rate for n intact main servers.Then the expected cost for all main machines working in the interval 0, t is

4.4
The number of reserve servers is W t Z 1 t −min{m, Z 1 t }.If h n is the cost rate for maintaining n reserve servers, then expected cost for all reserve machines maintained in the interval 0, t is which, after similar calculation, yields The cumulative cost of all procedures involved in the multichannel system of the network server on the interval 0, t is

4.7
Now we turn to convergence theorems for regenerative and semiregenerative processes 9 , to arrive at the objective function Φ Σ, C , which gives the total expected rate of all processes over an infinite horizon.In light of equations i -ii we have

4.8
Assuming that all functions are linear, we have where and d, l, s are relevant cost and reward constant coefficients.

Optimization Examples
In this section we intend to demonstrate the tractability of our results in the previous Sections 2-4 on a practical stochastic integrated model of e-commerce and security system.The exponential distribution is allowed for customer input and broken rate of servers.
To demonstrate a practical optimization method, we specify the remaining of the three primary cost and reward functions as follows: From 5.1 and 4.9 , we have where m lim t → ∞ E m t .Finally, we arrive at the following expression for the objective function: Comparing 4.8 with 5.3 , we identify d c 1 , l c 2 − c 3 , and s c 2 .We restrict the initial strategy of this model to a combination of the number of channels n and main m and backup w servers.In other words, we need to find the triad n 0 , m 0 , w 0 such that There is one more constraint under which we set the total number of main and reserve servers as a constant.This constraint is reasonable for limited internal resources for Internet services: m w 1 const.

5.5
As a reasonable performance measure, let us consider the reliability factor ρ, which represents the probability that the number of intact servers at any moment of time in equilibrium is greater than or equal to the number of main servers m .The reliability factor is defined as follows: This is not only a reliability measure of the system, but it can also serve as a constraint to an optimally functioning system.Figure 2 shows another example of optimization in the system.For graphical illustration, we determine number of backup servers w and channels n .From 5.3 , we calculate φ S m , C and m 0 that gives a maximum for φ S m , C .Recall that the m 0 stands for number of main servers which maximizes the total reward of this system when 3 channels are available for each server and 8 w 1 backups are available.Below is a plot of φ S m , C for m ∈ { m : n 1, . . ., 10}.The calculation of the objective function yields m 6 in maximum reward that equals 141.8249.It means that there are m 0 6 servers, 8 w 1 backups, and 3 available channels in each server, within the system to maximize the reward of maintenance servers.

Conclusions
The paper provides a method to add a security system to improve availability and reliability issues.The combined architecture considers a combination of two systems.The solution deals with two systems under one integrated system.The objective function of the optimization also contains the properties of two systems.
The paper prepares the full analytic solutions of the integrated model of e-commerce application and security systems which include the embedded Markov process, semi-Markov process, and semiregenerative techniques.These analytic solutions are not only compact but also give all of performance measures of the combination system such as service time and queue length.The optimal number of servers is one example for a demonstration, and the analytic solution can also evaluate a simulation approach of more realistic and complicated system similar with the combined architecture.Applications include not only e-commerce model but also other combinations such as human resources, manufacturing system, and military operations.

Figure 1 :
Figure 1: Combined network architecture of two systems.