Skip to content

Aggregation test in the different backends and DBs

Notifications You must be signed in to change notification settings

AlexeySemin/test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 

Repository files navigation

ENDPOINTS

Backend hosts

  • Golang backend_host = localhost:8081

Common

  1. Create news POST{backend_host}/news
    • body - "count":{count_news}
    • count_news == 500000 is a max value per request
  2. Delete news DELETE{backend_host}/news

DB side aggregation

  1. Get min, max, avg values for the rating GET{backend_host}/dbsa/news/min-max-avg-rating
  2. Get grouped per month JSON data GET{backend_host}/dbsa/news/per-month-json-data

Server side aggregation

  1. Get min, max, avg values for the rating GET{backend_host}/ssa/news/min-max-avg-rating?use_rows={bool}
  2. Get grouped per month JSON data GET{backend_host}/ssa/news/per-month-json-data?use_rows={bool}
  • use_rows = true|false or ignore it, will work with models.News entities unless use_rows=true

About

Aggregation test in the different backends and DBs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published