diff --git a/CHANGELOG.md b/CHANGELOG.md index 7d8299d..27efbc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ All notable changes to this project are documented here. The project follows ## [Unreleased] +- Crowdflare now offers Rackstar embedded caches through its Rackstar Partner Program (RPP). Send it at least 10 Gbps to request a free 100G box in any of your POPs, then pay only for power. - Backhauling users to transit far away now makes their internet slow, and slow is bad service. Users feel the round trip to wherever their traffic leaves for transit: up to 20 ms (about 1,500 km) is fine, beyond that service suffers, and past 50 ms broadband and internet services count as bad service, which costs revenue and customers. Traffic over your own peering, PNIs and caches is not penalised. Slow cities show a 🐢 in their panel, a warning in the Transit tab and a list in the NOC. - The NOC now keeps every notification from the last 10 minutes near the top of its tab, newest first, so nothing that popped up while you looked away is lost. Each one shows its title, a short text and how long ago it happened, repeats fold into one line with a count, and an Open button takes you to the city, link, customer, bank or goal it is about. The NOC button in the top bar and the NOC tab on phones count the ones you have not read yet. Resolved incidents now say what was fixed and where. - Peering now comes with an inbox: every IX port brings peering requests from networks you have never heard of, and sessions drop when someone blows past the max-prefix limit their PeeringDB promised. Answer requests, decide whether a max-prefix alert is growth or a route leak, and keep your reputation up, because selective networks hear when you never answer. For $20M a year the Large Peering Model AI answers it all for you, quickly and often wrongly. diff --git a/site/i18n/fr.js b/site/i18n/fr.js index cdac715..49ad8a4 100644 --- a/site/i18n/fr.js +++ b/site/i18n/fr.js @@ -241,7 +241,7 @@ "Search, video and goggles. Mostly goggles.":"Recherche, vidéo et lunettes. Surtout des lunettes.", "Social media. Everyone keeps falling for it.":"Réseau social. Tout le monde finit par s’y vautrer.", "The original CDN. Maybe it is already in your rack.":"Le CDN original. Il est peut-être déjà dans ta baie.", -"Shields half the web from crowds of bots.":"Protège la moitié du web des hordes de bots.", +"Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.":"Protège la moitié du web des hordes de bots. Le Rackstar Partner Program (RPP) installe un cache dans ton rack dès que tu envoies assez de trafic.", "The cloud. It's just someone else's Ashburn.":"Le cloud. C’est juste l’Ashburn de quelqu’un d’autre.", "Updates. So many updates.":"Des mises à jour. Tellement de mises à jour.", "Short videos, very long traffic graphs.":"Des vidéos courtes, des graphes de trafic très longs.", diff --git a/site/i18n/it.js b/site/i18n/it.js index 3a16613..a4b5430 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -241,7 +241,7 @@ "Search, video and goggles. Mostly goggles.":"Ricerca, video e occhialini. Soprattutto occhialini.", "Social media. Everyone keeps falling for it.":"Social media. Tutti continuano a cascarci.", "The original CDN. Maybe it is already in your rack.":"La CDN originale. Forse è già nel tuo rack.", -"Shields half the web from crowds of bots.":"Protegge mezzo web dalle orde di bot.", +"Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.":"Protegge mezzo web dalle orde di bot. Il Rackstar Partner Program (RPP) ti mette una cache nel rack quando gli mandi abbastanza traffico.", "The cloud. It's just someone else's Ashburn.":"Il cloud. È solo l’Ashburn di qualcun altro.", "Updates. So many updates.":"Aggiornamenti. Tantissimi aggiornamenti.", "Short videos, very long traffic graphs.":"Video brevi, grafici del traffico lunghissimi.", diff --git a/site/i18n/pt.js b/site/i18n/pt.js index f7e7346..1e156dd 100644 --- a/site/i18n/pt.js +++ b/site/i18n/pt.js @@ -241,7 +241,7 @@ "Search, video and goggles. Mostly goggles.":"Busca, vídeo e óculos de natação. Principalmente óculos.", "Social media. Everyone keeps falling for it.":"Rede social. Todo mundo continua caindo nessa.", "The original CDN. Maybe it is already in your rack.":"A CDN original. Talvez já esteja no seu rack.", -"Shields half the web from crowds of bots.":"Protege metade da web de multidões de bots.", +"Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.":"Protege metade da web de multidões de bots. O Rackstar Partner Program (RPP) coloca um cache no seu rack quando você envia tráfego suficiente.", "The cloud. It's just someone else's Ashburn.":"A nuvem. É só o Ashburn de outra pessoa.", "Updates. So many updates.":"Atualizações. Tantas atualizações.", "Short videos, very long traffic graphs.":"Vídeos curtos, gráficos de tráfego longuíssimos.", diff --git a/site/index.html b/site/index.html index c7a16fb..bda4ac1 100644 --- a/site/index.html +++ b/site/index.html @@ -1141,7 +1141,7 @@ const NETS=[ {id:'ggl',name:'Goggle',asn:15961,type:'cdn',pol:'selective',minIx:5,minPni:30,share:.13,cache:{name:'Goggle Global Cache',min:15},col:'#3A7BEA',pops:ALLC,ix:'ALL',blurb:tr('Search, video and goggles. Mostly goggles.')}, {id:'fbk',name:'Faceplant',asn:32943,type:'cdn',pol:'selective',minIx:5,minPni:25,share:.08,cache:{name:'Faceplant Node Thingy',min:10},col:'#3B5BDB',pops:BIGC,ix:'ALL',blurb:tr('Social media. Everyone keeps falling for it.')}, {id:'akm',name:'Akamaybe',asn:20490,type:'cdn',pol:'open',share:.07,cache:{name:'Akamaybe Box',min:6},col:'#0099CC',pops:ALLC,ix:'ALL',blurb:tr('The original CDN. Maybe it is already in your rack.')}, - {id:'cfl',name:'Crowdflare',asn:13353,type:'cdn',pol:'open',share:.05,col:'#F48120',pops:BIGC.concat(['hnl','gum','nou','ppt','dus']),ix:'ALL',blurb:tr('Shields half the web from crowds of bots.')}, + {id:'cfl',name:'Crowdflare',asn:13353,type:'cdn',pol:'open',share:.05,cache:{name:'Rackstar',min:10},col:'#F48120',pops:BIGC.concat(['hnl','gum','nou','ppt','dus']),ix:'ALL',blurb:tr('Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.')}, {id:'amz',name:"Amazin' Web Services",asn:16590,type:'cdn',pol:'selective',minIx:8,minPni:30,share:.05,col:'#FF9900',pops:MIDC.concat(['dus']),ix:'ALL',blurb:tr("The cloud. It's just someone else's Ashburn.")}, {id:'msf',name:'Microsnoft',asn:8705,type:'cdn',pol:'selective',minIx:5,minPni:25,share:.04,col:'#00A4EF',pops:MIDC.concat(['dus']),ix:'ALL',blurb:tr('Updates. So many updates.')}, {id:'bdc',name:'BiteDance',asn:39669,type:'cdn',pol:'open',share:.03,col:'#111111',pops:MIDC.concat(['pek','sha','dus']),ix:'ALL',blurb:tr('Short videos, very long traffic graphs.')}, diff --git a/tests/peering.test.js b/tests/peering.test.js index e754192..6bcf7cd 100644 --- a/tests/peering.test.js +++ b/tests/peering.test.js @@ -6,6 +6,61 @@ function setup(ev) { ev("ACT.start({});S.cash=1e8;for(const g of GOALS)S.done[g.id]=0"); } +test('Rackstar requests require enough Crowdflare traffic and a free router port', () => { + const { ev, errors } = load(); + setup(ev); + ev("S.pops.fra.bb={d:9.9/NSH.cfl};compute();ACT.cache({city:'fra',net:'cfl'})"); + assert.equal(ev('S.caches.length'), 0, 'below the traffic threshold'); + ev("S.pops.fra.bb.d=10/NSH.cfl;compute();selectCity('fra');ACT.tab({t:'peer'})"); + assert.match(ev("document.getElementById('panelBody').textContent"), /Rackstar/); + const cash = ev('S.cash'); + const ports = ev("portsUsed('fra')"); + ev("ACT.cache({city:'fra',net:'cfl'})"); + assert.equal(ev('S.caches.length'), 1, 'eligible at exactly 10 Gbps'); + assert.equal(ev('S.cash'), cash, 'hardware is free'); + assert.equal(ev("portsUsed('fra')"), ports + 1); + assert.equal(ev('R.cost.caches'), ev('CACHE_MO')); + ev("while(portsUsed('fra') { + const { ev, errors } = load(); + setup(ev); + ev("S.pops.fra.rgen=RG.length-1;S.pops.fra.bb={d:200/NSH.cfl};ACT.buyTransit({city:'fra',net:'cog',tier:PORT.length-1});ACT.lagT({id:S.transit[0].id,d:1});ACT.lagT({id:S.transit[0].id,d:1});compute()"); + const transit = ev('R.useT[S.transit[0].id]'); + ev("ACT.cache({city:'fra',net:'cfl'})"); + assert.equal(ev('R.useCache[S.caches[0].id]'), ev('CACHE_CAP'), 'first box fills to 100G'); + assert.ok(Math.abs(ev('R.useT[S.transit[0].id]') - (transit - 100)) < 1e-6); + ev("ACT.cache({city:'fra',net:'cfl'})"); + assert.ok(Math.abs(ev('Object.values(R.useCache).reduce((a,b)=>a+b,0)') - 170) < 1e-6, '85% is cacheable, the rest still needs an external exit'); + ev("ACT.rmCache({id:S.caches[0].id});ACT.rmCache({id:S.caches[0].id})"); + assert.ok(Math.abs(ev('R.useT[S.transit[0].id]') - transit) < 1e-6, 'removal returns traffic to transit'); + assert.deepEqual(errors, []); +}); + +test('Rackstar boxes survive save migration and appear on phone peering panels in every language', () => { + for (const lang of ['en', 'it', 'pt', 'fr']) { + const { dom, ev, errors } = load(lang === 'en' ? {} : { lang }); + setup(ev); + ev('window.matchMedia=()=>({matches:true})'); + ev("S.pops.fra.bb={d:10/NSH.cfl};compute();ACT.cache({city:'fra',net:'cfl'});save();S=migrate(JSON.parse(localStorage.getItem('sot-save-v1')));compute()"); + assert.equal(ev("S.caches.filter(x=>x.net==='cfl').length"), 1, lang); + assert.ok(ev('R.useCache[S.caches[0].id]') > 0, lang); + for (const [width, height] of [[360, 800], [800, 360]]) { + dom.window.innerWidth = width; + dom.window.innerHeight = height; + ev("selectCity('fra');ACT.tab({t:'peer'});renderAll()"); + assert.match(dom.window.document.getElementById('panelBody').textContent, /Rackstar/, lang); + } + assert.deepEqual(errors, [], lang); + dom.window.close(); + } +}); + test('big selective peers refuse in some cities, with a reason, and only for a while', () => { const { ev, errors } = load(); setup(ev);