Comments (4)
Also attempted to use async module from caolan, but concurrency seems not to work properly.
experimental implementation:
// setup concurrency
const queue = async.queue(addAllNodes, 10)
queue.drain = () => {
console.log("finished")
// after getting all nodes, setup another concurrency for all links
const queue2 = async.queue(addAllLinks, 10)
queue2.drain = () => {
console.log("finished 2")
renderGraph()
}
// attempting to queue json.links, which are the links to be added to the graph AFTER adding the nodes to the graph
queue2.push(json.links)
}
// attempting to queue json.nodes which are basically the nodes I want to add first to the graph
queue.push(json.nodes)
It basically runs equal to the implementation with no concurrency handling.
from patlas.
This is still unsolved, but refactored it to use promise like structure and not async modules related functions (which were using to many resources). Check this commit
from patlas.
may be now we can use bluebird concorrency since we have migrated to yarn + webpack installation type.
from patlas.
This issue was fixed in this commit.
from patlas.
Related Issues (20)
- add export / import project HOT 2
- Add node and link multiple colapse options
- Enable multiple filters
- Issue with mapping sample
- After filtering cannot use size ratio menu
- Merge mashDistOutputJson JSON files into one for each sample HOT 2
- Add shared hashes between sequences to link information
- Bug with length plot label
- Allow real accession numbers through API
- Handle legend sliders when some filter is absent
- Add a script to generate the index files required for pipelines HOT 1
- Add views to receive results
- remove legacy scripts
- Update docs for plasmid popup
- Refactor jsons that populate the dropdowns.
- Implement log of additions and deletions from db HOT 4
- Replace multiple modals by steppers?
- Add documentation on how to run FlowCraft HOT 1
- Add download csv for bacmet HOT 1
- the website is down HOT 2
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 patlas.