-
Notifications
You must be signed in to change notification settings - Fork 261
Feat: change in v4.8.1 of arch(include jdk/database) #519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
| In the TRON Java implementation (**java-tron**), the node data storage engine offers two options: **LevelDB** and **RocksDB**. By default, **LevelDB is used on x86 platforms, while RocksDB is used on ARM platforms**. If LevelDB is manually configured on an ARM system, the system will print a warning and still enforce the use of RocksDB. Developers can flexibly choose the appropriate storage engine based on the platform environment, hardware conditions, and performance requirements. | ||
| In the TRON Java implementation (**java-tron**), the node data storage engine offers two options: **LevelDB** and **RocksDB**. | ||
|
|
||
| Differences in databases across architectures: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 5
Differences in databases across architectures: > Database support varies by architecture:
| Differences in databases across architectures: | ||
|
|
||
| - On x86 architecture, the database supports both LevelDB and RocksDB, and the version of RocksDB is v5.15.10. | ||
| - On ARM architecture, the database only supports RocksDB, and the version of RocksDB is v9.7.4. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 7-8
the database supports > java-tron supports
| The entire data conversion process is expected to take approximately **10 hours**, depending on the data volume and disk performance. | ||
| ## About LevelDB | ||
| LevelDB is the default data storage engine for java-tron on x86 platforms, suitable for resource-constrained or lightweight deployment scenarios. It has a simple structure and is easy to maintain, but it is less efficient than RocksDB in terms of data compression, backup capabilities, and performance for large-scale nodes. | ||
| LevelDB is the default data storage engine for java-tron node on x86 platforms, suitable for resource-constrained or lightweight deployment scenarios. It has a simple structure and is easy to maintain, but it is less efficient than RocksDB in terms of data compression, backup capabilities, and performance for large-scale nodes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 87
java-tron node X
java-tron nodes O
| The Event Query Service provides an HTTP interface for querying event data stored in MongoDB. This service requires a Java environment. | ||
|
|
||
| **Note**: Please ensure you are using **Oracle JDK 8**, not Open JDK 8. | ||
| **Note**: Please use Oracle JDK 8 on x86 architecture and JDK 17 on ARM architecture. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use Oracle JDK 8 on x86 architecture and JDK 17 on ARM architecture. >Please use Oracle JDK 8 "for" x86 architecture and JDK 17 "for" ARM architecture.
|
|
||
| - **General Requirement**: **Oracle JDK 1.8** | ||
| - **For `v4.8.1` and later**: Support is also provided for JDK 17 on the ARM architecture | ||
| - On x86 architecture, currently only Oracle JDK 8 is supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 7-8
On x86 architecture, currently only Oracle JDK 8 is supported.
On ARM architecture, currently only JDK 17 is supported.
->
On x86 architecture, java-tron currently supports only Oracle JDK 8.
On ARM architecture, java-tron currently supports only JDK 17.
| This document guides developers on how to deploy a TRON java-tron node on `Linux` or `macOS` operating systems. | ||
|
|
||
| **Important Note:** The java-tron node currently requires **Oracle JDK 1.8**. Other JDK versions are not supported. | ||
| Currently, the java-tron node supports running on both x86 and ARM architectures(Support for ARM architecture begins from version 4.8.1). The JDK support varies by architecture: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ARM architectures(Support > ARM architectures (Support
| **Important Note:** The java-tron node currently requires **Oracle JDK 1.8**. Other JDK versions are not supported. | ||
| Currently, the java-tron node supports running on both x86 and ARM architectures(Support for ARM architecture begins from version 4.8.1). The JDK support varies by architecture: | ||
|
|
||
| - On x86 architecture, currently only Oracle JDK 8 is supported. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line 7-8
On x86 architecture, currently only Oracle JDK 8 is supported.
On ARM architecture, currently only JDK 17 is supported.
->
On x86 architecture, java-tron currently supports only Oracle JDK 8.
On ARM architecture, java-tron currently supports only JDK 17.
|
|
||
| This document provides a detailed guide on how to acquire and use the TRON Toolkit. | ||
|
|
||
| **Note**: Since only RocksDB is supported on ARM architecture, tools such as `db convert` and `db archive` that handle LevelDB can only be used on x86 architecture. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because ARM architecture only supports RocksDB, tools designed for LevelDB (such as db convert and db archive) are only available on x86 architecture.
No description provided.