Skip to content
This repository was archived by the owner on Jul 28, 2021. It is now read-only.

[v1.1.0] #7

Merged
merged 24 commits into from
Jun 16, 2021
Merged

[v1.1.0] #7

merged 24 commits into from
Jun 16, 2021

Conversation

ShindouMihou
Copy link
Owner

@ShindouMihou ShindouMihou commented Jun 3, 2021

NOTE

This is a draft pull request but the build file will be available since it needs some testing.
Download DEV-SNAPSHOT

This build adds/improves the following.

  • File writing is now handled by schedulers (called every 5 seconds), will add an option to have it write immediately but take note that the code will naturally be slower.
  • Add support for authorization code to be located on headers, will also add SSL support for websockets later.
  • Moved from ConcurrentHashMap to Caffeine Cache since according to benchmarks it is faster and most likely handles thread-safety better than I do.
  • Logging is now done through Logback.
  • Colorful console.

ShindouMihou and others added 21 commits May 23, 2021 19:27
Signed-off-by: Mihou <kokocrunchsh@gmail.com>
Signed-off-by: Mihou <kokocrunchsh@gmail.com>
Signed-off-by: Mihou <kokocrunchsh@gmail.com>
Signed-off-by: Shindou Mihou <kokocrunchsh@gmail.com>
Signed-off-by: Mihou <kokocrunchsh@gmail.com>
Signed-off-by: Mihou <kokocrunchsh@gmail.com>
Signed-off-by: Mihou <kokocrunchsh@gmail.com>
# Conflicts:
#	pom.xml
#	src/main/java/pw/mihou/rosedb/connections/RoseServer.java
#	src/main/java/pw/mihou/rosedb/io/FileHandler.java
…es).

Signed-off-by: Mihou <kokocrunchsh@gmail.com>
- [x] File writing is now handled by schedulers (called every 5 seconds), will add an option to have it write immediately but take note that the code will naturally be slower.
- [x] Add support for authorization code to be located on headers, will also add SSL support for websockets later.
- [x] Moved from ConcurrentHashMap to Caffeine Cache since according to benchmarks it is faster and most likely handles thread-safety better than I do.
- [x] Logging is now done through Logback.
- [x] Colorful console.

Signed-off-by: Mihou <kokocrunchsh@gmail.com>
Signed-off-by: Mihou <kokocrunchsh@gmail.com>
@ShindouMihou
Copy link
Owner Author

Another to note:

  • The application will now start logging files directly onto a log folder [logs/] which will help in debugging issues.
  • Also, errors from main thread will print out information such as: JDK Version, JDK Vendor, Memory Usage of RoseDB, Memory allocated to JVM, OS Architecture, OS Version, OS.

@ShindouMihou
Copy link
Owner Author

NOTICE

I currently do not recommend using this version since it has some write problems that I need to look into when I have time.

…ead-safety along with revert feature and more debugging logs.

Signed-off-by: Mihou <kokocrunchsh@gmail.com>
Signed-off-by: Mihou <kokocrunchsh@gmail.com>
@ShindouMihou
Copy link
Owner Author

Changes (BREAKING)

  • Revert feature is now available with the limitations specified on README.md
  • Malfunctioning write is now fixed.
  • Authorization header is now enforced.
  • Fixes the messy logs from Jetty (it should be cleaner now).

This will be merged with master branch once it is finished going deeper testings.

…est.

Signed-off-by: Mihou <kokocrunchsh@gmail.com>
@ShindouMihou ShindouMihou merged commit 5acd592 into master Jun 16, 2021
@ShindouMihou ShindouMihou deleted the development branch June 17, 2021 23:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant