HNHacker News
TopNewBestAskShowJobs

axismundi

367 karma · joined January 4, 2019

submissionscomments
axismundi··on Ask HN: What is an acceptable latency for a web load balancer?
I should clarify that 110ms is happening for all requests.

Tested with this: https://ybin.me/p/53f0aa4e1204b470#c561Frz6wpKkfvsTklDdZFOer...

and got this: https://ybin.me/p/1e68f80f6910ba0d#USqFo3Loksx5rHQIe16NHp299...

axismundi··on Ask HN: What is an acceptable latency for a web load balancer?
I could live with slow handshake, but it's ~110ms for every request.
axismundi··on Ask HN: What is an acceptable latency for a web load balancer?
Yes, this is a real time platform. I spend some of my dev time optimising performance.
axismundi··on Ask HN: What is an acceptable latency for a web load balancer?
I've written a simple bash script based on your one liner: https://ybin.me/p/53f0aa4e1204b470#c561Frz6wpKkfvsTklDdZFOer...

Here is the output for 100 reqs: https://ybin.me/p/1e68f80f6910ba0d#USqFo3Loksx5rHQIe16NHp299...

axismundi··on Ask HN: What is an acceptable latency for a web load balancer?
Thank you. I will make sure this is enabled.
axismundi··on Ask HN: What is an acceptable latency for a web load balancer?
That's a valuable tip, thanks. I will look into the LB config if there is anything cache-related.
axismundi··on Ask HN: What is an acceptable latency for a web load balancer?
It's a real time trading website, so every millisecond counts.
axismundi··on Ask HN: What is an acceptable latency for a web load balancer?
This is happening for every single request.
axismundi··on Facebook says it may quit Europe over ban on sharing data with US
Doesn't this mean that FB cannot operate in EU simply because the US can't stop spying on EU citizens? Hey FB, why not go and complain to your government?
axismundi··on Music Grid
You know how a piano keyboard has white and black keys? This toy shows you the white keys only. And it works well, kudos to the author!
axismundi··on Dark Patterns: Past, Present, and Future
Arvind, Arunesh, Marshini and Mihir - thank you for this article, it's very informative and well researched, as evident from the footnotes.

We do need an open discussion in this matter, and actions must be taken as a result of the discussion. While regulators are likely to be pressed by the business to relax the rules, designers and behavioural researchers ofter don't think about long-term consequences of their choices, so there is a need for a third group there. People who see through the tricks and can recognise dark patterns.

The problem has become so prevalent that even tech-savvy folk sometimes gets tricked into giving up bits of their private data. Where does that leave the average consumer? It's evidently exploiting the fact that physically people just don't have the time and expertise to parse and understand what is being forced upon them.

As for Dark-Patterns-As-A-Service companies, there must be a way to detect and block their software using browser plugins. Isn't this effectively malware?

Email can be fixed only gradually. There is no way the world will stop using it and move overnight to something else, no matter how great. As a related topic, I propose a dedicated footer field to put an end to emails containing two sentences and several meters of logos, badges, ads! and legal notes, which clutter our email threads and JIRAs. There is substantial potential in cutting down mental effort and IT resources necessary to process and store it.

Most malware today is not aimed to destroy local data, but rather to exfiltrate it. Instead of bloated antivirus software a more effective and lightweight solution is curated hosts files. No need to rely on external DNS, which can be hijacked. I'm working on electron-based desktop tool that does just that.

Another dark pattern I discovered on ala.co.uk, a popular GAP insurer in the UK. Their Get A Quote page is silently siphoning data from a complex form which triggers sending the whole form on field change, before you press Send. Beware of auto-filling by the browser!

And there is that: https://techcrunch.com/2020/05/06/no-cookie-consent-walls-an... Legislation vs clear guidelines and enforcement.

I guess the strategy is to wear us down with nagging, nudging and whatnot to make a mistake, and once our data is out, there is no reversing it.

axismundi··on Dark Patterns: Past, Present, and Future
I don't think this is a good idea, for two reasons:

They push the responsibility of getting rid of unwanted stuff in our mailboxes to us. It's not a single company doing this, but most of them. That's sometimes dozens of emails a week! We shouldn't waste our time reading, parsing and fighting the unsubscribe forms - many times fortified with cookie-consent walls!

The average internet user will not do that anyway, so the spammers rely on user's laziness and dulled senses, just like ad blindness, so they slowly start to accept this sick situation as the new normal. For us it becomes the new normal. For our children - the only normal.

axismundi··on How to manage HTML DOM with vanilla JavaScript only?
That. I remember Borland C++ Builder. It was a pleasure to build compelling user interfaces with it, but it's best value was simplicity, the meticulously crafted library and great help system. That's how I got into programming. The big difference today are devices, especially screen sizes. We want to make apps now. Small, focused tools. Sadly often we have simple apps bloated beyond recognition for profit. That's partly why every gizmo in an app is not only pixels, no sir, it has to jump and blink and shout for attention. More layout engines won't make your app better. Keeping it simple and focused will.
axismundi··on Apple now allows iOS developers to send ads using push notifications
This is ok as long as it's explicitly opt in and I'm not going to be nagged every week to opt in for the same thing.
axismundi··on Why events are a bad idea for high-concurrency servers (2003) [pdf]
and then there was that just two days ago: https://news.ycombinator.com/item?id=22165193
axismundi··on WireGuard is in net-next
Much faster, as it is UDP-based, it basically just keeps spraying network packets. I noticed that my SSH sessions are resumed after closing and reopening my laptop half an hour later.
axismundi··on WireGuard is in net-next
It works mostly without problems, but be careful relying on it as a sole means of accessing your server. I've locked myself out (luckily it was just a test server) by closing SSH port on public IP and allowing it only on Wireguard interface. One day I updated the kernel, dev headers got mixed up and my wg0 interface didn't come up after reboot.
axismundi··on 600k concurrent websocket connections on AWS using Node.js (2015)
I make heavy use of socket.io chatrooms and have to support older browsers. Haven't found any better solution yet, but I'll try the tweak, thanks. I'm also looking into load balancing via haproxy or nginx, since I need less than 10k concurrent clients.
axismundi··on 600k concurrent websocket connections on AWS using Node.js (2015)
Does anyone have a more recent experience? I currently use socket.io 2.2 with node v10.16, no v8 tweaks in a docker container. At ~1000 sockets, sometimes the server receives spikes of 8000 HTTP reqs/sec, which it has to distribute to the websockets, up to 100 msgs/sec, ~1kb/msg to each socket. These spikes are making the server unstable, socket.io switches most of the clients from websockets to xhr polling.
axismundi··on Ask HN: What are your arguments in favor of end-to-end encryption?
In public toilets we lock the door. That's dignity.
axismundi··on Safari 13 Is Out
Does it work on IOS?
axismundi··on I feel like im talking to the borg
Reminds me of Unity from that Rick and Morty episode https://rickandmorty.fandom.com/wiki/Unity
← PreviousPage 3 of 3