Skip to main content
QUICK REVIEW

[논문 리뷰] Implementing Microservices through Microtasks.

Emad Aghayi, Thomas D. LaToza|arXiv (Cornell University)|2019. 03. 05.
Mobile Crowdsensing and CrowdsourcingComputer Science참고 문헌 25인용 수 3
한 줄 요약

이 논문은 각 마이크로태스크가 단일 기능 행동을 특정화하고 테스트하며 구현하고 디버깅하는 데 집중하는 행동 기반 마이크로태스크 워크플로를 제안한다. 사용자 연구에서 소규모 커뮤니티가 350개의 마이크로태스크를 성공적으로 완료하고 13개의 기능을 구현하여 오직 네 개의 결함만을 포함하는 기능적인 마이크로서비스를 제공했으며, 빠른 온보딩과 높은 생산성을 달성했다.

ABSTRACT

Microtask programming is a form of crowdsourcing for programming in which implementation work is decomposed into short, self-contained microtasks. Each microtask offers a specific goal (e.g., write a unit test) as well as all of the required context and environment support necessary to accomplish this goal. Key to microtasking is the choice of workflow, which delineates the microtasks developers may complete and how contributions from each are aggregated to generate the final software product. Existing approaches either rely on a single developer to manually generate all microtasks, limiting their potential scalability, or impose coordination requirements which limit their effectiveness. Inspired by behavior-driven development, we describe a novel workflow for decomposing programming into microtasks in which each microtask involves identifying, testing, implementing, and debugging an individual behavior within a single function. We apply this approach to the implementation of microservices, demonstrating the first approach for implementing a microservice through microtasks. To evaluate our approach, we conducted a user study in which a small crowd worked to implement a simple microservice and test suite. We found that the crowd was able to use a behavior-driven microtask workflow to successfully complete 350 microtasks and implement 13 functions, quickly onboard and submit their first microtask in less than 24 minutes, contribute new behaviors in less than 5 minutes, and together implement a functioning microservice with only four defects. We discuss these findings and their implications for incorporating microtask work into open source projects.

연구 동기 및 목표

  • 기존 마이크로태스크 기반 소프트웨어 개발 접근법의 확장성 한계를 해결하기 위해.
  • 각 기능 행동을 중심으로 마이크로태스크를 구조화하여 커뮤니티 기반 프로그래밍에서의 조율 오버헤드를 줄이기 위해.
  • 행동 기반 마이크로태스크 워크플로가 전체 마이크로서비스의 구현을 효과적으로 지원할 수 있는지 평가하기 위해.
  • 구조화된 마이크로태스크 워크플로를 통해 커뮤니티 기반 마이크로서비스 개발의 가능성과 생산성을 평가하기 위해.

제안 방법

  • 마이크로서비스 구현을 각 기능 내에서 하나의 행동에 집중하는 마이크로태스크로 분해하기.
  • 개발자가 하나의 행동을 식별하고 테스트하며 구현하고 디버깅하는 데를 안내하는 워크플로 설계하기.
  • 각 마이크로태스크 내에서 자가 포함된 기여를 가능하게 하기 위해 전체 맥락과 환경 지원 제공하기.
  • 정의된 워크플로 오케스트레이션을 통해 개별 마이크로태스크 기여를 통합하여 일관된 소프트웨어 제품으로 조립하기.
  • 마이크로태스크 사양 및 검증을 이끄는 행동 기반 개발 원칙 사용하기.
  • 실제 워크플로 평가를 위해 소규모 커뮤니티를 대상으로 사용자 연구 수행하기.

실험 결과

연구 질문

  • RQ1행동 기반 마이크로태스크 워크플로는 마이크로서비스의 확장 가능하고 조율된 커뮤니티 기반 구현을 가능하게 하는가?
  • RQ2이 워크플로를 사용할 경우 개발자는 얼마나 빨리 온보딩되어 첫 번째 마이크로태스크를 기여할 수 있는가?
  • RQ3이 방법을 통해 생산된 최종 마이크로서비스의 결함률과 기능 정확도는 어떠한가?
  • RQ4이 워크플로는 개별 행동의 빠른 구현을 얼마나 효과적으로 지원하는가?

주요 결과

  • 커뮤니티는 마이크로서비스 내 350개의 마이크로태스크를 성공적으로 완료하고 13개의 기능을 구현했다.
  • 개발자들은 24분 이내로 온보딩하고 첫 번째 마이크로태스크를 기여할 수 있었다.
  • 기여자들은 하나의 행동을 구현하는 데 평균 5분 이내로 완료할 수 있었다.
  • 최종 마이크로서비스는 오직 네 개의 결함만을 포함하여 높은 기능 정확도를 보였다.
  • 행동 기반 마이크로태스크 워크플로는 중앙 집중식 조율 오버헤드 없이도 효과적인 조율을 가능하게 했다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.