Skip to main content
QUICK REVIEW

[Paper Review] Implementing Microservices through Microtasks.

Emad Aghayi, Thomas D. LaToza|arXiv (Cornell University)|Mar 5, 2019
Mobile Crowdsensing and CrowdsourcingComputer Science25 references3 citations
TL;DR

This paper proposes a behavior-driven microtasking workflow for implementing microservices, where each microtask focuses on specifying, testing, implementing, and debugging a single function behavior. In a user study, a small crowd successfully completed 350 microtasks, implemented 13 functions, and delivered a functioning microservice with only four defects, achieving rapid onboarding and high productivity.

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.

Motivation & Objective

  • To address the scalability limitations of existing microtasking approaches in software development.
  • To reduce coordination overhead in crowd-based programming by structuring microtasks around individual function behaviors.
  • To evaluate whether a behavior-driven microtasking workflow can effectively support the implementation of a full microservice.
  • To assess the feasibility and productivity of crowd-sourced microservice development through a structured microtasking workflow.

Proposed method

  • Decomposing microservice implementation into microtasks, each focused on a single behavior within a function.
  • Designing a workflow that guides developers through identifying, testing, implementing, and debugging one behavior per microtask.
  • Providing full context and environment support within each microtask to enable self-contained contributions.
  • Aggregating individual microtask contributions into a cohesive software product through a defined workflow orchestration.
  • Using behavior-driven development principles to guide microtask specification and validation.
  • Conducting a user study with a small crowd to evaluate the workflow in practice.

Experimental results

Research questions

  • RQ1Can a behavior-driven microtasking workflow enable scalable and coordinated crowd-sourced implementation of microservices?
  • RQ2How quickly can developers onboard and contribute their first microtask using this workflow?
  • RQ3What is the defect rate and functional correctness of the final microservice produced through this approach?
  • RQ4How effective is the workflow in supporting rapid implementation of individual behaviors?

Key findings

  • The crowd successfully completed 350 microtasks and implemented 13 functions in the microservice.
  • Developers were able to on-board and submit their first microtask in less than 24 minutes.
  • Contributors were able to implement new behaviors in less than 5 minutes per behavior.
  • The final microservice had only four defects, indicating high functional correctness.
  • The behavior-driven microtasking workflow enabled effective coordination without requiring centralized coordination overhead.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.