Comments (3)
Measure RAM size and performance for a comparison. Caching will result in some faster responses, but slows down every request and will increase ram usage.
from cutsolver.
It would also be nice to get a "/cached" path to debug successful caching and offer "offline" solutions
Remember to add a "cached" field to response object
from cutsolver.
Problem: Uvicorn will spawn different processes in parallel, which will have difficulties keeping a shared cache. Redis and other external solutions might be nice, but have huge overhead. Might be able to cache requests in middleware before passing them to backend
from cutsolver.
Related Issues (20)
- Autolabel versions HOT 8
- evaluate black formatting HOT 1
- Calculate code coverage HOT 3
- Fix Autobuild/Better build script HOT 5
- Describe Example deployment HOT 11
- Find permanent hosting HOT 8
- Extend CutSolver to accept multiple stock lengths/number of stock HOT 5
- Not optimized result HOT 4
- Coverage and Docker image tests
- Fix Build tagging HOT 4
- [Bug] Zero cutting width not working with FFD HOT 4
- [Bug] Bruteforce applies cuts a second time HOT 5
- Allow items with a length equal to stock length HOT 2
- Implement bruteforce with more native solution HOT 1
- Strip duplicates from bruteforce solver HOT 3
- Test for stable results
- Weight equally good solutions by some metric HOT 5
- Pass constants/thresholds by CLI
- group equal required and stocks HOT 2
- Freeze (100% cpu usage) on solve 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 cutsolver.