HackerTrans
TopNewTrendsCommentsPastAskShowJobs

zmxz

no profile record

comments

zmxz
·2 years ago·discuss
It's obvious you have no idea what ZTS build of PHP does and you're just spewing nonsense at this point.

Creating a few thousand "new object" takes less than 5 msec. Test it. I have.

FrankenPHP uses a Go-based balancer that distributes requests to array of pre-started workers. Just like PHP-FPM does.

If you already used PHP's parallel extension, then you should at least know the difference between thread and process instead of typing buzzwords, thinking it makes you look cool if you use them :)
zmxz
·2 years ago·discuss
It doesn't even depend. The underlying engine that executes opcodes is the same. Minimal speedup from not having to execute several "new objectname" commands isn't even a drop in the sea when it comes to what servers do.

I, for one, would love to be wrong about this and that FrankenPHP with all the other alternative runtimes actually brought benefits.
zmxz
·2 years ago·discuss
There are claims this is faster. It's not. I used it, together with other "alternative" runtimes which are just PHP command line interface long running scripts with some sort of task distribution balancer in front. Just like PHP-FPM is.

The apparent speedup comes from the fact it's not shared-nothing, meaning that objects from previous requests (and variables) are persisted and present in subsequent requests. This makes it work exactly like Node.js, removing the wonderful part of PHP which is that it automatically cleans up all the crap devs created and creates clean slate when next request is to be executed.

All of these "alternative" runtimes are false positives, because they're quick for first few requests but get slower and slower for the subsequent ones. Then, the workers are killed and restarted (precisely what PHP-FPM does too).

Since there's no new engine behind executing PHP, the only way FrankenPHP (and others) can yield any performance is when they're benchmarked against misconfigured PHP-FPM (opcache off, JIT off, persistent connections off).

It's not my cup of tea. I like that there are attempts at doing <something> but turning PHP execution model into Node.js execution model isn't the way to go.

I find it cheaper to throw a few bucks at stronger hardware compared to risking accurate execution to become flaky because shared-nothing is now unavailable.
zmxz
·4 years ago·discuss
> I get it, Jira sucks, I agree, but what's the go-to competitor?

You started to ask hard questions but you hit nail on the head.

Jira is bad because it's slow and doesn't telepathically adjust itself to everyone's needs.

Perhaps the author can buy ifuckinglovejiragotocompetitor.com to provide us with the answer.
zmxz
·4 years ago·discuss
Number 7: "Anything you say before the word “but” does not count."
zmxz
·4 years ago·discuss
Your comment should be the #1 in this entire thread.
zmxz
·4 years ago·discuss
What made you post such a negative comment? You could have just closed the window and resumed with your day, but what propelled you to be so angry about this particular advice that you had to write about it here?

The list is obviously not for you, but this reflex where one needs to be so angry and vocal about something so benign (and useful) is what makes me question what have we done to ourselves as a society.