Skip to content

A simple benchmark to compare the Baqend performance against competitors

Notifications You must be signed in to change notification settings

Baqend/news-benchmark

Repository files navigation

Baqend News Benchmark

This is a simple news web application to compare the Baqend performance against the competitors Parse, Apiomat, Azure Mobile Services and Kinvey

Description

The application loads three different stream objects. Each contains a title and a list of ten different news ids:

{
	"title": "Wirtschaft",
	"news": ["/db/News/w1", "/db/News/w2", "/db/News/w3", "/db/News/w4", "/db/News/w5", "/db/News/w6", "/db/News/w7", "/db/News/w8", "/db/News/w9", "/db/News/w10"]
}

An news object is referenced by an id. It contains a headline, short text, image link and a date:

{
	"id": "/db/News/w1",
	"headline": "Guter Rat zur Geldanlage ist selten",
	"short": "Honorarberatung ist in Deutschland endlich gesetzlich geregelt. Doch gibt es kaum Honorarberater. Und gut qualifizierte noch viel weniger.",
	"img": "geldanlage-honorarberatung-220x124.jpg",
	"date": "11. November 2014  07:15 Uhr"
}

Usage

Clone this repository, install the node modules (npm install) and start the http server with grunt. To change the used provider edit the comments and the end of the index.html.

You can deploy a predefined schema for this app via CLI. The schema is stored in baqend/schema. If you want to intialize the app with predefined, data you can add init=true to the end of the address bar.

For local deployment

  • In js/baqend-insert.js change DB.User.login('*', '*') to your own credentials
  • In js/baqend.js change DB.connect('news'); to DB.connect('http://localhost:8080/v1');

You can also use our hosted versions:

About

A simple benchmark to compare the Baqend performance against competitors

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •