Comments (8)
@zy4 Many jobs are stuck in the 'Generating output' state because of this issue. For now, I'll display a warning in the process log, when the total size of all JSONs belonging to a job is close to 16MB.
from toolkit.
Going to work on it. But there would be an even simpler solution. Why not storing json files in the job directory?
from toolkit.
storing the json in the database does only make sense if you want to get only parts out of it. but as far as I see, the json comes always in one piece.
from toolkit.
I have also been thinking the same. I guess even pagination is not going to be affected. We never seem to read the JSONs in parts. If we would only store them locally, GridFS is not even required
from toolkit.
Let's stick with GridFS, it gives us more options for future lazy loading features and indexing documents.
from toolkit.
I agree. Gives us more flexibility.
from toolkit.
Many jobs in the course crashed because the output JSONs were too big to be written into the database; we should perhaps switch to not storing them in the DB.
from toolkit.
I recommend just to store them as json files in the jobfolder. Having them in GridFS is of no advantage because the file content is not indexed. The only advantage would be to allow for easier database migrations but then we should store the whole jobfolder in GridFS which is bad for debugging. And also we never migrate the database. So I will just close this issue and reopen a new one.
from toolkit.
Related Issues (20)
- Search tools: links in the Hitlist sections are broken HOT 2
- Migrate to Typed Actors HOT 1
- Migrate CI to GitHub Actions
- Update MongoDB to 4.4 HOT 1
- Update Play to 2.8.2 HOT 1
- Use BSONHandlers everywhere
- Split Docker Images HOT 2
- Update TypeScript from version 3 to 4
- Walkthrough/Tour HOT 3
- Update ReactiveMongo
- Job list inconsistency
- "Wrap Seqs" is broken on the results page of all search tools.
- Job Deletion Issues HOT 2
- Investigate Vue 3 HOT 6
- maxmind stuff is most likely outdated HOT 3
- web tool HHblits not giving the same results as command line HHblits
- HHomp Help page shows variable names instead of content HOT 3
- Improvise auto-filling of last used parameters
- ClustalAlignment and FastaAlignment tabs: 'Select All' + 'Forward Selected' doesn't forward all sequences HOT 2
- The E-mail notification switch enables itself after a job has been submitted
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 toolkit.