Readit News logoReadit News
SadCordDrone commented on Anti-patterns in event-driven architecture   codeopinion.com/beware-an... · Posted by u/indentit
onetimeuse92304 · 2 years ago
Not specifically about event-driven, but the most damaging anti-pattern I would say is microservices.

In pretty much all projects I worked with in recent years, people chop up the functionality into small separate services and have the events be serialised, sent over the network and deserialised on the other side.

This typically causes enormous waste of efficiency and consequently causes applications to be much more complex than they need to be.

I have many times worked with apps which occupied huge server farms when in reality the business logic would be fine to run on a single node if just structured correctly.

Add to that the amount of technology developers need to learn when they join the project or the amount of complexity they have to grasp to be able to be productive. Or the overhead of introducing a change to a complex project.

And the funniest of all, people spending significant portion of the project resources trying to improve the performance of a collection of slow nanoservices without ever realising that the main culprit is that the event processing spends 99.9% of the time being serialised, deserialised, in various buffers or somewhere in transit which could be easily avoided if the communication was a simple function call.

Now, I am not saying microservices is a useless pattern. But it is so abused that it might just as well be. I think most projects would be happier if the people simply never heard about the concept of microservices and instead spent some time trying to figure how to build a correctly modularised monolithic application first, before they needed to find something more complex.

SadCordDrone · 2 years ago
Also - you give up type safety and refactoring. LoL
SadCordDrone commented on Anonymous Source Shared Leaked Google Search API Documents   sparktoro.com/blog/an-ano... · Posted by u/andrewfong
SadCordDrone · 2 years ago
Didn't read article fully, but - since it's protocall buffer definitions, what if these fields are there for backward compatibility?

Deleted Comment

SadCordDrone commented on Google fires more workers after CEO says workplace isn’t for politics   washingtonpost.com/techno... · Posted by u/latexr
mightyham · 2 years ago
Are you not aware of the Nakba or Israel using banned weapons on civilians for decades? I'm not saying hamas' actions are justified but there is no side in this conflict that can confidently claim moral superiority.
SadCordDrone · 2 years ago
As I said elsewhere, morality is a social construct. Survival is a biological instinct.
SadCordDrone commented on Google fires more workers after CEO says workplace isn’t for politics   washingtonpost.com/techno... · Posted by u/latexr
KenArrari · 2 years ago
Personally if my customer was using my services to figure out the optimal time to kill someone in a way that also kills their family, and my employees were collectively protesting that, I would just decline their money.
SadCordDrone · 2 years ago
Not if the customer is killing a potential future adversary to my family or even distant relatives.

Morality is a social construct. The selfish gene is a biological construct.

SadCordDrone commented on Google fires more workers after CEO says workplace isn’t for politics   washingtonpost.com/techno... · Posted by u/latexr
2OEH8eoCRo0 · 2 years ago
Good. You're there to work.

It also feels uniquely selfish. "I love the money but I still want to protest!" If you feel so strongly then quit but that would require sacrifice.

SadCordDrone · 2 years ago
This is very logical, albeit sounding rude. I think the parent commenter should not be downvoted for this.

If you cant come to terms with what your employer is doing, it's in the right of the either party to terminate the contract.

Morality is a subjective argument and non-sequiter here anyway.

SadCordDrone commented on How web bloat impacts users with slow devices   danluu.com/slow-device/... · Posted by u/jasondavies
_heimdall · 2 years ago
Did no one call bullshit on the test before running it? Personally I'd just flat out refuse to run the test, likely designing the proper test comparing while third party scripts where enabled.

Management and product owners should understand how these things work, and shouldn't ask for bogus data when they do. But teams implementing the changes should just flat out refuse when they know the request isn't reasonable.

SadCordDrone · 2 years ago
Sir, in most companies if you suggest something technical without having equivalent political power, at best, no one will listen to you. At worst you will create political enemies.

Probably there was an SDE-2 or SDE-3 who called bullshit on it and got ignored.

SadCordDrone commented on JIT WireGuard   fly.io/blog/jit-wireguard... · Posted by u/Lwrless
bananapub · 2 years ago
> Those use different (less efficient, older, and perhaps deprecated-in-the-future) APIs.

then correct your initial post, which says something entirely different:

> Fun fact: the WireGuard macOS client application cannot work on macOS unless it's distributed via the App Store - Apple simply will not provide the required VPN entitlements for web/self distributed apps. You can use the commandline wg tools (which use a different OS API) but not the GUI ones.

it really is increasingly annoying that people just post nonsense on HN to back up their dumb prejudices.

SadCordDrone · 2 years ago
Hey Tim, come with your real ID.
SadCordDrone commented on GitHub Spam   djanes.xyz/spam-on-github... · Posted by u/bl4ckneon
SadCordDrone · 2 years ago
My first question is - are these spams fishing for direct victims, or some dirty SEO trick?

u/SadCordDrone

KarmaCake day31November 23, 2023View Original