Comments (6)
@juliangruber triaging issues, can we close this one?
from l1-node.
I ran ./node build
once to cover the initial setup cost, then I switched to tethering to simulate slow internet, then ran it again to measured the iteration speed:
./node build 0.26s user 0.16s system 8% cpu 4.799 total
5s is by no means terrible, but also not great. Depending on the internet speed it, would be awesome if it could build without making any network requests.
from l1-node.
This is mostly decided by docker itself and its caching. If there's a new image then everything gets rebuilt. You'd need a pass-through cache registry that works offline. What are you trying to test offline? You can run the shim totally offline if you have the npm dependencies installed.
from l1-node.
I was working on the L1 at that time, being on slow internet was a side effect, I didn't mean to test it specifically. Running the shim is half the story, because quite a lot of logic lives inside nginx.
from l1-node.
@juliangruber this is really up to docker, you can't force it offline, how would you like to proceed with this issue?
from l1-node.
Let's close it for now, since there are other far more important issues.
Just thinking out loud, it could help if you can build docker images without fetching any dependencies from the internet, and only updating what you changed locally
from l1-node.
Related Issues (20)
- return 410 gone instead of 403 forbidden for blocked cids HOT 1
- [PROD ISSUE] Increased error rate seen from network since 9/11
- Geolocation fix
- Geolocation fix
- Geolocation fix HOT 1
- [METERING] Extract JWT in each request and attach to L1 ingestor log submission HOT 3
- Geolocation fix HOT 1
- Geolocation fix HOT 1
- Egress Increase since 10/2
- once auth ships, reject all non-authorized requests HOT 2
- Geolocation fix HOT 6
- Geolocation fix HOT 1
- Temporarily remove requirement for auth on all requests
- add sentry to collect and report errors
- Geolocation fix
- Geolocation fix HOT 3
- Geolocation fix HOT 1
- Split built into steps and cache them immediately in case build fails HOT 1
- Switching node id causes nginx to still send old one HOT 2
- `test` tag docker image fails to pull on arch `linux/amd64`
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 l1-node.