Comments (6)
from infra.
Yes, it is nice that the local cache is so fast and remote caches are going to be quite slow. However, the three-in-four chance of a cache miss might lead to slower build times on average compared to remote caching. I’ll gather some build time data from the registry to compare these options.
There also may be other options to increase the cache hit likelihood. Maybe we can define affinity for projects to agents. Or maybe we can asynchronously distribute the master build cache.
from infra.
I’ll gather some build time data
Yes please. I think that if your caches are so volatile that you end up with a lot of work on a cache miss -- even when the cache state starts from master
-- something is fishy about your caching strategy.
Maybe we can define affinity for projects to agents.
Not sure. Affinity of branch builds to where they were scheduled previously might be nice, but that assumes mostly-idle agents. I don't think we can influence this anyway -- the scheduling decision is made on buildkite's servers.
Or maybe we can asynchronously distribute the master build cache.
The master build cache is agent-scoped because there is no guarantee that builds are strictly sequential. We could lift this restriction if we'd adopt a bors-style model.
from infra.
[the buildkite-agent binary] needs the agent token, which is a security concern
Actually, that seems less of an issue than I thought. See here for what an agent can do. One can mess with the current pipeline (which is fine), start a nested agent (which is silly), or run a job (which is also silly). Wdyt?
from infra.
[the buildkite-agent binary] needs the agent token, which is a security concern
Actually, that seems less of an issue than I thought. See here for what an agent can do. One can mess with the current pipeline (which is fine), start a nested agent (which is silly), or run a job (which is also silly). Wdyt?
Are you suggesting using buildkite artifact
for caching? This is something we could investigate.
from infra.
This has been solved for the master cache volume. Because of snapshotting this also reduces the issue for branch builds.
from infra.
Related Issues (20)
- Alert when an invalid block is being proposed HOT 1
- Validators should store chain data on persistent volume
- Alert when nodes are stuck syncing
- RPC node deployment should allow fast sync with CPU burst
- Alert when Too many invalid blocks are being proposed
- Identify our nodes on telemetry.polkadot.io HOT 1
- Expose devnet RPC at rpc.devnet.radicle.network
- Build agent instance distro and package distro don’t match
- Cache volumes are sometimes created without build_cache label HOT 1
- Scale down ffnet
- Create registry artifacts GCS bucket with terraform
- ci: Switch to `radicle-services` infra HOT 5
- Set up alerting for ffnet health HOT 9
- Use tag names to easily identify build artifacts HOT 1
- Alert when a node is not connected to peers
- Alert when blocks are mined too quickly HOT 5
- Alert when Too many invalid transactions are being proposed HOT 2
- Fix nodes being down alerts spam HOT 3
- Fix nodes being mined too slowly spam HOT 4
- Historical data from telemetry.polkadot.io
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 infra.