Coder Social home page Coder Social logo

cortex-peripherals's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar dginev avatar

Watchers

 avatar  avatar  avatar

cortex-peripherals's Issues

Robustness in out-of-memory circumstances

Some jobs are so large that /dev/shm potentially overflows. Other jobs have dirty dies, which leave files residing in /dev/shm indefinitely.

To mend that I intend to:

  • Detect OOM conditions
  • Before accepting new jobs, check for /dev/shm worker files older than 2*timeout_limit and remove them
  • In cases where we have less than 50MB available, don't accept new jobs and sleep a minute, hoping the situation improves (or as the files age, that we can delete them).

Basic Reports as analysis services

A simple proof-of-concept analysis service for arXiv would annotate each entry with its storage statistics:

  • file size
  • number of files in job
  • line count of tex files
  • custom .sty and .cls files

each of which can be an annotation. It would be nice to create reports from these metrics for the thesis document, to e.g. motivate the cortex dispatcher design (which has taken file size into account, among others)

Benchmark service

I want to deploy a benchmark service, timed centrally by CorTeX as a "run", which:

  • Requests the imported corpus format
  • Receives the payload, unpacks it in a RAM disk (/dev/shm), then erases the unpacked data
  • Returns a generic success response

While there will inevitably be variance in bandwidth and various resource loads, such a timed run over a large corpus would provide a good estimate of the overhead cost of using the CorTeX flow.

Depends on implementing dginev/CorTeX#13

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.