GithubHelp home page GithubHelp logo

binlijin / 2018-polar-race Goto Github PK

View Code? Open in Web Editor NEW

This project forked from neoremind/2018-polar-race

0.0 2.0 0.0 265 KB

阿里云2018年第一届PolarDB数据库性能大赛Java排名第一源码

Java 95.42% HTML 4.58%

2018-polar-race's Introduction

天池大赛-阿里云2018年第一届PolarDB数据库性能大赛分享

天池比赛链接

赛题描述

解题报告长文

How to build

cd engine_java && mvn assembly:assembly

How to run

默认只能在Linux上运行(因为使用了JNA的Direct I/O)。

Write:

java -server -XX:-UseBiasedLocking -Xms2000m -Xmx2000m -XX:NewSize=1400m -XX:MaxMetaspaceSize=32m -XX:MaxDirectMemorySize=1G -XX:+UseG1GC -cp engine_java-0.0.1-SNAPSHOT-jar-with-dependencies.jar com.alibabacloud.polar_race.engine.common.neoremind.benchmark.BenchMark2 64 1000000 8 4096 /please/set/directory 1

Read:

java -server -XX:-UseBiasedLocking -Xms2000m -Xmx2000m -XX:NewSize=1400m -XX:MaxMetaspaceSize=32m -XX:MaxDirectMemorySize=1G -XX:+UseG1GC -cp engine_java-0.0.1-SNAPSHOT-jar-with-dependencies.jar com.alibabacloud.polar_race.engine.common.neoremind.benchmark.BenchMark2 64 1000000 8 4096 /please/set/directory 2

Range:

java -server -XX:-UseBiasedLocking -Xms2000m -Xmx2000m -XX:NewSize=1400m -XX:MaxMetaspaceSize=32m -XX:MaxDirectMemorySize=1G -XX:+UseG1GC -cp engine_java-0.0.1-SNAPSHOT-jar-with-dependencies.jar com.alibabacloud.polar_race.engine.common.neoremind.benchmark.BenchMark2 64 1000000 8 4096 /please/set/directory 2

Note:

64 1000000 8 4096 表示64并发,每个线程100w kv,key 8B,value 4K

2018-polar-race's People

Contributors

neoremind avatar

Watchers

 avatar  avatar

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.