Skip to content
This repository has been archived by the owner on Nov 16, 2021. It is now read-only.

Three almost identical simple web server applications (written in Java, Golang and Node.js respectively) to demonstrate their distinct runtime properties hands-on.

Notifications You must be signed in to change notification settings

SAP-archive/cf-web-server-benchmark-tests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Important Notice

This public repository is read-only and no longer maintained. For the latest sample code repositories, visit the SAP Samples organization.

Cloud Foundry Web Server Brenchmark Test

REUSE status

Description

Each programming language has been designed for a specific use-case and performs well / resource efficient for this use-case. But this doesn’t mean that a programming language is suited for all .

This repository contains three almost identical simple web server applications (written in Java, Golang and Node.js respectively) to demonstrate their distinct runtime properties hands-on. We have measured the footprints of those applications, which ran on SAP BTP, Cloud Foundry environment, to validate the hypothesis.

Check out this blog post for more details and the results of the experiment.

Requirements

Download and Installation

Please clone this repository and use cf push to deploy all three applications to you Cloud Foundry space.

Deploy the Golang app

  1. Browse to the golang project folder
cd golang
  1. Deploy the app
cf push

Deploy the Java app

Note: Please make sure to re-build the .jar archive if you want to modify the codebase of the java application

  1. Browse to the java project folder
cd ../java
  1. Deploy the app
cf push

Deploy the Node.js app

  1. Browse to the node project folder
cd ../node
  1. Deploy the app
cf push

Known Issues

The purpose of these apps is to demonstrate the memory consumption and CPU utilization of the respective Cloud Foundry runtimes given a very simple task. This experiment should not suggest that any programming language is superior to the other.

How to obtain support

Please open issues here on Github if you find errors or bugs in the implementation. You can use the comments section of the blog post for general remarks.

About

Three almost identical simple web server applications (written in Java, Golang and Node.js respectively) to demonstrate their distinct runtime properties hands-on.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published