T/TCP for FTP transfers
/Quests | permanent link | writeback | edit
2008-02-24
/Quests | permanent link | writeback | edit
2007-11-20
How to proceed?
/Quests | permanent link | writeback | edit
2007-11-19
/Quests | permanent link | writeback | edit
2007-09-09
This way you can run without wear-levelling layer (which AFAIK can't work in general case, because you would need Size/blocksize bytes/nibbles of additional wear-resistant storage to keep statistics of your wear), AND you gain additional protection, for very little price ( less then 10% of your storage ).
Conventional wisdom says you shouldn't raid on single device, but since flash devices are not mechanical and don't suffer noticable seek penalty you can do this with very little loss of performance. If you'd do this in hardware inside your card, there would be no performance penalty.
Another problem is that raid5/raid6 are famouse for their poor write speed, but, since you're already writing whole blocks-at-a-time when dealing with flash devices, you're already paying the prices (writing block-at-a-time is the best case scenario for raid5/6, there's no need to recalculate checksums then)
Note: it doesn't make much sense to use raid5 instead of raid4 in this case. And raid4e for double protection. TODO: implement RaidF as dm layer?
/Quests | permanent link | writeback | edit
2004-09-17
As I'm slowly getting older, I encounter recurring problems , with perl and general practices being already decades old, one would think that there are well-tested and generic solutions.
One of those thingies is problem of generic hmm, message-scheduler or maybe switch.
You can see this in projects like alamin (sms gateway), varios MTAs, B2B solutions sending invoices, SNMP managent consoles etc..
One way of solving that is by using filesystem - aka spool directory.
Popular solution - shared space aka spool, multiple daemons handling messages - incoming, outgoing, processing...
Two mains choices - spool directory and sql table.
Requirements for spool:
/Quests | permanent link | writeback | edit
2004-07-03
/Quests | permanent link | writeback | edit
2004-06-16
ghost eyck 11:20 ~/ >time ssh uwoo echo ssh uwoo echo 0.03s user 0.00s system 18% cpu 0.161 total ghost eyck 11:20 ~/ >time ssh uwoo echo ssh uwoo echo 0.04s user 0.00s system 22% cpu 0.182 totalOn uwoo server runs openssh 3.4:
ghost eyck 11:20 ~/ >time ssh uwoo echo ssh uwoo echo 0.10s user 0.02s system 15% cpu 0.770 total ghost eyck 11:21 ~/ >time ssh uwoo echo ssh uwoo echo 0.12s user 0.01s system 21% cpu 0.597 totalglibc-based woody with dropbear 0.41:
ghost eyck 11:28 ~ >time ssh dev echo ssh dev echo 0.02s user 0.02s system 16% cpu 0.244 total ghost eyck 11:39 ~ >time ssh dev echo ssh dev echo 0.04s user 0.00s system 25% cpu 0.160 total ghost eyck 11:39 ~ >time ssh dev echo ssh dev echo 0.03s user 0.00s system 17% cpu 0.172 total ghost eyck 11:39 ~ >time ssh dev echo ssh dev echo 0.02s user 0.01s system 17% cpu 0.172 totalglibc-based woody with openssh 3.4:
ghost eyck 11:39 ~ >time ssh dev echo ssh dev echo 0.13s user 0.00s system 33% cpu 0.387 total ghost eyck 11:40 ~ >time ssh dev echo ssh dev echo 0.11s user 0.00s system 27% cpu 0.403 total ghost eyck 11:40 ~ >time ssh dev echo ssh dev echo 0.09s user 0.00s system 23% cpu 0.382 total ghost eyck 11:40 ~ >
/Quests | permanent link | writeback | edit
2004-02-07
Test: code
Hello world
Hi againg
e - anything
/Quests | permanent link | writeback | edit
2004-02-02
/Quests | permanent link | writeback | edit
I'm in quest for 'asynchronous bi-directional' communication protocol.
Starting point are:
asynchronous bi-directional - the most important thing, and different from most of the "normal" protocols, is the fact that system must be able to sand AND receive message in any given moment. "Normal" protocols like FTP/SMTP/POP3 etc, work this way:
client -> request -> server client <- response <- serverso basicaly, on very low level of protocol - client can't receive anything from server until it asks for it. This something important in perl world - we've got Net::* clients, and many of those use object infrastructure of Net::CMD... this means that you're on your own if you want to create client for some IM...
/Quests | permanent link | writeback | edit