Skip to content

Faenya/TinyTwitt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 50.4%
  • JavaScript 29.5%
  • HTML 18.8%
  • CSS 1.3%