dream11 / vertx-aerospike-client Goto Github PK
View Code? Open in Web Editor NEWNon-Blocking Rxified Vertx aerospike client
Home Page: https://dream11.github.io/vertx-aerospike-client/
License: MIT License
Non-Blocking Rxified Vertx aerospike client
Home Page: https://dream11.github.io/vertx-aerospike-client/
License: MIT License
https://github.com/dream11/vertx-aerospike-client/blob/master/src/test/java/io/d11/aerospike/AerospikeAddTest.java#L6
io.d11.reactivex.aerospike.client.AerospikeClient
is not resolved in tests. It also doesn't appear to be a part of the project.
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
On trying to create a new shared instance of AerospikeClient after closing, new instance won't be created and the old client instance will be returned. close() should also remove instance from shared data
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.