Add Korea's sender-pays market, Sparkly Seabone as a Tier 1, and release 1.12.0
Seoul transit costs four times the usual price and the three Korean incumbents only peer over paid PNIs billed per gigabit sent. Glitch can leave Korea and Faceplant can reroute it via Hong Kong. Adds the Gangnam Style Peering scenario and the Sender Pays badge. Sparkly Seabone becomes a Tier 1 across the Mediterranean, Europe and the Americas; older saves keep the five Tier 1s they were playing for. A wave supplier's optical control plane can melt down and take every leased wave in a region dark at once. Closes #23
This commit is contained in:
parent
5e0ee53617
commit
cc28dfeb74
8 changed files with 127 additions and 21 deletions
15
CHANGELOG.md
15
CHANGELOG.md
|
|
@ -6,12 +6,25 @@ All notable changes to this project are documented here. The project follows
|
|||
|
||||
## [Unreleased]
|
||||
|
||||
## [1.12.0] — 2026-10-24
|
||||
|
||||
- Korea's "sender pays" market. Transit into Seoul costs four times the
|
||||
usual price, and the three incumbents, Kay-Tea, SK Broadbandit and LG
|
||||
You-Pay-Plus, only peer over paid PNIs billed per gigabit you send them.
|
||||
Glitch may quit Korea over the fees, Faceplant may quietly reroute Korean
|
||||
users via Hong Kong, and the new Gangnam Style Peering scenario starts you
|
||||
in Seoul. Collect all three PNIs for the Sender Pays badge.
|
||||
- Sparkly Seabone is a Tier 1 now (#23), with a backbone across the
|
||||
Mediterranean, Europe and the Americas. New games need a PNI with all six
|
||||
Tier 1s to go transit-free; saves from before this release keep the five.
|
||||
- Optical control plane meltdown: one bad update at your wave supplier, and
|
||||
every wave you lease from it in a region goes dark at once. Your own dark
|
||||
fiber carries on.
|
||||
- New ways for things to go subtly wrong: LACP trouble (hash polarisation,
|
||||
timer mismatches, a member in the wrong switch, min-links set a little too
|
||||
keen), partial packet loss from dirty connectors, CRC errors and
|
||||
microbursts (deep-buffer routers shrug those off), and PMTUD black holes
|
||||
where pages to one network load halfway and stop.
|
||||
|
||||
- The top bar fits itself to the screen in every language: when labels get
|
||||
long, the less important readouts step aside instead of wrapping over the
|
||||
side panels.
|
||||
|
|
|
|||
4
package-lock.json
generated
4
package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "seriesoftubes",
|
||||
"version": "1.11.0",
|
||||
"version": "1.12.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "seriesoftubes",
|
||||
"version": "1.11.0",
|
||||
"version": "1.12.0",
|
||||
"devDependencies": {
|
||||
"jsdom": "24.1.3"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "seriesoftubes",
|
||||
"version": "1.11.0",
|
||||
"version": "1.12.0",
|
||||
"description": "A cartoon browser game about building the internet.",
|
||||
"private": true,
|
||||
"homepage": "https://seriesoftub.es/",
|
||||
|
|
|
|||
|
|
@ -100,7 +100,6 @@
|
|||
"Almost every Europe–Asia cable crosses Egypt. The tolls are legendary.":"Quasi ogni cavo Europa–Asia attraversa l’Egitto. I pedaggi sono leggendari.",
|
||||
"Cars, engineers and Kehrwoche: every rack is swept on a strict rota. Nobody sells transit here, there is only the Spätzle-IX. Peer locally or haul your traffic to Frankfurt.":"Auto, ingegneri e Kehrwoche: ogni rack viene spazzato secondo turni rigorosi. Qui nessuno vende transit, c’è solo lo Spätzle-IX. Fai peering in loco o porta il tuo traffico fino a Frankfurt.",
|
||||
"Asia's hub. Expensive, humid, very well connected.":"L’hub dell’Asia. Caro, umido, collegatissimo.",
|
||||
"Some of the fastest home broadband on the planet. The eyeballs here expect a lot.":"Alcune delle connessioni domestiche più veloci del pianeta. Gli eyeball qui pretendono molto.",
|
||||
"Mainland China. Behind the Great Firewall, with its own rules for foreign networks.":"Cina continentale. Dietro il Great Firewall, con regole tutte sue per le reti straniere.",
|
||||
"Mainland China. Enormous market, strict rules, and a famously congested border.":"Cina continentale. Mercato enorme, regole rigide e un confine notoriamente congestionato.",
|
||||
"Where South America’s cables actually land. Europe, Africa and the US come ashore here, then ride a long backhaul south.":"Dove i cavi del Sud America approdano davvero. Europa, Africa e USA arrivano a riva qui, poi fanno un lungo backhaul verso sud.",
|
||||
|
|
@ -282,7 +281,6 @@
|
|||
"The Kingdom’s incumbent. Once you are in, you stay in.":"L’incumbent del Regno. Una volta dentro, ci resti.",
|
||||
"Qatar’s big operator. Paid peering only, and it sings the price list to you.":"Il grande operatore del Qatar. Solo peering a pagamento, e ti canta il listino prezzi.",
|
||||
"Italy’s incumbent. Sweet on the outside, very firm about peering ratios.":"L’incumbent d’Italia. Dolce fuori, rigidissimo sui rapporti di peering.",
|
||||
"Italy’s carrier. Born in Sicily and still very proud of Palermo.":"Il carrier d’Italia. Nato in Sicilia e ancora fierissimo di Palermo.",
|
||||
"Fiber to the Italian home, with a website from 2003.":"Fibra nelle case italiane, con un sito web del 2003.",
|
||||
"Portugal’s incumbent. Purrs when you send it traffic.":"L’incumbent del Portogallo. Fa le fusa quando gli mandi traffico.",
|
||||
"Peers with anyone, and wants to know everything about your routes.":"Fa peering con chiunque, e vuole sapere tutto delle tue rotte.",
|
||||
|
|
@ -449,7 +447,6 @@
|
|||
"Serve 10 Tbps":"Servi 10 Tbps",
|
||||
"Ten terabits per second of happy traffic. The giants will notice.":"Dieci terabit al secondo di traffico felice. I giganti se ne accorgeranno.",
|
||||
"Go transit-free: Tier 1!":"Liberati dal transit: Tier 1!",
|
||||
"Peer with all five Tier 1s over PNIs and cancel every transit port. Then nobody charges you to reach the internet.":"Fai peering con tutti e cinque i Tier 1 via PNI e disdici ogni porta di transit. Così nessuno ti fa pagare per raggiungere internet.",
|
||||
"Only lends to people who do not need it.":"Presta soldi solo a chi non ne ha bisogno.",
|
||||
"Very solid. Mostly.":"Solidissima. Più o meno.",
|
||||
"Lends you money and also a little bit of their own.":"Ti presta soldi, e ogni tanto pure un po’ dei suoi.",
|
||||
|
|
@ -1808,7 +1805,6 @@
|
|||
"Wave markets":"Mercati delle wave",
|
||||
"What a wave costs depends on where it runs. Europe is cheap (lots of competing fiber), North America is average, Asia and South America are pricier, and anything into Africa is several times the price. Every route has its own going rate, and new leases get about 8% cheaper each year, so waiting can pay. The link planner tells you how a route compares.":"Quanto costa una wave dipende da dove passa. L’Europa è economica (tanta fibra in concorrenza), il Nord America nella media, Asia e Sud America più care, e qualsiasi cosa verso l’Africa costa diverse volte tanto. Ogni rotta ha il suo prezzo di mercato, e i nuovi contratti costano circa l’8% in meno ogni anno, quindi aspettare può convenire. Il pianificatore di link ti dice come si piazza una rotta.",
|
||||
"Regional quirks":"Stranezze regionali",
|
||||
"In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator.":"Nel Golfo, i POP sauditi richiedono una licenza telecom locale e i dati degli utenti sauditi restano nel Regno; i gigaprogetti chiedono enormi reti dimostrative; e ogni tanto i vicini litigano e ogni link tra Qatar e Arabia Saudita o Emirati va al buio per mesi, quindi tieniti una rotta via mare. Il Sud America è appeso a Miami: il transit costa di più, niente attraversa il Darién Gap via terra, e la fibra sulle Ande costa il doppio e si rompe spesso. IX.brrr in Brasile è gestito da un ente non profit con prezzi pubblici bassi, e i piccoli provedores brasiliani comprano transit all’ingrosso. Negli Emirati solo il duopolio può posare fibra, quindi niente dark fiber e wave a 3×. I cavi di Taiwan incontrano un sacco di ancore, la fibra indiana incontra allargamenti stradali e monsoni, e il Sudafrica ha il load shedding: porta un generatore.",
|
||||
"Boot times":"Tempi di boot",
|
||||
"Some routers take forever to boot. The Infra tab shows how long yours takes. Slow booters make crashes last longer and turn a one-router swap into a three-day outage. Bigger chassis, especially anything with a PacketOinker™ inside, are slow more often. Twin routers make it someone else’s problem.":"Alcuni router ci mettono una vita ad avviarsi. La scheda Infra mostra quanto ci mette il tuo. I router lenti al boot allungano i crash e trasformano la sostituzione di un router singolo in un disservizio di tre giorni. Gli chassis più grandi, soprattutto quelli con dentro un PacketOinker™, sono lenti più spesso. Con due router diventa un problema di qualcun altro.",
|
||||
"Failures":"Guasti",
|
||||
|
|
@ -1930,4 +1926,25 @@
|
|||
"LACP trouble":"Problemi LACP",
|
||||
"Packet loss":"Perdita di pacchetti",
|
||||
"PMTUD black hole":"Buco nero PMTUD",
|
||||
"Some of the fastest home broadband on the planet, and the strangest peering market. Under “sender pays”, the big three ISPs charge for every gigabit handed to them, and transit here is among the priciest anywhere.":"Una delle bande larghe domestiche più veloci del pianeta, e il mercato del peering più strano. Con il “sender pays”, i tre grandi ISP fanno pagare ogni gigabit che gli consegni, e qui il transit è tra i più cari al mondo.",
|
||||
"Korea’s incumbent. Sender pays: every gigabit you hand it is billed, on top of the port.":"L’incumbent coreano. Sender pays: ogni gigabit che gli consegni si paga, oltre alla porta.",
|
||||
"Took a streaming giant to court over who pays for the traffic its own customers asked for. Paid peering, per gigabit.":"Ha portato in tribunale un gigante dello streaming per decidere chi paga il traffico richiesto dai suoi stessi clienti. Peering a pagamento, a gigabit.",
|
||||
"The plus is a usage fee. Paid peering, per gigabit.":"Il plus è una tariffa d’uso. Peering a pagamento, a gigabit.",
|
||||
"Sender pays: a paid PNI only, {fee}/mo plus {g} per Gbps you send":"Sender pays: solo PNI a pagamento, {fee}/mese più {g} per ogni Gbps che invii",
|
||||
"<b>Glitch is leaving Korea.</b><br>The game-streaming site says Korean network fees are “prohibitively expensive” and shuts down there. Its Seoul traffic drops by half, for good. Local streamers have already moved on.":"<b>Glitch lascia la Corea.</b><br>Il sito di streaming di videogiochi dice che le tariffe di rete coreane sono “proibitive” e chiude lì. Il suo traffico a Seoul si dimezza, per sempre. Gli streamer locali sono già passati ad altro.",
|
||||
"Faceplant got tired of Korean usage fees and quietly moved Korean users to its Hong Kong servers. Pages crawl in for everyone in Seoul. The regulator is drafting a fine.":"Faceplant si è stancata delle tariffe d’uso coreane e ha spostato in silenzio gli utenti coreani sui server di Hong Kong. Le pagine arrivano a passo d’uomo per tutti a Seoul. Il regolatore sta preparando una multa.",
|
||||
"<b>Faceplant rerouted Korea via Hong Kong.</b><br>Seoul users get a fifth less of it for 20 days, however you connect.":"<b>Faceplant ha instradato la Corea via Hong Kong.</b><br>Gli utenti di Seoul ne ricevono un quinto in meno per 20 giorni, comunque tu sia connesso.",
|
||||
"Rerouted via Hong Kong":"Instradato via Hong Kong",
|
||||
"Gangnam Style Peering":"Gangnam Style Peering",
|
||||
"Seoul. The fastest, hungriest eyeballs on Earth, transit at four times the price, and three incumbents who bill you for every gigabit you send them.":"Seoul. Gli eyeball più veloci e affamati della Terra, transit a quattro volte il prezzo, e tre incumbent che ti fatturano ogni gigabit che gli mandi.",
|
||||
"99% reach and 200 Gbps served without going broke":"99% di copertura e 200 Gbps serviti senza andare in rovina",
|
||||
"Sender Pays":"Sender Pays",
|
||||
"Paid PNIs with all three Korean incumbents.":"PNI a pagamento con tutti e tre gli incumbent coreani.",
|
||||
"The Tier 1 that grew up in Sicily. Its Seabone backbone owns the Mediterranean and reaches deep into the Americas, and it still calls Palermo home.":"Il Tier 1 cresciuto in Sicilia. La sua dorsale Seabone domina il Mediterraneo e arriva in profondità nelle Americhe, e chiama ancora casa Palermo.",
|
||||
"Peer with every Tier 1 over PNIs and cancel every transit port. Then nobody charges you to reach the internet.":"Fai peering con ogni Tier 1 via PNI e disdici ogni porta di transit. Così nessuno ti fa pagare per raggiungere internet.",
|
||||
"In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Korea runs on “sender pays”: transit into Seoul costs about four times the usual price and the three incumbents only peer over paid PNIs, billed per gigabit you send them. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator.":"Nel Golfo, i POP sauditi richiedono una licenza telecom locale e i dati degli utenti sauditi restano nel Regno; i gigaprogetti chiedono enormi reti dimostrative; e ogni tanto i vicini litigano e ogni link tra Qatar e Arabia Saudita o Emirati va al buio per mesi, quindi tieniti una rotta via mare. Il Sud America è appeso a Miami: il transit costa di più, niente attraversa il Darién Gap via terra, e la fibra sulle Ande costa il doppio e si rompe spesso. IX.brrr in Brasile è gestito da un ente non profit con prezzi pubblici bassi, e i piccoli provedores brasiliani comprano transit all’ingrosso. Negli Emirati solo il duopolio può posare fibra, quindi niente dark fiber e wave a 3×. La Corea funziona con il “sender pays”: il transit verso Seoul costa circa quattro volte il normale e i tre incumbent fanno peering solo con PNI a pagamento, fatturati per ogni gigabit che gli invii. I cavi di Taiwan incontrano un sacco di ancore, la fibra indiana incontra allargamenti stradali e monsoni, e il Sudafrica ha il load shedding: porta un generatore.",
|
||||
"Your wave supplier pushed one malformed update to its optical control plane, and it flooded every node. All {n} leased waves you have in {reg} are dark. Their status page says “degraded”.":"Il tuo fornitore di wave ha spinto un solo aggiornamento malformato sul suo control plane ottico, e ha inondato ogni nodo. Tutte le {n} wave in affitto che hai in {reg} sono spente. La loro status page dice “prestazioni ridotte”.",
|
||||
"Escalate to their CTO":"Scala al loro CTO",
|
||||
"<b>Optical control plane meltdown!</b><br>Every leased wave in {reg} just went dark at once. Your own dark fiber is fine. This is why people own fiber.":"<b>Meltdown del control plane ottico!</b><br>Tutte le wave in affitto in {reg} si sono spente insieme. La tua dark fiber va benissimo. Ecco perché la gente si compra la fibra.",
|
||||
"Control plane meltdown":"Meltdown del control plane",
|
||||
};
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -42,6 +42,8 @@ function tour(ev) {
|
|||
assert.ok(patched.includes(`['${kind}',1]`) && patched.includes(`f.includes('${t}')`), 'fireFailure still has the hooks this tour forces');
|
||||
step('failure ' + t, `window.__ff=${patched};S.links.forEach(l=>{l.cut=0;l.eqDown=0;l.chFail=null});S.transit.forEach(t=>t.down=0);for(const c in S.pops)S.pops[c].down=0;compute();__ff();dayTick();ACT.leftTab({t:'noc'})`);
|
||||
}
|
||||
// A cable the Baltic event can hit, so the anchor badge does not depend on what the random days built.
|
||||
step('baltic cable', "if(!S.pops.hel)ACT.buildPop({city:'hel'});UI.via='clion';openLinkModal('fra','hel');ACT.buildLink({tier:0});closeModal();UI.via=null");
|
||||
const evSrc = ev('fireEvent.toString()');
|
||||
for (const e of ['viral', 'price', 'grant', 'sanction', 'tariff', 'hijack', 'landban', 'shutdown', 'redsea', 'baltic', 'runet', 'typhoon', 'golden', 'gfw', 'gulf']) {
|
||||
const patched = evSrc.replace(/^function fireEvent/, 'function').replace('const e=pick(opts);', `const e='${e}';`);
|
||||
|
|
|
|||
|
|
@ -270,3 +270,18 @@ test('LACP trouble, partial packet loss and PMTUD black holes fire, hurt and cle
|
|||
assert.equal(ev("!!(S.transit[0].lacp||S.ev.pmtud||S.links.some(l=>l.loss)||(S.ev.ixlacp&&Object.keys(S.ev.ixlacp).length))"), false, 'everything clears');
|
||||
assert.deepEqual(errors, []);
|
||||
});
|
||||
|
||||
test('an optical control plane meltdown darkens every leased wave in a region, not your own fiber', () => {
|
||||
const { ev, errors } = load();
|
||||
ev("ACT.start({});S.cash=1e9;S.lvl=4;for(const g of GOALS)S.done[g.id]=0;ACT.launchBB({city:'fra'})");
|
||||
ev("for(const c of ['ams','par','ber'])ACT.buildPop({city:c});const L=(a,b)=>{UI.via=null;openLinkModal(a,b);ACT.buildLink({tier:1});closeModal();};L('fra','ams');L('fra','par');L('fra','ber');S.links.push({id:'dfx',a:'ams',b:'ber',kind:'df',km:580,sys:'lite',ch:['zr4'],ready:0,mo:500,day:0,cut:0});S.day=120;compute()");
|
||||
const src = ev('fireEvent.toString()').replace(/^function fireEvent/, 'function').replace('const e=pick(opts);', "const e='ctrlplane';");
|
||||
ev('window.__fe=' + src + ';__fe();compute()');
|
||||
assert.equal(ev("S.links.filter(l=>l.kind==='wave').every(l=>linkDown(l))"), true, 'all leased waves in Europe are dark');
|
||||
assert.equal(ev("linkDown(S.links.find(l=>l.id==='dfx'))"), false, 'own dark fiber keeps working');
|
||||
const inc = "S.inc.find(i=>i.type==='ctrlplane')";
|
||||
assert.ok(ev(`${inc}.cost>0`));
|
||||
ev(`ACT.fixInc({id:${inc}.id});compute()`);
|
||||
assert.equal(ev("S.links.filter(l=>l.kind==='wave').some(l=>linkDown(l))"), false, 'escalating brings them back');
|
||||
assert.deepEqual(errors, []);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -331,3 +331,35 @@ test('Barcelona is wired up: a coastal cable, CDNs and a proper Tokyo challenger
|
|||
assert.ok(ev("ixMul('tok~2')<1"), 'challengers undercut the incumbent');
|
||||
assert.deepEqual(errors, []);
|
||||
});
|
||||
|
||||
test('Korea: sender pays, pricey transit, Glitch leaves and Faceplant detours', () => {
|
||||
const { ev, errors } = load();
|
||||
ev("ACT.start({});S.cash=1e9;S.lvl=4;for(const g of GOALS)S.done[g.id]=0;ACT.buildPop({city:'icn'});ACT.buildPop({city:'sin'})");
|
||||
assert.ok(ev("regionMult('icn')>regionMult('sin')"), 'Seoul transit costs more than the rest of Asia');
|
||||
for (const n of ['ktt', 'skb', 'lgu']) {
|
||||
assert.equal(ev(`NET.${n}.pol`), 'paid');
|
||||
assert.match(ev(`peerOk('${n}','ix','icn').why`), /Sender pays/);
|
||||
}
|
||||
ev("S.pops.icn.bb={d:400};ACT.buyTransit({city:'icn',net:'ntt',tier:1});ACT.pni({city:'icn',net:'ktt',tier:1});compute()");
|
||||
const used = ev("R.usePni[S.pni[0].id]||0");
|
||||
assert.ok(used > 0, 'traffic flows over the Kay-Tea PNI');
|
||||
assert.equal(ev("R.cost.pni"), ev(`PORT[1].pni+NET.ktt.paidFee+Math.round(NET.ktt.perG*${used})`), 'billed per gigabit sent');
|
||||
const amz0 = ev("R.demTo.amz"); ev("S.krExit=S.day+1;compute()");
|
||||
assert.ok(ev("R.demTo.amz") < amz0, 'Glitch leaving cuts its Seoul traffic');
|
||||
const evSrc = ev('fireEvent.toString()').replace(/^function fireEvent/, 'function').replace('const e=pick(opts);', "const e='krroute';");
|
||||
ev('window.__fe=' + evSrc + ';__fe();compute()');
|
||||
assert.ok(ev("S.ev.krroute>S.day&&S.inc.some(i=>i.type==='krroute')"));
|
||||
assert.ok(ev("SCN.some(s=>s.id==='gangnam'&&s.city==='icn')"));
|
||||
assert.deepEqual(errors, []);
|
||||
});
|
||||
|
||||
test('Sparkly Seabone is a Tier 1 now, but old saves keep the five they played for', () => {
|
||||
const { ev, errors } = load();
|
||||
ev("ACT.start({})");
|
||||
assert.equal(ev("NET.skl.type"), 't1');
|
||||
assert.ok(ev("NET.skl.pops.includes('nyc')&&NET.skl.pops.includes('sao')&&NET.skl.pops.includes('pmo')"));
|
||||
assert.equal(ev("t1Need().length"), 6, 'new games need all six');
|
||||
ev("delete S.t1v");
|
||||
assert.equal(ev("t1Need().length"), 5, 'older saves keep five');
|
||||
assert.deepEqual(errors, []);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue