The other option is to never update anything; which is valid, but painful.
But if you're weak willed and need some hand holding, the official ISA's machine code is tolerated too.
I left that contract very quickly.
But yeah for starting something new, with an open language choice? No way anyone sane would go for it these days. Especially after Oracle basically closed sourced it, making JRE distribution illegal.
(JVM != Java, remember)
bit of an editorialized clickbait title really.
Sure the title is jazzed up a lot, but calling it clickbait seems to be a bit harsh.
It is not the articles fault the first sentence was used as the title
INNOCENT dev did THIS, and what happened next will SHOCK you
I clearly don't have the same definition of clickbait.
What does this have to do with clickbait?
it seems there is no universal definition of clickbait. So I based my comment on this:
1. the article was posted on Thibault's own website that doesn't generate revenue per click. Isn't clickbait associated with the possibility of additional ad revenue?
2. Thibault recently called for help on the issue. This post recaps what he went through. He clearly expressed that the code upgrade process didn't go as planned for him. the post and sub-title feels genuine.
3. Clickbait (to me at least) indicates that there's either intent on generating revenue or self-promotion. I fail to see those conditions here
So that's my logic. So why would this be considered clickbait?
Both "big upgrade" and "didn't go as planned" are technically true, but overpromise. A big upgrade could be new features, improved UI, something that affects the user experience.
"Updated Lichess language version, had to tweak cache settings" is a title that isn't trying to sell itself.
I think showmanship is okay if it's tasteful. The problem with clickbait is that it's manipulative and tacky and dishonest. After you read the article you feel like you've been had.
Having spent several years in the running-JVMs-in-production trenches I would claim the opposite.
> I'm sure there are old-hands who have deployed JVM apps at scale might be unsurprised and unimpressed, but I was surprised.
I've never done anything nontrivial with the JVM, so I'm totally willing to believe I was surprised because of my JVM ignorance, but I've never had to fiddle with my language VMs.
Regardless, I argue there's room for tasteful showmanship without it being clickbait.
Clickbait is trying to bait you into clicking. This definitely falls under that. Is it the worst case of clickbait I've seen? No. But it is definitely clickbait.
The most beneficial title from the reader's perspective is a title which allows the reader to quickly decide whether they need to know the information and informs the reader with the necessary information as efficiently as possible. Hence the now long dead practice of writing in the form of an inverted pyramid (https://en.wikipedia.org/wiki/Inverted_pyramid_(journalism)).
Do you feel this article did something wrong? Because from what I'm hearing it seems like you're saying it wasn't to your taste, which is entirely valid but a different matter.
I don't like click bait. I voiced that opinion. That's all.
Whoever posted it to HN decided to go with the title of the first section of the article.
What's wrong with a title that is a one sentence summary of the article?
So nobody intended clickbait.
Instead, a smug tale of a huge upgrade that went unexpectedly smoothly - with a performance problem swiftly solved. Still a good story, and kudos to the team. Just not the horror show I came for.
I don’t pay for Lichess, love the UX, and I know it’s a labor of love, but come on. Surely Lichess refactoring aren’t so urgent and user critical that they should just go straight to prod?
Yeah, there should be some kind of shakedown test.
But Nah, not every issue can be tested for within the manpower/$ budget. Issues of load being one of them.
A valid strategy is: send it!, work with the beast a bit, if too unruly roll it back. In this case, they tamed the new beast. Not like Lichess is going to lose billions...
Think about it - clients or requests are really just ephemeral ports...
There are something like 30 thousand of them available by default with Linux
If you use sockets you can have as many connections as your system allows for open file descriptors. The upward limit is...
$ sysctl fs.file-max
fs.file-max = 9223372036854775807
Spawn a ton of concurrent requests to hit the service/API! apachebench is a decent example of the idea - imagine some proprietary sauce with itIt gets cheaper (and in some ways, more effective) if you actually remove the network -- latency goes down
You can also rate limit it in software, but it's really not analogous in some ways (eg: net.core.somaxconn limitations/realities)
Development time is totally understandable though. It's important I leave my green field of comfort
I'm not saying it doesn't take effort, I'm just saying it can and is regularly done
Regression testing with speed. If you test your features as they're added, niche-ness doesn't matter - you know about it and test it
A regression test quickly turns into a load test if you do them all at once
To be clear, I'm not trying to twist the knife. I understand why it wouldn't be done. I just won't pretend it can't
I've been trying to avoid this 'hindsight is 20/20' thing...
I'm not trying to lay blame - just offer thoughts towards improvement, and encouragement against some defeatist thinking patterns
A lot can be done with very little equipment/time investment
It's not particularly expensive or difficult, but it does need investment
> When everything compiled, I shipped it. And to everyone's surprise, apart from a few bugs I had created while rewriting thousands of lines of code... it worked. It just did. No explosions, no obscure bugs, no memory leak, no performance degradation. That was rather unexpected.
...followed by
> Then we saw the JVM CPU usage rise to alarming heights, with unusual patterns. And no obvious culprit in the thread dumps...
> it was just the JVM that needed some tuning.
Details: https://lichess.org/@/thibault/blog/lichess-on-scala3-help-n...