News for hackers. Stuff that matters.
Re:How we migrated onto K8s in less than 12 months by jiggawatts on Thursday August 08, 2024 @07:57PM (#41197631)
Even if the microservices platform is running at 1% capacity, it's guaranteed to have worse performance than almost any monolith architecture.

It's very rare to meet a developer who has even the vaguest notion of what an RPC call costs in terms of microseconds.

Fewer still that know about issues such as head-of-line blocking, the effects of load balancer modes such as hash versus round-robin, or the CPU overheads of protocol ser/des.

If you have an architecture that involves about 5 hops combined with sidecars, envoys, reverse proxies, and multiple zones you're almost certainly spending 99% to 99.9% of the wall clock time just waiting. The useful compute time can rapidly start to approach zero.

This is how you end up with apps like Jira taking a solid minute to show an empty form.

Re:How we migrated onto K8s in less than 12 months by throwaway48540 on Thursday August 08, 2024 @08:02PM (#41197652)
Are you talking about cloud Jira? I use it daily and it's very quick, even search results appear immediately...
Re:How we migrated onto K8s in less than 12 months by nikau on Thursday August 08, 2024 @08:09PM (#41197683)
Have you ever used an old ticketing system like remedy? Ugly as sin, but screens appear instantly.

I think Web apps have been around so long now people have forgotten how unresponsive things are vs old 2 tier stuff.

Re:How we migrated onto K8s in less than 12 months by BeefWellington on Friday August 09, 2024 @12:29AM (#41198772)
There's a definite vibe these days of "this is how it's always been" when it really hasn't.
Re:How we migrated onto K8s in less than 12 months by throwaway48540 on Friday August 09, 2024 @03:17AM (#41199492)
The SPA Jira cloud is faster than anything server rendered for me, my connection is shit. In Jira I can at least move to static forms quickly and I'm not downloading the entire page on every move.
Re:How we migrated onto K8s in less than 12 months by chuckadams on Friday August 09, 2024 @10:27AM (#41202167)
I’ve used Remedy in three different shops, and the experience varied dramatically. The entry screen might have popped instantly, but RPC timeouts on submission were common. Tab order for controls was the order they were added, not position on the screen. Remedy could be pleasant, but it was very dependent on a competent admin to set up and maintain it.
Re:How we migrated onto K8s in less than 12 months by abrookewood on Thursday August 08, 2024 @08:37PM (#41197805)
Maybe you're being honest, but you're using a throwaway account and I use Cloud Jira every day. It's slow and bloated and drives me crazy.
Re:How we migrated onto K8s in less than 12 months by kahmeal on Thursday August 08, 2024 @09:44PM (#41198127)
Has a LOT to do with how it's configured and what plugins are installed.
Re:How we migrated onto K8s in less than 12 months by jiggawatts on Thursday August 08, 2024 @10:33PM (#41198362)
It really doesn't. This is the excuse trotted out by Atlassian staff when defending their products in public forums, essentially "corporate propaganda". They have a history of gaslighting users, either telling them to disregard the evidence of their own lying eyes, or that it's their own fault for using the product wrong somehow.

I tested the Jira cloud service with a new, blank account. Zero data, zero customisations, zero security rules. Empty.

Almost all basic operations took tens of seconds to run, even when run repeatedly to warm up any internal caches. Opening a new issue ticket form was especially bad, taking nearly a minute.

Other Atlassian excuses included: corporate web proxy servers (I have none), slow Internet (gigabit fibre), slow PCs (gaming laptop on "high performance" settings), browser security plugins (none), etc...

Re:How we migrated onto K8s in less than 12 months by ffsm8 on Thursday August 08, 2024 @11:48PM (#41198628)
> Opening a new issue ticket form was especially bad, taking nearly a minute.

At that point, something mustve been wrong with your instance. I'd never call jira fast, but the new ticked dialog on a unconfigured instance opens within <10s (which is absolutely horrendous performance to be clear. Anything more then 200-500ms is.)

Re:How we migrated onto K8s in less than 12 months by jiggawatts on Friday August 09, 2024 @02:01AM (#41199154)
Cloud Jira is notably slower than on-prem Jira, which takes on the order of 10 seconds like you said.
Re:How we migrated onto K8s in less than 12 months by ffsm8 on Friday August 09, 2024 @02:14AM (#41199199)
That does not mirror my own experience. And it's very easy to validate. Just create a free jira cloud instance, takes about 1 minute ( https://www.atlassian.com/software/jira/try ) and click new issue.

it's open within 1-2 sec (which is still bad performance, objectively speaking. It's an empty instance after all and already >1s )

Re:How we migrated onto K8s in less than 12 months by jiggawatts on Friday August 09, 2024 @02:24AM (#41199252)
Ah, there's a new UI now. The last time I tested this, the entire look & feel was different and everything was in slow motion.

It's still sluggish compared to a desktop app from the 1990s, but it's much faster than just a couple of years ago.

Re:How we migrated onto K8s in less than 12 months by throwaway48540 on Friday August 09, 2024 @02:40AM (#41199322)
This is just not true. The create new issue form appears nearly immediately. I have created two tickets right now - in less than a minute including the writing of few sentences.
Re:How we migrated onto K8s in less than 12 months by hadrien01 on Friday August 09, 2024 @08:34AM (#41201220)
Atlassian themselves don't use JIRA Cloud. They use the datacenter edition (on-premise) for their public bug tracker, and it's sooooo much faster than the Cloud version: https://jira.atlassian.com/browse/
Re:How we migrated onto K8s in less than 12 months by lmm on Friday August 09, 2024 @12:45AM (#41198840)
With cloud Jira you get thrown on a shared instance with no control over who you're sharing with, so it's random whether yours will be fast or extremely slow.
Re:How we migrated onto K8s in less than 12 months by Lucasoato on Friday August 09, 2024 @03:24AM (#41199532)
I’m starting to think that these people praising Jira are just part of an architected PR campaign that tries to deny what’s evident to the end users: Jira is slow, bloated in many cases almost unusable.
Re:How we migrated onto K8s in less than 12 months by randomdata on Thursday August 08, 2024 @09:31PM (#41198058)
> It's very rare to meet a developer who has even the vaguest notion of what an RPC call costs in terms of microseconds.

To be fair, small time units are difficult to internalize. Just look at what happens when someone finds out that it takes tens of nanoseconds to call a C function in Go (gc). They regularly conclude that it's completely unusable, and not just in a tight loop with an unfathomable number of calls, but even for a single call in their program that runs once per day. You can flat out tell another developer exactly how many microseconds the RPC is going to add and they still aren't apt to get it.

It is not rare to find developers who understand that RPC has a higher cost than a local function, though, and with enough understanding of that to know that there could be a problem if overused. Where they often fall down, however, is when the tools and frameworks try to hide the complexity by making RPC look like a local function. It then becomes easy to miss that there is additional overheard to consider. Make the complexity explicit and you won't find many developers oblivious to it.

Re:How we migrated onto K8s in less than 12 months by j16sdiz on Friday August 09, 2024 @12:16AM (#41198723)
Those time cost need to contextualize with time budgets for each service. Without that, it is always somebody else's problem in a RPC world.
Re:How we migrated onto K8s in less than 12 months by HideousKojima on Friday August 09, 2024 @11:30AM (#41202822)
>Just look at what happens when someone finds out that it takes tens of nanoseconds to call a C function in Go (gc).

I'm not too familiar with Go but my default assumption is that it's just used as a convenient excuse to avoid learning how to do FFI.

Re:How we migrated onto K8s in less than 12 months by lmm on Friday August 09, 2024 @12:46AM (#41198844)
> This is how you end up with apps like Jira taking a solid minute to show an empty form.

Nah. Jira was horrible and slow long before the microservice trend.

Re:How we migrated onto K8s in less than 12 months by p_l on Friday August 09, 2024 @02:53AM (#41199387)
JIRA slowness usually involved under provisioned server resources in my experience
Re:How we migrated onto K8s in less than 12 months by lmm on Monday August 12, 2024 @07:59PM (#41230726)
Nope. You could put it on a beefy machine with a beefy database and it would still crawl a lot of the time. It just had some combination of terrible database querying and general slowness. The whole generic inner-platform effect way it's constructed (e.g. having its own ticket query language that they presumably translate generically into SQL) was probably a big factor.
Re:How we migrated onto K8s in less than 12 months by p_l on Tuesday August 13, 2024 @04:19PM (#41239355)
Not discounting your knowledge, but somehow that was never the case for me across multiple companies, with I think one exception and even that one wasn't as slow as people talk about, despite being the worst I ever encountered.

In fact, I'd argue that one of the biggest annoyances I had in last job was that I actually missed JIRA, or rather it's glorious issue list view with its keyboard shortcuts.

Re:How we migrated onto K8s in less than 12 months by otabdeveloper4 on Friday August 09, 2024 @01:52AM (#41199117)
It's actually worse than what you said. In 2024 the network is the only resource we can't upgrade on demand. There are physical limits we can't change. (I.e., there are only so many wires connecting your machines, and any significant upgrade involves building your own data center.)

So really eventually we'll all be optimizing around network interfaces as the bottleneck.

Re:How we migrated onto K8s in less than 12 months by jiggawatts on Friday August 09, 2024 @02:00AM (#41199148)
cough speed of light cough