Giter Site home page Giter Site logo

tinytwitt's Introduction

TinyTwitt

Martin Ars, Alexis Claveau, Alexis Loret, Maud Van Dorssen

Links

Warning

Since the website is not under constant use, it might take a few minutes for an instance to be up and running when you try to visit it, especially after logging. Don't despair and keep refreshing ! (Caching issues might also arise)

Measurements

100 Followers

Posting tweet 10 Last Messages 50 Last Messages 100 Last Messages
Average 497 ms 187 ms 198 ms 198 ms
Variance 18816 3864 2509 2330

1000 Followers

Posting tweet 10 Last Messages 50 Last Messages 100 Last Messages
Average 497 ms 194 ms 204 ms 232 ms
Variance 23583 7545 2735 8059

5000 Followers

Posting tweet 10 Last Messages 50 Last Messages 100 Last Messages
Average 618 ms 140 ms 154 ms 170 ms
Variance 2966 776 1119 394

Hashtag 50 Last Messages

1000 Messages 5000 Messages
Average 705 ms 690 ms
Variance 28368 23358

App Engine Standard & Google Cloud Endpoints Frameworks & Java

Build with Maven

Adding the project ID to the sample API code

You must add the project ID obtained when you created your project to the sample's pom.xml before you can deploy the code.

To add the project ID:

  1. Edit the file pom.xml.

  2. For <endpoints.project.id>, replace the value YOUR_PROJECT_ID with your project ID.

  3. Save your changes.

Building the sample project

To build the project:

mvn clean package

Generating the openapi.json file

To generate the required configuration file openapi.json:

mvn endpoints-framework:openApiDocs

Deploying the sample API to App Engine

To deploy the sample API:

  1. Invoke the gcloud command to deploy the API configuration file:

      gcloud endpoints services deploy target/openapi-docs/openapi.json
    
  2. Deploy the API implementation code by invoking:

      mvn appengine:deploy
    

    The first time you upload a sample app, you may be prompted to authorize the deployment. Follow the prompts: when you are presented with a browser window containing a code, copy it to the terminal window.

  3. Deploy the composite indexes:

     `gcloud app deploy src/main/webapp/WEB-INF/index.yaml`
    
  4. Wait for the upload to finish.

tinytwitt's People

Contributors

faenya avatar decator avatar

Stargazers

 avatar

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.