asciilifeform: ^ dulap incidentally performs considerably better , unsurprisingly, than the pseudo-sadmachine, in re actual page generation on local end.
asciilifeform: (i.e. all on top of this, is transmission delay from east amerireich, where thing sits.)
asciilifeform: btw for thread-completeness, heavy page loaded locally on the shitbox consumes avg. of 0.2s.
asciilifeform: i expect at some pt mp will say to anyone in l1 who aint running a logger, 'партбилет на стол!'(tm)(r)
asciilifeform: rly what we oughta have is 7+ ~active~ bots/logotrons on 7 continents, then no one will have to grumble 'wai slow'
asciilifeform: BingoBoingo: from this pt i'ma follow the prescription mp gave during last 'wai slow' thrd -- leave it alone, there aint much to be done re to speed it up ( as imho conclusively showed that the pipe is to blame ). will move on to other matters ( import of historic logs ; fix of reported catastrophic bugs, incl. the resync of numeration mp asked for ; and then to get back to ffa ! )
asciilifeform: BingoBoingo: this remains a mystery. i gotta wonder if there's something peculiar re our routing, which gives this effect.
asciilifeform: the 'db snapshot' link nao worx. this box will do duty as an (unauthoritative!) 'fast' mirror of db snapshot also, until someone comes up with better.
asciilifeform: keep in mind that bot will not echo log lines cited from rubbish mirror. it is fit strictly for timing experimentation.
asciilifeform: ftr gets ~80kB/s avg. from dulap, there.
asciilifeform: BingoBoingo, lobbes , et al : i'ma leave the rubbish box to run until further notice, and give it cron job that eats db from dulap erry day .
asciilifeform: ( i.e. pretty fast connection reich <-> reich ; palpably slower piz <-> reich )
asciilifeform: ty for the timings lobbes . seems to match up with asciilifeform's and BingoBoingo's pictures
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-19#1929694 << this is worth expanding on. asciilifeform also gets very fast pings ( never moar than 200msec, to date ) and fast udp. what i suspect is, usg's snoop gear that sits as parasitic toad on south amer's pipe, specifically slows down tcp.
asciilifeform: ( the rest -- largely, hand-copying configs )
asciilifeform: ( of which ~8m spent downloading db snapshot from piz )
asciilifeform: other folx btw are encouraged to perform similar experiment ; whole thing took me approx 35min of meat time, from revving up heathen pseudo-box to posting link here.
asciilifeform: ( in the mirror example, we get it in the reverse direction, but seems to be that same ~0.5s ! )
asciilifeform: BingoBoingo: hard to say for fact, but seems to add up to a picture where's there's a ~0.5s bottleneck b/w south amer. and errywhere else.
asciilifeform: BingoBoingo, diana_coman, et al ^ as time permits , plox to post load times of this ^ log.
asciilifeform: i'ma switch this thing off in coupla days, once errybody's taken the offered measurement and is satisfied ( i dun want a 'fossilized' logger sitting for idiots to find and think 'they're dead' )
asciilifeform: this experiment also reveals that asciilifeform's logotron will in fact stand up, with no modifications, on a python, flask, pg, etc. plucked out of arbitrary rubbish bin.
asciilifeform: all knobs aside from 'download snapshot' work, so feel free to e.g. walk the 'random' pages etc.
asciilifeform did not bother to sync the clock, so times on shit mirror will vary vs. dulap's
asciilifeform: i suppose for completeness will mention an alt-hypothesis -- somehow nic on dulap is culprit.
asciilifeform: errybody's welcome to play with the mirror ( it's a '1st month -- phreeee!' pseudo-machine , i'ma leave it up for a spell, tho it will , obv., grow no new log lines )
asciilifeform: this suggests that culprit of 'mystery delay' is in fact piz pipe.
asciilifeform: deliberately this setup uses nginx and same (as far as could replicate on the heathen box) stack of proggies as the orig.
asciilifeform: oook here's an experiment : asciilifeform set up a mirror of the logotron on a cheap heathen host. ( one of the most rubbish hosters known, lulazon's . hence cannot in fact stand up copy of bot there, fleanode bans conns from it unless sslized. but the db is current. )
asciilifeform: ^ the log bot itself, for instance, thus far has only reconnected when asciilifeform manually cycled it, to update to new ver (last such time, to put phf's uniturd pill in production)
asciilifeform: ... and typically they die on acct of connectivity pause on asciilifeform's end, rather than piz
asciilifeform: piz pipe is not gonna set any speed records. (however, is extremely reliable, e.g. asciilifeform gets ssh sessions that last 3-4 months)
asciilifeform: 'go to war with the pipe you have, not the pipe you wish you had'(tm)(r)
asciilifeform: ( and imho further suggests that pipe is culprit )
asciilifeform: ( had not, prior to folx observing 'logger is slow, say wai' , taken the sweat to properly monitor where in the typical page load is time spent and on what )
asciilifeform: previously i chalked this up to 'slow pipe'. now suspect also the proxying proggy.
asciilifeform: the reason why i currently suspect nginx as the culprit, is that i observed very similar delay when loading static (e.g. FG photograph) files via same.
asciilifeform: neither phuctor nor logger is written in such a way as to force the choice of either nginx or apache as the front-side proxy, will eat either just the same. simply requires the appropriate config.
asciilifeform: ( at one pt, long ago, when baked phuctor, asciilifeform had a preference for nginx, but it turned out to be ill-founded . currently both phuctor and log www are served by a nginx . )
asciilifeform: diana_alt: i have plan to move the box to traditional apache, but yet not figured out how to do so w/out unacceptably long disruption of service .
asciilifeform: i get (and on rather slow machine) load time for the 'heavy' example page comparable to the time it takes for the mouse button to go up an' down.
asciilifeform: diana_alt: if you press the vtree and set up the logger on own box, where you happen to be, and import the daily db dump, can then observe the 'native' speed of the thing.
asciilifeform: pipe delay ( piz <-> asciilifeform's chair , cannot be generalized to entire planet ) varies from 0.2-0.4s (for revvup of tcp pipe, that is)
asciilifeform: delay disappears when accessed on localhost at the 'high' (nonpublic) port where the py proggy itself is answering
asciilifeform: mp_en_viaje: that was in the "alice_m" thrd.
asciilifeform: was translation iirc. where 'but anyone could parallel park using steering wheel! troo sport is to do it without wheel, said the sprezzaturist' or similar
asciilifeform: mp_en_viaje: it was in an old trilema piece, the one about 'sprezzatura'