- Notifications
You must be signed in to change notification settings - Fork363
Distributed ORM Framework for Java
License
jfaster/mango
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Fast, simple, reliable. Mango is a high-performance Distributed ORM Framework.Mango makes it easier to use a relational database with object-oriented applications.Performance and Simplicity are the biggest advantage of the Mango data mapper over object relational mapping tools.In our payment system, we use mango to build a distributed payment order systemthat can handle 120000+ payment order per second.
Documentation is athttp://mango.jfaster.org/
Requires JDK 1.8 or higher.
The most recent release is Mango 2.0.1, released Jul 14, 2020.
To add a dependency on Mango using Maven, use the following:
<dependency> <groupId>org.jfaster</groupId> <artifactId>mango</artifactId> <version>2.0.1</version></dependency>
To add a dependency using Gradle:
dependencies { compile 'org.jfaster:mango:2.0.1'}
Microbenchmarks were created to isolate and measure the overhead of ORM framework using theJMH microbenchmark framework developed by the Oracle JVM performance team. You can checkout theMango benchmark project for details and review/run the benchmarks yourself.
- Jdbc means using only native jdbc API, do not use any ORM frameworks.
- OneQuery Cycle is defined as single
select id, name, age from user where id = ?
. - OneUpdate Cycle is defined as single
update user set age = ? where id = ?
.
2 Java options: -server -XX:+AggressiveOpts -XX:+UseFastAccessorMethods -Xms1096m -Xmx1096m
About
Distributed ORM Framework for Java