Comments (4)
@tgruben Yep, I can take a look.
from featurebase.
@tgruben Did the previous implementation do a refetch? From what I see in 6822dd9 it does a TopN()
to fetch N*2
results from the nodes trims that down to N
results.
This is the only change required for N*2
: master...benbjohnson:top-n-2
I could see doing a min N
of 10
or so just to make sure that small N
s always fetch a large enough resultset.
Here are the lines from the previous implementation I was referencing:
https://github.com/umbel/pilosa/blob/6822dd99b5245195dbe45fbe9cb1718fdfb51a2f/core/topn.go#L174
https://github.com/umbel/pilosa/blob/6822dd99b5245195dbe45fbe9cb1718fdfb51a2f/core/topn.go#L190
from featurebase.
Yes,but most of the code that does the fill in was located in
core/query.go if you look at TopNPackage and check_pair around line 252
it is basically the results of the first scatter
That TopN package gets the first batch and then the check pair sends out
the requests for the fill in, so it was a little more complicated that just
doubling the request
Does that code make sense or do I need to expand..that one function is
basically the "combine results from all queries part.
(CatQueryStepHandler)
-Todd
On Mon, Feb 29, 2016 at 5:30 PM, Ben Johnson [email protected]
wrote:
@tgruben https://github.com/tgruben Did the previous implementation do
a refetch? From what I see in 6822dd9
6822dd9
it does a TopN() to fetch N*2 results from the nodes trims that down to N
results.This is the only change required for N*2: master...benbjohnson:top-n-2
master...benbjohnson:top-n-2I could see doing a min N of 10 or so just to make sure that small Ns
always fetch a large enough resultset.Here are the lines from the previous implementation I was referencing:
https://github.com/umbel/pilosa/blob/6822dd99b5245195dbe45fbe9cb1718fdfb51a2f/core/topn.go#L174
https://github.com/umbel/pilosa/blob/6822dd99b5245195dbe45fbe9cb1718fdfb51a2f/core/topn.go#L190
—
Reply to this email directly or view it on GitHub
#57 (comment).
from featurebase.
@tgruben Yep, that make sense. I missed that refetching part the first time around. I'll get that added in.
from featurebase.
Related Issues (20)
- Add `govulncheck` to automation
- go fuzz testing
- Swap Molecula logo to FeatureBase in UI HOT 1
- Add Safari Support for Web UI
- Top level folder structure: cmd, pkg, internal
- Release workflow should build executables and tarballs HOT 1
- Convert shardwidth to code constant
- Rename the IDK binaries
- Enable CI for Lattice Builds
- Ensure Lattice builds with latest NodeJS v18 HOT 2
- About release version scheme HOT 4
- Rename "master" branch to "main" HOT 2
- Add OS license HOT 1
- Vanilla docker compose fails with nr.dev required namespace not available.
- Raspberry Pi4 Build HOT 4
- Windows HOT 3
- Nats ingestion HOT 3
- running server: opening server: starting DisCo: joining an existing cluster is unsupported HOT 2
- Timeunit ms doesn't seem to be functioning correctly
- low cardinality sample doc not working as expected HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from featurebase.