https://github.com/rafal-stefanski/spring-db-speed-counter
SPRING App with time counter for reading and writing 1000 records from file to MySQL and MongoDB databases.
https://github.com/rafal-stefanski/spring-db-speed-counter
aspect-oriented-programming hibernate java mongodb mysql spring spring-boot
Last synced: 3 months ago
JSON representation
SPRING App with time counter for reading and writing 1000 records from file to MySQL and MongoDB databases.
- Host: GitHub
- URL: https://github.com/rafal-stefanski/spring-db-speed-counter
- Owner: Rafal-Stefanski
- Created: 2021-11-29T16:24:01.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-01-31T12:43:08.000Z (over 3 years ago)
- Last Synced: 2025-02-02T06:28:25.700Z (5 months ago)
- Topics: aspect-oriented-programming, hibernate, java, mongodb, mysql, spring, spring-boot
- Language: Java
- Homepage:
- Size: 369 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Spring DataBase Speed Counter :stopwatch:
##### Used:
- MySQL, Hibernate, MongoDB,
- AOP for time measure,
- generated CSV test file from https://www.mockaroo.com/##### Configuration in application.properties:
- DataBase, configured for local MySQL DB and MongoDB.***
#### Task/Description
- [X] Wczytaj do aplikacji 1000 obiektów. Stwórz metodę, która będzie zapisywała wszystkie elementy do lokalnej bazy danych.
Stwórz aspekt, który będzie nasłuchiwać metodę i w momencie startu włączy licznik startu, a po zakończeniu operacji odczytanie zostanie czas wykonania operacji.
Zrób do samo dla operacji wczytywania danych z bazy danych (bez wyświetlania ich, bo to może spowodować przekłamanie wyniku). Odnotuj wynik odczytu.
Zrealizuj to dla relacyjnej bazy danych i nierelacyjnej bazy danych.
***
##### Results

