Lambda Bazaar: a capacity market for your dark fiber
A new NOC tab sells spectrum, managed 100G, 400G, 800G and 1.6T waves, and dark pair IRUs on every route you hold fiber on. Demand per route moves every day (its own cycle, noise, and news: fiber cuts, hyperscalers, AI clusters, rivals lighting glass, mergers) and grows about 15% a year, with buyers moving to bigger waves over the years and carriers on your glass asking to move up a size. You choose what to keep back for your own traffic, from what demand the broker lists, and the price it never sells below. Managed waves come out of capacity you lit; prices follow the fiber's cost, how hot and how full the route is, and its latency (400G at 2.7x 100G on land, 3.8x subsea). A Cable broker pays 3% instead of 10% and sees each route's forecast and routes worth building. Rule F5 now bounds sales by the moving market; new rule F8 covers managed waves. The route fuzz skips dashboard tabs main does not have yet.
This commit is contained in:
parent
e6b5464352
commit
2f738dceda
34 changed files with 891 additions and 56 deletions
|
|
@ -16,6 +16,8 @@ test('a route\'s market follows the eyeballs at both ends, and a landing town co
|
|||
assert.ok(ev("brMarket('nyc','bde')") > ev("brMarket('nyc','gdx')"));
|
||||
});
|
||||
|
||||
// The market moves (37-fiber-market.js): demand has its own cycle and grows, so days pass here; at its hottest a route
|
||||
// wants CM_HMAX times its usual spectrum.
|
||||
test('a listing sells over time, never past the market, and rent from a road to nowhere stays small', () => {
|
||||
const { ev, errors } = load();
|
||||
start(ev);
|
||||
|
|
@ -23,11 +25,11 @@ test('a listing sells over time, never past the market, and rent from a road to
|
|||
fiber(ev, 'far', 'jed', 'gdx', 9089);
|
||||
ev("__reseed(7);ACT.listFiber({id:'big',w:60});ACT.listFiber({id:'far',w:60})");
|
||||
assert.equal(ev("S.biz.length"), 0, 'nothing sells the moment it is listed');
|
||||
ev('for(let d=0;d<720;d++)brTick()');
|
||||
ev('for(let d=0;d<720;d++){S.day++;brTick();}');
|
||||
const sold = (id) => ev(`S.biz.filter(b=>b.link==='${id}').reduce((a,b)=>a+(b.slots||0),0)`);
|
||||
assert.ok(sold('big') >= 3, `Frankfurt–Amsterdam sold ${sold('big')}`);
|
||||
assert.ok(sold('big') <= ev("brMarket('fra','ams')"), 'never more than the route wants');
|
||||
assert.equal(sold('far'), 1, 'Jeddah–Magadan: one wave, then the market is full');
|
||||
assert.ok(sold('big') <= ev("brMarket('fra','ams')*0.5*CM_HMAX*Math.pow(cmGrowth(S.day),0.7)"), 'never more than the route wants at its hottest');
|
||||
assert.ok(sold('far') >= 1 && sold('far') <= 2, `Jeddah–Magadan: a wave or two, then the market is full (${sold('far')})`);
|
||||
assert.equal(ev("brFree(S.links.find(l=>l.id==='far'))"), 0);
|
||||
// random alien-wave offers respect the market too
|
||||
ev("S.offers=[];for(let i=0;i<400;i++)spawnOffer()");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue