• Title/Summary/Keyword: 비동기서비스호출

Search Result 7, Processing Time 0.022 seconds

Multiple Asynchronous Requests on a Client-based Mashup Page (클라이언트 기반 매시업 페이지에서 다중 비동기 서비스 호출)

  • Lee, Eun-Jung
    • The KIPS Transactions:PartD
    • /
    • v.17D no.1
    • /
    • pp.9-16
    • /
    • 2010
  • Web service mashup bacomes one of the important web application development methods. This paper considers a client based mashup, where a page interfaces many service methods asynchronously. Browser systems execute callbacks when the corresponding reply arrives, possibly concurrent to user interface actions. In this case, callbacks and user interface actions share data memory and screen. Moreover, when the user is able to send another request before the previous ones have replied, the shared resource problem becomes more complicated. In order to solve the multiple requests problem, our contributions are as follows. First, we modeled a mashup page with user actions and callbacks, and we presented several types of callbacks. Secondly, concurrency condition is defined between callbacks and user actions in terms of shared resources, and the test method is presented. Also, we proposed the serialization approach to guarantee the safe execution of callbacks. Finally, we applied the proposed concurrency condition on XForms language and extended the XForms browser to implement the proposed approach. The prototype implementation showed that the proposed approach helps enhancing user experience on mashup pages.

Implementation of Calculation System based on Asynchronously Web Service (비동기 웹 서비스 기반 계산 시스템의 구현)

  • Park, Jae-Hun;Park, Yeo-Sam;Yoo, Jae-Kyu;Jeong, Young-Sik;Han, Sung-Kook
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2007.06c
    • /
    • pp.324-327
    • /
    • 2007
  • 현재의 웹 서비스 표준 기술은 XML, SOAP, WSDL, 그리고 UDDI를 중심으로 매우 기본적인 상호작용 모델을 가지고 있다. 위의 기술들을 이용해 단일 웹 서비스에 대한 정의와 비즈니스 레지스트리에 등록된 웹 서비스를 이용할 수 있다. 현재 일반적으로 개발되고 사용되고 있는 웹 서비스는 사용자의 요청이 발생하면 작업처리의 결과를 반환할 때까지 기다리는 동기적인 방식을 사용하고 있다. 즉, 사용자가 처리요청을 하면 그 결과가 반환될 때까지 기다리는 동안 손실이 발생하게 된다. 본 논문에서는 동기식 웹 서비스로 인해 발생할 수 있는 손실을 최소화 할 수 있는 비동기 웹 서비스를 시스템에 접목한다. 간단한 사칙연산을 동시에 비동기 방식으로 호출하는 웹 서비스의 구현을 통해 다른 영역에도 적용할 수 있는 기반 시스템을 구축한다.

  • PDF

A Design of Event Filtering Channel for Efficient Event Data Delivery (효율적인 이벤트 데이터 전송을 위한 이벤트 필터링 채널의 설계)

  • 채영진;노희영
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2002.04a
    • /
    • pp.376-378
    • /
    • 2002
  • 현재 클라이언트/서버 네트워크 환경은 시스템이 점점 대형화되면서 유지보수 및 네트워크 트래픽에 대한 문제로 인하여 분산 객체 개념을 이용한 분산 환경의 페러다임이 필요하게 되었다. 이에 OMG의 CORBA는 분산 환경을 위한 표준을 제공하며, 분산 객체간의 비동기 호출을 위한 이벤트 서비스를 명시하고 있다. 분산 객체간의 데이터 전송은 전체 시스템의 성능을 좌우하는 중요한 요인으로 평가받고 있으나 이벤트 서비스는 이벤트 데이터를 위한 필터링 기능을 제공하고 있지 않아 비효율적인 데이터 전송을 하고 있다. 본 논문에서는 이벤트 채널의 필터링을 위한 모듈을 정의하여 기존의 서비스에서 제공하는 이벤트 채널보다 효율적인 데이터 전송이 가능한 이벤트 필터링 채널을 설계한다.

  • PDF

A Study on The Design of XML Based Web Map Service (XML 기반의 WEB MAP Service 개발방안)

  • Kim, Tae-Hwa;Lee, Dong-Han;Lee, Yong-Il
    • Proceedings of the KSRS Conference
    • /
    • 2007.03a
    • /
    • pp.82-87
    • /
    • 2007
  • 웹 GIS 서비스는 웹의 구현기술을 기존의 GIS와 결합하여 Internet 또는 Intranet 환경에서 지리정보의 입력,수정,조작, 분석,출력 등의 작업을 처리하여 네트워크 환경에서 서비스를 제공할 수 있도록 구축된 시스템을 말한다. 웹 GIS 서비스의 구현은 단순히 지리공간 자료를 보여주는 일반적인 형태의 응용에서부터 공간 분석을 수행하여 의사결정에 도움을 줄수 있는 응용시스템까지 다양한 구현이 가능하다. 웹 GIS 서비스는 많은 GIS 표준 명세 규칙인 필수 사항과 옵션 사항으로 구분되어 있으며 종종 동일한 표준을 지원한다 할지라도 상호 연동을 위한 인터페이스를 지원하지 않아 서비스의 확장이 어렵다. 본 연구는 이러한 단점을 보완하기 위하여 향후의 웹 GIS 응용 서버 확장에 필요한 국제표준 및 기술을 고려하여 웹 서비스를 구성하여 이들을 재사용 재조합 하기 위한 인터페이스를 구축하였다. 또한 이를 기반으로 Ajax 기법이 적용된 비동기식 호출을 사용하여 Client 환경에서 최적의성능을 발휘하는 방안을 소개하였다.

  • PDF

A Function Level Static Offloading Scheme for Saving Energy of Mobile Devices in Mobile Cloud Computing (모바일 클라우드 컴퓨팅에서 모바일 기기의 에너지 절약을 위한 함수 수준 정적 오프로딩 기법)

  • Min, Hong;Jung, Jinman;Heo, Junyoung
    • Journal of KIISE
    • /
    • v.42 no.6
    • /
    • pp.707-712
    • /
    • 2015
  • Mobile cloud computing is a technology that uses cloud services to overcome resource constrains of a mobile device, and it applies the computation offloading scheme to transfer a portion of a task which should be executed from a mobile device to the cloud. If the communication cost of the computation offloading is less than the computation cost of a mobile device, the mobile device commits a certain task to the cloud. The previous cost analysis models, which were used for separating functions running on a mobile device and functions transferring to the cloud, only considered the amount of data transfer and response time as the offloading cost. In this paper, we proposed a new task partitioning scheme that considers the frequency of function calls and data synchronization, during the cost estimation of the computation offloading. We also verified the energy efficiency of the proposed scheme by using experimental results.

Design and Evaluation of an Efficient Flushing Scheme for key-value Store (키-값 저장소를 위한 효율적인 로그 처리 기법 설계 및 평가)

  • Han, Hyuck
    • The Journal of the Korea Contents Association
    • /
    • v.19 no.5
    • /
    • pp.187-193
    • /
    • 2019
  • Key-value storage engines are an essential component of growing demand in many computing environments, including social networks, online e-commerce, and cloud services. Recent key-value storage engines offer many features such as transaction, versioning, and replication. In a key-value storage engine, transaction processing provides atomicity through Write-Ahead-Logging (WAL), and a synchronous commit method for transaction processing flushes log data before the transaction completes. According to our observation, flushing log data to persistent storage is a performance bottleneck for key-value storage engines due to the significant overhead of fsync() calls despite the various optimizations of existing systems. In this article, we propose a group synchronization method to improve the performance of the key-value storage engine. We also design and implement a transaction scheduling method to perform other transactions while the system processes fsync() calls. The proposed method is an efficient way to reduce the number of frequent fsync() calls in the synchronous commit while supporting the same level of transaction provided by the existing system. We implement our scheme on the WiredTiger storage engine and our experimental results show that the proposed system improves the performance of key-value workloads over existing systems.

Extension of Wright-based Connector Considering Efficiency Characteristics of Component (컴포넌트 효율성 특성을 고려한 Wright기반의 커넥터 확장)

  • 정화영;송영재
    • Journal of KIISE:Software and Applications
    • /
    • v.30 no.12
    • /
    • pp.1185-1192
    • /
    • 2003
  • In the component assembly and composition technique of software architecture, It is operated that the existing composition techniques based on architecture, ACME, Wright etc., used in FIFO with the direct connection structure between components through connector's Role. But, when the non-synchronizing request of components that have different characteristics occurs, the FIFO techniques is applied to the connector is difficult to process and operate effectively because of the high performance component waiting the sequence order if the low performance component is allocated first. Thus, the allocated request process according to the priority considering the characteristics of each call components in connector is necessary to improve the operation of assembled component. In this research, we extend the connector part that is available in multiplex connection structure based on existent Wright specification. For service process requested from component, the connector part is designed and implemented to operating with priority sequence through calculating the weight of CPU use rate, bean requesting process time and memory use rate among the efficiency elements of assembled components. To verify the efficiency if this designed connector, we implemented 20 samples EJB components that have different efficiency characteristics and applied these samples components to designed connector. The operating results with this designed connector show that the efficient operation of whole system is possible though the processing time takes 481ms more than the time of the existing FIFO techniques.