Giter Club home page Giter Club logo

bike-choose-study's Introduction

Bike Choose - Study

Compare different solutions to choose a bike on a website.

The objective is to illustrate, through an example of an e-commerce functional unit, the ecodesign of a digital service and to highlight some good practices.

Pre-requisites

You need to have the following applications to be installed:

All tests were run on a Linux environment, so it is preferable to have a Linux environment (native or WSL Ubuntu on Windows).

Docker images

Some improvements can be made from the build of the Docker image of our application: Docker Optimization

Performance tests

The strategy of performance tests for backend servers can be found here: Tests Strategy

bike-choose-study's People

Contributors

actlem avatar

Watchers

 avatar

bike-choose-study's Issues

Improve Start of Spring Boot Elasticsearch

For Elasticsearch+Spring Boot, if Elasticsearch is not started we restart it via restart: on-failure. We should find a cleaner way to do that (via a script or dockerize?)

Migrate to Vavr and compare

  • List to vavr list
  • foldLeft instead of forEach in BikeService
  • Compare performances and resources consumption without it

Remove Warn logs in Spring Boot Elastic Search and compare results without them

Logs to remove:

2020-05-23 15:37:07.725  WARN 6364 --- [/O dispatcher 7] org.elasticsearch.client.RestClient      : request [POST http://localhost:9200/products/bike/_search?rest_total_hits_as_int=true&typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=dfs_query_then_fetch&batched_reduce_size=512] returned 1 warnings: [299 Elasticsearch-7.6.1-aa751e09be0a5072e8570670309b1f12348f023b "[types removal] Specifying types in search requests is deprecated."]
2020-05-23 15:37:07.725  WARN 6364 --- [O dispatcher 10] org.elasticsearch.client.RestClient      : request [POST http://localhost:9200/products/bike/_search?rest_total_hits_as_int=true&typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=dfs_query_then_fetch&batched_reduce_size=512] returned 1 warnings: [299 Elasticsearch-7.6.1-aa751e09be0a5072e8570670309b1f12348f023b "[types removal] Specifying types in search requests is deprecated."]
2020-05-23 15:37:07.729  WARN 6364 --- [/O dispatcher 9] org.elasticsearch.client.RestClient      : request [POST http://localhost:9200/products/bike/_search?rest_total_hits_as_int=true&typed_keys=true&ignore_unavailable=false&expand_wildcards=open&allow_no_indices=true&ignore_throttled=true&search_type=dfs_query_then_fetch&batched_reduce_size=512] returned 1 warnings: [299 Elasticsearch-7.6.1-aa751e09be0a5072e8570670309b1f12348f023b "[types removal] Specifying types in search requests is deprecated."]

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.