kffl / pinot-client-node Goto Github PK
View Code? Open in Web Editor NEWNode.js client library for Apache Pinot :wine_glass:, a realtime distributed OLAP datastore
Home Page: https://kffl.github.io/pinot-client-node/
License: Apache License 2.0
Node.js client library for Apache Pinot :wine_glass:, a realtime distributed OLAP datastore
Home Page: https://kffl.github.io/pinot-client-node/
License: Apache License 2.0
The current version of the library is missing the functionality allowing for defining custom headers (i.e. basic auth) to be added to controller and broker HTTP requests.
Pinot supports multi-stage query engine now:
https://docs.pinot.apache.org/developers/advanced/v2-multi-stage-query-engine
Hi.
I see that in current implementation under the hood axios
client is used. However since this lib is a client to DB, the performance could be critical.
There's a http client https://github.com/nodejs/undici that doesn't rely on node's http implementation which make it faster. Also it likely become a underlying implementation of fetch
in future versions of node.
I see that you're passing in most cases http request function as a dependency, so maybe it worth to allow passing custom request function to connection-factory.ts
functions as well? Or just replace axios with undici by default to achieve maximum performance?
As of now, a single console.warn
is used in one failure scenario (controller-based broker selector failing the periodically triggered update method). Additional logger invocations could be added in order to make potential debugging more convenient. On top of that, console
should be replaced with a user-provided logger conforming to the standard Log4j interface (i.e. pino, winston or log4js).
As of now, controller-based broker selector attempts to update its table-to-broker mapping every 1000ms. An option to specify custom interval could be added.
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.