Topcoder - Update Build Scripts To Use TopCoder Cache Client Module

Key Information

Register
Submit
The challenge is finished.

Challenge Overview

BACKGROUND

Recently, All internal system of Topcoder are using TC Cache which is using JBoss Cache as caching service, but this is outdate and keep causing problems for us in production. We'd like to move ahead with a more mature cache services, like Redis.

For the first step, we'd like to separate out the cache related logic from web_module project (already done), and use it as an independent jar file beside the cache.properties.

SCOPE

For this challenge, we'd like you to achieve to the goal of separating the cache related code in web_module.

Generally, you should do 

  • Remove web_module/src/main/com/topcoder/web/common/cache except web_module/src/main/com/topcoder/web/common/cache/admin
  • Drop the tc_cache.jar (you can build it from https://github.com/appirio-tech/tc-cache) under web_module/lib/jars/tcs/ directory
  • Update all build.xml and build_xxx.xml files under web_module to properly build and deploy with the tc_cache.jar���
    • build_cache.xml need to be run under cache user
    • build_distui.xml need to be run under distui user
    • build_tc.xml and build_forums.xml need to be run under tc user
    • build_tcs.xml need to be run under tcs user
    • build_studio.xml need to be run under studio user
    • build_mm.xml need to be run under mm user
    • For others, you need to use your best way to check and verify if they needs change or not.
  • Verify that all the systems is still working properly with the new dependent jar and caching is still working properly.

VM ENVIRONMENT

If you need a TopCoder VM to work on this challenge, Please request the VM in the challenge forum.

Information about VM can be found below:

VM specific information is found here: http://www.topcoder.com/wiki/display/docs/VM+Image+2.5

Upon registration as a submitter or reviewer you will need to request a VM based on the new TopCoder Cockpit/Direct image. To request your image, please use the forum. Before requesting your VM, you need to ensure that you have an SSH key created and in your member profile. Instructions to do so are here: http://www.topcoder.com/wiki/display/projects/Generate+SSH+Key, and instructions to connect afterwards are here:http://www.topcoder.com/wiki/display/projects/Connect+Using+SSH+Key.

 

 


Final Submission Guidelines

  • new and updated files
  • Working VM for testing
  • Deployment Guide and Verification Steps

ELIGIBLE EVENTS:

2016 TopCoder(R) Open

REVIEW STYLE:

Final Review:

Community Review Board

Approval:

User Sign-Off

SHARE:

ID: 30053592