Giter Club home page Giter Club logo

vertx-aerospike-client's People

Contributors

akshaypatidar1999 avatar chouguleds avatar dc-dream11 avatar kkaran097 avatar srijan02420 avatar surajgour-d11 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vertx-aerospike-client's Issues

Share vertx's own eventLoopGroup instead of creating a new one

Summary

new EpollEventLoopGroup(size) : new NioEventLoopGroup(size);

Instead of creating a new eventLoopGroup exclusively for the client, should we be using vert'x own eventLoopGroup instead? I'm guessing it should improve performance as per
https://docs.aerospike.com/docs/client/java/usage/async/eventloop.html#create-netty-event-loops and due to the fact that we'll be creating fewer threads.

private EventLoopGroup getEventLoopGroup(int size) { return OS.contains("linux") || OS.contains("unix") ? new EpollEventLoopGroup(size) : new NioEventLoopGroup(size); }

to

private EventLoopGroup getEventLoopGroup(Vertx vertx) { return vertx.nettyEventLoopGroup() }

The listner will no longer have to use vertx.runOnContext() since the onRecord part will already be running on vertx eventloop

core code

  • implement all operation listeners
  • proper handling of policy util
  • config handling with objects and use default configs provided by aerospike
  • give the option to create shared and nonshared client
  • create a separate interface for the client and functions
  • description of every public method
  • Proper exception handling, don't suppress the parent exception

ci/cd setup

  • github actions to auto release
  • maven publish on master merge
  • version up commit on master merge

tests

  • junit tests
  • integration test with docker for aerospike

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.