Key Information

Register
Submit
The challenge is finished.

Challenge Overview

Project Overview

The Gmail API Search and Delete Tool is an administrative tool that can search for and delete messages in a Google Apps user’s Gmail account.  This application will also be responsible for OU based authorization and logging of applications actions.

Competition Task Overview

The Gmail API Search and Delete (SAD) Tool has been developed but needs to be restructured for scalability.  

Currently the application will run if there are thousands of users in a Google Apps Domain, but currently will fail if there are ~49k users.

We are using Google App Engine Task Push Queues to handle the tasks now, but it doesn't work for ~49k users, the application hang or throw some strange errors. We are not sure what's the root cause of this.

Maybe some bugs in the code or the Google App Engine GC doesn't release some resources asap.

How to make the application work for ~49k users are up to developers. it's allowed to use more app engine instances. e.g. use pull queues and running multi instances on app engine. So we can scale the number of workers based on processing volume.

This challenge should provide the deployment guide to support ~49k users (e.g. if need multi instances, how to configure and deploy) and how to support more users (e.g. if ~49k users need 5 instances, then how much instances needed to support ~490k users).

Additionally if a search has been initiated the user should not be able to select the delete button (which starts a search and delete process) while an existing process is in order.  

Stop and Reset

This challenge should add a button or an endpoint to stop all running tasks and clear the queues to reset the status.

This can be an individual app or deployed as an individual instance on google app engine. It must work while this instance or other instances processing the tasks. (if deployed in same instance, make sure the task processing won't hang the whole application and make the user can't open the page to use this feature).

Testing

Please use contact manager to request appirio-dev1.com account. This domain has ~49k users.

Technology Overview



Final Submission Guidelines

  • Deployment Guide
  • Source Code
  • Deployed App Engine Project

ELIGIBLE EVENTS:

2015 topcoder Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30049203