计算机科学 ›› 2013, Vol. 40 ›› Issue (2): 177-179.

• 软件与数据库技术 • 上一篇    下一篇

云计算中基于Session和内容等级的数据库请求分类算法

赵涓涓,刘涛,强彦,卢军佐   

  1. (太原理工大学计算机科学与技术学院 太原 030024)
  • 出版日期:2018-11-16 发布日期:2018-11-16

Classification Algorithm of Database Request Based on Session and Content Level in Cloud Computing

  • Online:2018-11-16 Published:2018-11-16

摘要: 云计算是当今世界IT行业的研究热点,在云计算实例中存在各种各样的用户对于数据库的请求,并且这些 请求是海量的,如果不对这些数据库请求进行合理的分类,必然会对系统的性能造成很大的影响。如何对这些请求进 行分类以达到Web QoS的标准,是云计算研究的一大难点和关键点。原来基于先来先服务的请求模式不仅不能满足 客户优先级的要求,不能达到利益的最大化,而且不能使服务资源得到充分利用。因此,提出了基于Session和内容等 级的数据库请求分类算法,该算法提出了基于Session和内容等级的性能函数,充分考虑了客户的优先级,使得优先级 高的客户的请求优先得到服务资源;而对于优先级较低的请求,由于在算法中加入了时间函数,其优先级会随着等待 时间的加长而变成优先级较高的请求,从而也会得到处理,不至于无限期地等待。因此,该算法既保证了优先级高的 请求优先得到处理,又保证了优先级低的请求不至于由于优先级较低而得不到处理,是一种动态的数据库自适应的数 据库请求分类。

关键词: 云计算,Session,内容等级,数据库请求分类,数据库自适应

Abstract: Nowadays, many studies have been focused on cloud computing in I T industry. Mass of users’requests on database exists in instance of cloud computing. It has a significant impact on system performance if we do not classify these requests on database reasonably. How to classify these requests, in order to achieve the Web QoS standard, is a aporia and key point in the study of cloud computing. hhere arc many defects in original request pattern, which is based on first come and first service. For instance, priority requirements from customers cannot be satisfied, and we failed to reach the aim of profit maximization. Moreover, service resources cannot be fully used. Therefore, we put forward the database request classification algorithm based on Session and content level. We also put forward a performance function based on Session and content level. hhis function takes customers' priority into consideration, in order to make Gusto- mers' rectuest with high priority getting service resources first. While to the others, owing to the introduction of time function in our algorithm, their priorities will get promoted and finally get processed as the waiting time goes by. The situation of endless waiting will be avoided. hherefore, this algorithm is a kind of dynamic database request classification of database adaptive. In our algorithm, not only the rectuest with highly priority will get processed first, but also it is en- sured that the request with lower priority will be processed although their priority is not enough.

Key words: Cloud computing, Session, Content level, Database request classification, Database adaptive

No related articles found!
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!