Giter Club home page Giter Club logo

pad-pcc-demo's Introduction

VMware has ended active development of this project, this repository will no longer be updated.


## Pivotal Cloud Cache (PCC) Primer App This is a simple app which demonstrates Look-Aside caching pattern and leverages Spring Cloud Connector and Spring Data modules with Pivotal Cloud Cache(PCC) and Pivotal MySQL v2 Tiles.

Please reach out to Pivotal Architecture for Data(PAD) team at [email protected] for any information

IMG_002

What you will build

You will build a service that requests customer information from a CloudFoundry hosted Customer Search service and caches them in PCC. You will then see that fetching the same customer information again eliminates the expensive call to retrieve customer information from MySQL.

The Customer Search service has the following APIs:

- GET /api/showcache - get all customer info in PCC
- GET /api/clearcache - remove all customer info in PCC
- GET /api/showdb - get all customer info in MySQL
- GET /api/cleardb - remove all customer info in MySQL
- GET /api/loaddb - load 500 customer info into MySQL
- GET /api/customerSearch?email={email} - get specific customer info

What you will need

  • About 30 minutes
  • A favorite text editor or IDE
  • JDK 1.8 or later
  • Maven 3.0+
  • You can also import the code straight into your IDE: Spring Tool Suite (STS) / IntelliJ IDEA

IMG_001

TO DO

  • ADD CQ and Client Subscriptions

pad-pcc-demo's People

Contributors

ameyb avatar rlewis24 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pad-pcc-demo's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.