log☇︎
7100+ entries in 0.001s
asciilifeform: in other noose, added simple knob to logotron that sends reader to (p)random line of selected chan.
asciilifeform: aa!
asciilifeform: so what means then 'return of blue dollar' ?
asciilifeform: hm i thought that was the only remaining kind after dethronement of whore
asciilifeform: ( y'know, the one that was Officially Pegged (tm) at 15 to 1 $ , whereas in reality 100+:1 )
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-13#1928291 << i take it 'blue dollar' is/was same thing as sovok's 'convertible ruble' ?
asciilifeform: see also
asciilifeform still ill at ease re logger, pending confirmation that the kit actually stands up somewhere other than in asciilifeform's hands
asciilifeform: the tyre fire of 'hey we've no logger' is , if not put out, then at low smoulder, so let's get this item moving
asciilifeform: BingoBoingo: considering we're 100% outta unoccupied holes in which to put folx
asciilifeform: if at all possible
asciilifeform: BingoBoingo: let's get the 2nd xyz plant specced an' bought this mo
asciilifeform: ty BingoBoingo
asciilifeform: hey BingoBoingo , couldja run for me these timings plz
asciilifeform: this ^ is simple means of testing the logger for folx not yet ready to stand up bot. e.g. : zcat dump.gz | psql -U nsabot -d nsalog will eat (assuming you already inited db w/ the provided schema)
asciilifeform: if folx want to mirror, i'd prefer that also happen daily, otherwise no amt of pipe will suffice
asciilifeform: i expect will be roughly 3x that when all the back-archives added.
asciilifeform: presently, weighs (compressed) ~23MB.
asciilifeform: currently set to snapshot at 0 hrs. daily. (snapshot itself takes ~8sec at the current mass of the db)
asciilifeform will put in readme , for next patch, how to set up the cron for these
asciilifeform: meanwhile, added 'download daily db snapshot' link to logotron.
asciilifeform: attn panzers : whichever 1 of you is searching for 'cuts of the meat' -- that's in pre-dragon log, not yet imported.
asciilifeform: and that phf did not use these, but hung up his logger straight on port80
asciilifeform: i'm beginning to suspect that nginx, apache, etc. are intrinsically dead weight, when sat in front of a programmatic html shitter
asciilifeform: and now phf's log -- of 'heavy' pg -- via same. pretty interesting. total load time (to the tester author's box) -- 0.646s ; 1st byte -- 0.254s .
asciilifeform now thoroughly stumped, ~all 3~ seem to show ~same 'time to first byte'
asciilifeform: for non-piz comparison : trilema www, via same .
asciilifeform: for comparison : diana_coman's www via this same tool .
asciilifeform: all the clues point to nginx.
asciilifeform: so i still suspect it aint the pipe ( diana_coman lives at piz )
asciilifeform: e.g. time curl "http://ossasepia.com/" > /dev/null >> real 0m1.597s and weighs 108k atm
asciilifeform: however :
asciilifeform: it is even possible that the pipe is to blame, i.e. the measurement is 'random' depending on how congested the pipe at piz on acct of e.g. the multiple trb noads sitting there
asciilifeform has nfi why the # given for 'all' vs the 1st 'resource' could differ
asciilifeform: or hm, possibly misread, and it's 0.737s
asciilifeform: the 'heavy' pg again, via yet another 'www debugger'. 0.5s time-to-first-byte ! ..and defo shows the 'burst' pattern.
asciilifeform: ( from asciilifeform's chair ; 0.9 when executed locally on dulap , via ng i.e. the public url )
asciilifeform: the 'heavy' page -- 1.4-2s avg. on same
asciilifeform: this aint a cure tho (afaik not all browsers eat it)
asciilifeform: btw time curl -H "Accept-Encoding: gzip" http://logs.nosuchlabs.com/log yields avg. 0.4s . so indeed default curl dun eat gzip.
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-13#1928196 << lobbes does this result in same eggogs when eating your archive as before ?
asciilifeform: aint nginx, apache, etc supposed to ~cure~ impedance mismatches, rather than cause'em...
asciilifeform: if this box weren't also running phuctor, could simply hang the logger on port 80 and get, theoretically, 200-300msec loads, loox like.
asciilifeform will try on various FF later today. other folx welcome to report theirs.
asciilifeform: this thing dun seem to distinguish the phases of the load tho (only distinguished load from rendering, and cuts the latter into phases. which makes a kind of sense, tool is evidently for debug of 'slow cuz hands of who wrote html-shitter grow from arse' scenarios )
asciilifeform: via chromistic timer , get 1.40s for the heaviweight sample
asciilifeform: it aint best possible pipe, but pretty good; and , as i pointed out already, effect persists ~without~ it ( i.e. operating curl within dulap shaves only 200msec vs to my chair; and has same peculiar 'burst' pattern and wild variance in total time )
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-13#1928224 << ftr i routinely get 1-2 MB/s from my chair to dulap and reverse
asciilifeform: https://tools.pingdom.com/#5b22d518dfc00000 << this one confirms my init observ., almost whole second in 'connect' + 'wait' ( and 5 in receive , doesn't say in what pattern, but visually curl in the 'slow even on local shell' variant appears 'bursty' )
asciilifeform: iirc chromisms have timer, i have box w/ one
asciilifeform: was looking at https://gtmetrix.com/reports/logs.nosuchlabs.com/m3to2XTx , somewhat cryptic, will check out others
asciilifeform: pretty certain that the pipe itself is blameless, i get consistent realtime work through it, not once long pings much less subjective feel of 'mars probe'
asciilifeform: tried large buffers, no buffers, various tcpism knobs, no obv culprit for the impedance mismatch (what i suspect this is )
asciilifeform: i found no obvious cause, but in process of knob turning combinatorics cut the delay somewhat ( seems to only be detectable in graphic wwwtrons tho, and , annoyingly, cannot actually get useful number from those, unlike curl )
asciilifeform: and in fact accts for all but ~70msec of a heavy pg
asciilifeform: mp_en_viaje: possibly i did not elaborate , but on box's own shell, if viewing through ngx , fully 1-2s moar delay than if direct to port where py proggy
asciilifeform: ( after upped buffer on box and reenabled gzipism )
asciilifeform: something is odd, i sat all evening last night reading vintage #t logz via my displayer and none ate >3s
asciilifeform: knew this, same sans cache
asciilifeform: perhaps curl dun eat gzip
asciilifeform: mp_en_viaje: hm why graphic browser gives < 1s for same here ?
asciilifeform not habitual wwwist and was unaware this existed
asciilifeform: mp_en_viaje: ty for the tool link, will try with it
asciilifeform: but would like to confirm that other folx see similar figure, and aint an artifact of asciilifeform's local cachism
asciilifeform: mp_en_viaje: log now also 1-2s here ( ~3 for the 'heavy' historic pg linked earlier )
asciilifeform brb, meat
asciilifeform: if somebody's sat for ~minute~ , sounds like sslism ( not in use on dulap and never will be )
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-13#1928201 << i dun 'upgrade', lol. and also admittedly never before tried to get a www to load in <1s specifically. ( btw -- does trilema for all pgs ? )
asciilifeform: mp_en_viaje: plox to try the 'heavy' log pgs, http://logs.nosuchlabs.com/log/trilema/2019-08-12#1927995
asciilifeform: nao almost tolerable
asciilifeform bbl,meat
asciilifeform squeezed out a bit of the delay via knob-turning but this is still ridiculous
asciilifeform: ( and if cures, move dulap entirely to classic apache. back in the old days went w/ 'nginx' because slightly moar miserly re memory )
asciilifeform: i'ma have to set whole orchestra up on a box w/ classic apache, to see whether same thing
asciilifeform: reason why never noticed this effect with phuctor, is that its pages are small
asciilifeform: cachism is apparently red herring, the proggy is actually fast enuff. there is parasitism in the loop.
asciilifeform: approx 0.2s is eaten by transmission on net from BingoBoingostan to my chair; the rest is eaten by the www server somehow
asciilifeform: actual generation of e.g. current /log, takes 0.073s !
asciilifeform: err, nginx there, presently. interestingly, set up as experiment 'wsgi', python's equiv. of php's 'mod-php', and made ~no measurable diff !
asciilifeform: ... 100% of the time diff, apparently, in response req time
asciilifeform: culprit, apparently , the frontend
asciilifeform: but!! only via apache ! i.e. time curl http://127.0.0.1:5002/log dun show either the variance or the slowdown.
asciilifeform: interestingly, seems to vary there by factor of ~2x !
asciilifeform: ... which is odd, cuz phuctor's -- work
asciilifeform: i.e. silently fail
asciilifeform: i'm beginning to suspect that the indices work here (pg 9) and not there (10)
asciilifeform: ( on either log or phuctor )
asciilifeform: dulap aint currently swamped with loads, either
asciilifeform: soo, in strange findings: on dulap, 'time curl http://logs.nosuchlabs.com/log' yields 2.342s; ( from my chair, same -- 2.455s ); but on identical (3m ago) clone of db , running locally, on substantially slower box, 0.252s !
asciilifeform: mp_en_viaje: http://trilema.com/2012/strategic-superiority-a-saga/ ?
asciilifeform: http://logs.nosuchlabs.com/log/trilema/2019-08-12#1928149 << pretty great. tropical cricket ?
asciilifeform: dijkstra spent whole life killing trees on subj of deadlocking etc. but the subj is deep enuff for 9000 dijkstras.
asciilifeform: ( and typically sooner than you think )
asciilifeform: this is actually the interesting thing about multiprocesstronic proggies. as alluded to by spyked . the improbable -- is certain to eventually happen.
asciilifeform: i thought this also, when had pre-PG phuctor. turns out ~nothing is measurably > nothing, lol
asciilifeform: *as simple
asciilifeform: mp_en_viaje: re 'delete file', it isn't quite a simple, cuz fs ops are potentially locking. i elided what means 'wipe the cache' for brevity, but there's a knob.
asciilifeform: already this thing is eating surprising amt of hand-cranking
asciilifeform dislikes pyistic libism , it spirals into insanity pretty quickly and makes testing / swaps of proggy on live box complicated
asciilifeform: that way reduce to 1 proggy, and all of the shared routines unduped.