56300+ entries in 0.033s

diana_coman: I suppose "ignore" in
the sense of let
the exception propagate and
the program die
mircea_popescu: diana_coman if
the socket is in fact closed, your program dies,
there's no
twowaysabout
this.
mircea_popescu: but i mean... if
the socket's closed
the wrapper returns neh ?
mircea_popescu: well what could
the wrapper possibly do other
than resend ?
diana_coman: I mean don't keep
trying
to send on a closed socket sort of
thing
diana_coman: but if udp lib closed
the socket how would it help?
mircea_popescu: there's
two possible situations here. 1. connection has
transient problems, resending would help ; 2. connection died, resending will waste more
time.
diana_coman: weird because no way
to recover even if plugged back in or something
diana_coman: well, udp lib closes
the socket in
this case
mircea_popescu: diana_coman you proposing it'd be better
to resend
than ignore ?
☟︎ mircea_popescu: if it isn't, i'd like
to know about it, because i quite like
the model.
diana_coman: the one
thing hanging would be re errors I suppose
mircea_popescu: imo venerable, successful, and mandatory
to copy mechanism./
mircea_popescu: ah. "threaded" here means, "task manager spawns processes".
think how apache server works.
mircea_popescu: weren;'t you arguing asecond ago
the rescuing from nic needn't be
threaded ?
mircea_popescu: diana_coman so
then : a)
thin wrappers mosrtly
to rescue
the queue from ip stack into ram ; b)
threaded workers later, which may include but will likely not be limited
to, specialist decipherers.
mircea_popescu: asciilifeform im not strictly aware of
this. whence
the notion ?
a111: Logged on 2018-12-13 19:29 mircea_popescu: diana_coman conversely, if
they're
that
thin why do
they exist.
diana_coman: 3. I
think
that's
to be a dynamic
thing basically aka at a higher level server looks and if it needs
to, it creates more workers
to process
those messages accumulating
there
diana_coman: 1. expected bottleneck is message processing: encrypting/decrypting sounds most likely but in principle whatever further processing since not even specified yet fully! 2.
the everything else is raw udp (aka udp lib) and feeding it/reading from it aka
those would be sender/receivers
mircea_popescu: diana_coman
to proceed logically : 1. it is factual
that
the expected bottleneck reasonably is de-serpenting. 2. everything-else
then may safely be non-threaded. 3. do we actually want
to
thread
the serpenting part ?
diana_coman: asciilifeform, yes;
the idea
though was not
to lose
the packets
that made it
to
the nic
though aka because server busy sort of
thing
diana_coman: that's what I've been going round in for most of
today!!
mircea_popescu: diana_coman conversely, if
they're
that
thin why do
they exist.
☟︎ diana_coman: well, except for
the case where 1mn simultaneous clients I suppose but possibly
that gets lost before even reaching
the nic
diana_coman: well yes, as long as sender/receiver are ultra-thin aka only from/to queue
to/from udp lib
then no clog expected at socket
mircea_popescu: diana_coman
the expectation
that serpenting rather
than netsending will be
the processing bottleneck is not unfounded, imo.
diana_coman: asciilifeform, I made it generic so I don't have
to copy/paste code just for different const
diana_coman: doesn't even bother
to decrypt or whatnot because anyway it has no info as
to keys and all
that
mircea_popescu: whole reason
to even do it liek
this so client can separate its
traffic
diana_coman: mircea_popescu,
that was my current idea: 2 sockets, one for rsa and one for serpent, with different ports
too
mircea_popescu: diana_coman does it
then make sense
to have a process
that has a socket open and handles
the serpent queue, and one proces with a different socket open handling
the rsa queue (with a view
that
these :6666 and :6667 ports
then get moved
to separate machines if need be) ?
diana_coman: asciilifeform, I don't follow - 1mn clients can send 1mn datagrams
to server, what has serpent
to do ?
mircea_popescu: diana_coman
the problem's rather,
two sockets will possibly clog for fever
total msg/sec
than one.
diana_coman: asciilifeform,
the q is basically: how many messages/sec clogs
the socket essentially
mircea_popescu: diana_coman
thinking of it :
the ~server~ very likely wants a lot of sockets ; strictly because
talking
to multiple clients at same
time.
diana_coman: asciilifeform, you do need because 2 different sizes i.e. 2 different udp lib
types essentially
mircea_popescu: asciilifeform suppose you're on a multi-core cpu, suppose
the socket's not filled but
the sender is.
diana_coman: asciilifeform, lol, no,
the point
there is
the sender/receiver layer of a eulora app essentially
mircea_popescu: even go
the distance of keeping a
task manager
to keep spawning
them, and giving
them sockets ?
mircea_popescu: there's
two evident ways
to go about
this : either have
these
together in a single chunk
that owns a socket ; or else have
them independent, in which case what,
they share a socket ?
they each get a socket ?
mircea_popescu: so, i hear from cto
the comms spec's mostly implemented. now, we're at
the point where we wanna make a rsa and a serpent sender.
mircea_popescu: meanwhile, let's hijack
this a little for some s.mg discussion.
mircea_popescu: yes, but n+1 step
there is... "well, bolix v2020 comes with 1tb ram. which it uses."
mircea_popescu: can has 64GB ram on
the cheap now. considering what period pricing was like, 2020 reconstructed bolix'd better have 1TB ram.
a111: Logged on 2018-12-11 17:34 mircea_popescu:
then ~lone man~ of wanna-be rus' yellow man copied item.
mircea_popescu: i have a lingering suspicion we'd like x86 stack a lot better if memory had stayed
the size it was WHEN
THE DAMNED
THING WAS DESIGNED
mircea_popescu: should be fun
to see how well "magical
tech" works if plugged into LARGE ram.