News for hackers. Stuff that matters.
Re:Ask HN: Why did Frontend development explode in complexity? by peterhunt on Monday January 02, 2023 @11:20AM (#34219656)
Early react team member here. The popular react/webpack/npm stack is probably what the OP is talking about. It was popularized because the Instagram web team used webpack and npm in 2013 so we recommended it alongside react in the early days. I was TLM of the team when we made these decisions.

There are three main points I want to add to the conversation.

1. UIs actually have a lot of complexity. The number of states they can be in is often higher than what you see in other disciplines of software engineering. They also have to contend with managing data fetching over unreliable networks, including balancing bundle size. Additionally they are notoriously hard to test because “does this feel right to a user” is hard to encode programmatically.

2. The grass isn’t greener on the other side. I see a lot of people complaining about the needless complexity of the frontend stack but I don’t think they’ve worked in a modern backend engineering or data engineering project. Modern backend eng is a morass of kubernetes configuration, needless microservices and overuse of async queues, for example. Feels a lot like frontend in terms of accidental complexity. So I’d argue that this is less of a frontend problem and more of an industry wide thing (cynically, it might be a ZIRP thing)

3. With that said there certainly is needless accidental complexity in frontend and I am convinced content marketing is 100% to blame. An easy way to hire engineers is to create an open source project and write a blog post convincing people to use it. This is good for the company and good for the careers of the engineers who worked on it, but can cause people to needlessly complicate their tech stack if they can’t cut through the noise.

Re:Ask HN: Why did Frontend development explode in complexity? by badrabbit on Monday January 02, 2023 @11:27AM (#34219750)
What is ZIRP?
Re:Ask HN: Why did Frontend development explode in complexity? by peterhunt on Monday January 02, 2023 @11:29AM (#34219773)
Zero internet rate policies :)

Sometimes companies have too much money and they overhire.

Re:Ask HN: Why did Frontend development explode in complexity? by rubyfan on Monday January 02, 2023 @11:56AM (#34220178)
I think you typo'd

Zero interest rate policies

https://www.investopedia.com/articles/investing/031815/what-...

Re:Ask HN: Why did Frontend development explode in complexity? by peterhunt on Monday January 02, 2023 @12:02PM (#34220288)
Autocorrect got me! Thanks
Re:Ask HN: Why did Frontend development explode in complexity? by pas on Monday January 02, 2023 @11:55AM (#34220170)
zero interest rate policy, which basically means central banks do stuff to keep interbank interest rates very low (close to zero in the US, and it was even negative in the EU)

https://www.ecb.europa.eu/stats/policy_and_exchange_rates/ke...

Re:Ask HN: Why did Frontend development explode in complexity? by pmlnr on Monday January 02, 2023 @11:56AM (#34220187)
Don't forget about resume driven development, though that ties in with marketing.
Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @12:37PM (#34220846)
This is usually responsible for bad code. Which, to be fair, is often associated with complexity. They are different, though.
Re:Ask HN: Why did Frontend development explode in complexity? by ls15 on Monday January 02, 2023 @12:25PM (#34220660)
And companies that specifically are looking for <INSERT_FRAMEWORK> developers
Re:Ask HN: Why did Frontend development explode in complexity? by salawat on Monday January 02, 2023 @12:13PM (#34220458)
Async queues are far from meaningless. They are the basis of distributed, resumanble/retryable computation.

If you can't see the advantage of keeping your processors fed with work as close to 100% of the time as humanly possible, I got nothing for ya. Hell, AWS is basically popular because you can have novice programmers toss up synchronously programmed lambdas, and scale out the underlying infrastructure with Amazon magic, which in a non-AWS system translates to "define queue and message format which will be servicing producer/consumer workers, deploy and start dumping messages in/popping messages out of said queue; scale to taste.

It takes a while to wrap your head around async, but once you get there, you're building with one of the most powerful computing primitives I've yet to come across.

It's just unfortunate that the language and requisite mental model around it is, in my experience, a bit difficult to intuitively reach.

Re:Ask HN: Why did Frontend development explode in complexity? by peterhunt on Monday January 02, 2023 @12:33PM (#34220772)
I didn’t say they were meaningless, just that they are often overused and can make systems needlessly more complex.

How many microservices architectures with dependent webs of async queues emulating distributed transaction semantics could be replaced by one big rdbms? I think a lot!

Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @12:42PM (#34220920)
My favorite is when a new project thinks it needs this on day one. I'm willing to place money that most new projects will struggle to saturate a single computer. Much less a distributed infrastructure. (yes, I'm well aware there are some cases. But even most fang projects are doing relatively little work, all told.)
Re:Ask HN: Why did Frontend development explode in complexity? by ericlewis on Monday January 02, 2023 @01:08PM (#34221323)
Chime famously (but maybe not externally) ran almost all infra off two co-located beefy servers all the way up to their millionth customer. Maybe that is dumb, but we never had any downtime or slowness that was a result of work we did. The APIs we would rely on sometimes though did.
Re:Ask HN: Why did Frontend development explode in complexity? by z3t4 on Monday January 02, 2023 @02:38PM (#34222585)
* * *
Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @04:30PM (#34223935)
You aren't wrong, but I suspect there was more unnecessary complexity in early computers then you'd allow. Is why don't ridiculous demo scene stuff is still created today. :)
Re:Ask HN: Why did Frontend development explode in complexity? by torginus on Monday January 02, 2023 @04:50PM (#34224155)
It's just so ironic to see this monstrous amount of complexity that is only made tolerable by the massively overpowered hardware beneath it, and which, reduces the throughput of said hardware enough that said complexity becomes necessary.
Re:Ask HN: Why did Frontend development explode in complexity? by stiray on Monday January 02, 2023 @12:20PM (#34220570)
/me remembers MFC/QT/BCGsoft and C++ codebase and gently smiles on thought that maybe the issue are everywhere else except the UI complexity.

We are where we are, but it is interesting that GUI libraries from 20 years back are still running circles around latest and the greatest UI web front-end, even if it is also client rendered.

Maybe, just maybe, we should search for an issue somewhere else?

Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @12:40PM (#34220890)
As much as I hate modern frontend code, I question this narrative. What 20 year old GUI library is running circles around... anything?
Re:Ask HN: Why did Frontend development explode in complexity? by wlesieutre on Monday January 02, 2023 @12:49PM (#34221038)
There’s another discussion going on about how the older layers of Windows you dig into, the more useful the UI gets, perhaps that’s the narrative they’re thinking of: https://news.ycombinator.com/item?id=34216619

I’m inclined to agree, older UI toolkits could make plenty productive UIs. But they aren’t good at following yearly evolving design fads, and webpages tend to lean heavily toward marketing and appearances over being more utilitarian.

Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @01:05PM (#34221289)
Older toolkits were great at single team creations. This, interestingly, did mean the person making it knew exactly how to use test it.

I question whether the toolkits were actually better, or we just had fewer things to use test? Certainly fewer form factors. Granted, the decision to try and have a single code base for many different resolutions and such is, of course, questionable.

Edit: directly to the point, is it the old toolkits that made better tools? Are those same toolkits used today? Pointing at older tools does not show that the toolkits were better.

Re:Ask HN: Why did Frontend development explode in complexity? by steve1977 on Monday January 02, 2023 @02:06PM (#34222216)
Cocoa (macOS) for example
Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @04:34PM (#34223980)
And what modern applications written with it are running circles? Legit question.
Re:Ask HN: Why did Frontend development explode in complexity? by marcellus23 on Monday January 02, 2023 @07:13PM (#34225650)
Almost all of the apps bundled with macOS are written in Cocoa (some are written in Cocoa Touch, which is itself a nearly 15-year-old framework). And a great deal of excellent third-party apps -- off the top of my head, Transmit, Pixelmator, Day One, the Omni Group apps.
Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @08:47PM (#34226498)
The bundled apps feels like an odd claim. I don't think of many of those that feel modern. That said, I'm probably not thinking of the right ones.

Will try to take a peek at the rest of this list. I don't, oddly, use that many native Mac applications.

Re:Ask HN: Why did Frontend development explode in complexity? by marcellus23 on Monday January 02, 2023 @09:32PM (#34226816)
> I don't think of many of those that feel modern.

This is a bit interesting to me, which bundled apps don't feel modern to you? Mail, Notes, Pages, Safari... they all seem modern enough to me.

Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Tuesday January 03, 2023 @09:47AM (#34231977)
Mail has always felt like garbage to me. Notes, I will have to give a try again. Though, really, the entire "office suites" that everyone makes always feels off to me. I will full cede that that is just preference.

Safari feels off, as well. But I'm pretty firmly in camp firefox.

When I think bundled apps, I think of their notepad equivalent. The finder. The calculator. And... that is about it. I remember trying to make a script once, and that script editor left me very very lost.

Re:Ask HN: Why did Frontend development explode in complexity? by sjducb on Monday January 02, 2023 @02:39PM (#34222613)
Django, bootstrap and a sprinkling of jQuery works really well and results in simple code that can be maintained by a single dev. Bootstrap is only 11 years old. jQuery is 15 years old. Django is 18 years old.

jQuery is used by 94% of the websites that use JavaScript.

https://w3techs.com/technologies/overview/javascript_library

Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @04:33PM (#34223971)
None of those are gui toolkits, though. At best, you are pointing to html working rather well at it. Though, that is more force of will from developers, as html was specifically not a front end toolkit at the outset.
Re:Ask HN: Why did Frontend development explode in complexity? by mmcnl on Monday January 02, 2023 @05:27PM (#34224563)
You're comparing apples and oranges.
Re:Ask HN: Why did Frontend development explode in complexity? by mmcnl on Monday January 02, 2023 @05:28PM (#34224576)
Is there an 10+ year old framework that does responsive UIs well?
Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @06:17PM (#34225113)
Is there a younger one? :)
Re:Ask HN: Why did Frontend development explode in complexity? by mmcnl on Tuesday January 03, 2023 @04:52AM (#34229694)
Yes, the web. Responsive by design.
Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Tuesday January 03, 2023 @09:44AM (#34231937)
I thought the challenge was for one that does it well? :D
Re:Ask HN: Why did Frontend development explode in complexity? by spoils19 on Monday January 02, 2023 @06:34PM (#34225280)
What's the point of having a responsive UI?
Re:Ask HN: Why did Frontend development explode in complexity? by criddell on Monday January 02, 2023 @12:44PM (#34220945)
There's always the option of a native client rather than a web-based client. A good example from days gone by is Evernote. If you've only started using it recently you might not know this, but the client used to be really good.
Re:Ask HN: Why did Frontend development explode in complexity? by peterhunt on Monday January 02, 2023 @12:53PM (#34221096)
I haven't used QT or BCGSoft, but I for one have very negative memories of MFC. Sure the performance was much better than anything you get on the web, but the UIs were far less complex, didn't handle window resizing well/at all, handled text overflow poorly, and had much less aggressive design requirements than we have today. There was also a ton of imperative glue code and lots of hard-to-read generated code.
Re:Ask HN: Why did Frontend development explode in complexity? by stiray on Monday January 02, 2023 @01:27PM (#34221616)
Less complex UI, interesting: https://bcgsoft.com/galleries.htm

Please DO open Word 97 (and this is 26 years old UI) and compare it with the best done web UI you are aware of, regardless of framework, as long it is not QT compiled into webasm (as this is the only thing in web that comes close).

Re:Ask HN: Why did Frontend development explode in complexity? by peterhunt on Monday January 02, 2023 @02:22PM (#34222403)
My understanding is that none of the core Microsoft apps like Office were built on MFC. In MFC projects I worked on, generally the simple stuff was built with MFC and anything more complex was built with the win32 API.
Re:Ask HN: Why did Frontend development explode in complexity? by stiray on Monday January 02, 2023 @02:37PM (#34222574)
Actually MFC uses windows api, but this does not change anything, it is still 1997 API. And we are in year 2023 with worse UI, i would expect it to be in reverse.

"generally the simple stuff", no:

https://docs.microsoft.com/en-us/cpp/mfc/media/mfc_heirarchy...

https://docs.microsoft.com/en-us/cpp/mfc/media/mfc_heirarchy...

https://docs.microsoft.com/en-us/cpp/mfc/media/mfc_heirarchy...

MFC had its set of problems which were related to things like passing messages between windows, but all those are on another level.

Re:Ask HN: Why did Frontend development explode in complexity? by spoils19 on Monday January 02, 2023 @06:38PM (#34225316)
Agreed. Perhaps a bit radical, but we should get rid of GUI altogether and enforce that new applications should be command-line driven.
Re:Ask HN: Why did Frontend development explode in complexity? by taeric on Monday January 02, 2023 @12:36PM (#34220814)
Further on the zirp idea, a lot of the explosion can be seen to correlate really well with team sizes. This gets into a feedback loop where you need bigger teams, which in turn means you will benefit more from segmented code. Which means you need more teams.

Not shockingly, the answer isn't a simple use fewer people. Rather, the amount of complexity in a codebase will vary based on budget and organization size. That is, there is no correct answer intrinsic to the code.

Re:Ask HN: Why did Frontend development explode in complexity? by Joeri on Monday January 02, 2023 @12:48PM (#34221023)
For me the reason for the explosion in complexity in both frontend and backend comes down to package managers on all platforms getting way better with transitive dependencies and lowering the cost of adding those dependencies. Developers used to be wary of bringing in another dependency just in case it created some conflict, but ecosystems that near-perfectly encapsulate transitive dependencies have gradually done away with that healthy wariness, with a combinatorial explosion in packages as a consequence.

Create-react-app installs 1500 packages to show a hello world page, and it is quite sane in its choice of dependencies. For me this is a symptom of the whole npm ecosystem being diseased with dependicitis.

Re:Ask HN: Why did Frontend development explode in complexity? by erlich on Tuesday January 03, 2023 @05:18AM (#34229828)
Ironically, I think more dependencies are actually better, because it means they are smaller. "Do one thing well".

The problem is large dependencies depending on other large dependencies.

Dependencies should advertise their transitive dependency tree size including LOC per dep.

Also, the fact that every dep has it's own non-standard build process, language, dir structure, and ESM/CJS legacy support, makes things not ideal.

Re:Ask HN: Why did Frontend development explode in complexity? by lolinder on Tuesday January 03, 2023 @09:16PM (#34241101)
> Ironically, I think more dependencies are actually better, because it means they are smaller. "Do one thing well".

I could believe this if I thought that having 1500 dependencies led to less code overall, but the size of my node_modules folder shows that assumption to be flawed.

The other problem with this argument is that each dependency you add is another set of developers that you are depending on. It's another group of people who could suddenly pull a left pad or worse, and it's another group of people who you have to trust to have written secure code. The fewer dependencies I have, the smaller my chances of being exploited because of a people problem.

Re:Ask HN: Why did Frontend development explode in complexity? by Eric_WVGG on Monday January 02, 2023 @12:50PM (#34221065)
"It was popularized because the Instagram web team used it…" Twenty-five-year front end dev here, I don't recall anyone asking or caring what Instagram was using. Like, obviously projects of that scale make influential suggestions, but when Instagram says "we like This" and AirBnB says "we like That" then you have a couple strong condidates to evaluate.

IMO, the answer is more general: the modern web front-end evolved from lots of different directions. Instead of having one prescribed Correct way (a la AppKit, UIKit, Android Frontend Frameworks, etc.). If Netscape somehow still existed and maintained their peak of influence, things would be different.

Re:Ask HN: Why did Frontend development explode in complexity? by TobyTheDog123 on Monday January 02, 2023 @01:08PM (#34221331)
Disagree on the first reason - I don't think actual application code and logic has anything to do with frontend overcomplexity.

My issue, and the reason I moved away from JS altogether and to Flutter/dart, is the massive amounts of redundant and complex tooling, choices, and concepts.

Webpack, npm/yarn, Typescript (TSConfig), package.json/node_modules, Babel, Prettier/ESLint, React, Remix, Next, Svelte, ESBuild, ES6/ES5/ES2020/ESNext, Tamagui.

Yes I'm mixing categories in the list above, but the point I'm trying to make is that with something like Flutter/Dart, there's only Flutter/Dart.

Even if there's some really cool new JS library that handles all of my application-centric concerns (namely, layout animations and good handling of shared types across n different apps/packages/services), I'll never use a JS library again because it will simply never be enough. I'm not going to use these band-aids anymore.

Re:Ask HN: Why did Frontend development explode in complexity? by mhuffman on Monday January 02, 2023 @01:46PM (#34221903)
>1. UIs actually have a lot of complexity. The number of states they can be in is often higher than what you see in other disciplines of software engineering. They also have to contend with managing data fetching over unreliable networks, including balancing bundle size. Additionally they are notoriously hard to test because “does this feel right to a user” is hard to encode programmatically.

Ok, reasonable, but other frontend Ui toolkits (eg. Vue, Svelte before Sveltekit, etc.) seem to be able to handle this without going "enterprise" levels of complication.

>2. The grass isn’t greener on the other side. I see a lot of people complaining about the needless complexity of the frontend stack but I don’t think they’ve worked in a modern backend engineering or data engineering project. Modern backend eng is a morass of kubernetes configuration, needless microservices and overuse of async queues, for example. Feels a lot like frontend in terms of accidental complexity. So I’d argue that this is less of a frontend problem and more of an industry wide thing (cynically, it might be a ZIRP thing)

This isn't a counterpoint, it is just pointing out that, well everything is getting more complicated. (more on that in a sec)

>3. With that said there certainly is needless accidental complexity in frontend and I am convinced content marketing is 100% to blame. An easy way to hire engineers is to create an open source project and write a blog post convincing people to use it. This is good for the company and good for the careers of the engineers who worked on it, but can cause people to needlessly complicate their tech stack if they can’t cut through the noise.

Ok, this is more to the point and gets to the real crux of the issue, but I don't think it goes all the way.

Every framework that has ever been adopted widely has been later complicated more and more to make it "enterprise-y".

Look at some early JavaScript (used to make webpage counters and fancy menus) and look at some modern Typescript, which is almost indistinguishable from enterprise Java and used as a basis for SaaS startups.

As soon as "professionals" get involved, it starts getting complicated. Every framework is susceptible to this if there is any amount of adoption.

Look at my beloved original Svelte. Now go look at the absolute shit-show that is the latest Sveltekit! (granted it is still better than the alternatives!)

To your second item above, look at how relativity easy it was to monitor or restart some monolithic projects back in the day with some simple scripts, email, and cron jobs, now it is, as you say, a "morass of kubernetes configuration, needless microservices and overuse of async queues". Literally make-work for the sake of itself in many cases!

Why?

It worked before, why is this necessary? It is the "enterprization" of everything and I agree with your third point that a big component of this is content marketing.

But at the end of the day it is more about the concept of "feeling professional". I mean, if you can teach someone how to program in JS in a couple of afternoons, how can you seriously justify $150k salaries and 3 levels of middle and project management to oversee such a thing?

The original canonical edition of this was JAVA. It was amazing seeing it go from where it started to the, almost satirical, levels of "enterprization" today. The modern version of this is JavaScript.

In both cases complication was added to make it more "serious" not necessarily to make it any better.

Re:Ask HN: Why did Frontend development explode in complexity? by H1Supreme on Monday January 02, 2023 @04:59PM (#34224255)
> Ok, reasonable, but other frontend Ui toolkits (eg. Vue, Svelte before Sveltekit, etc.) seem to be able to handle this without going "enterprise" levels of complication.

I've used Vue (2.0) and React extensively. I find them to be pretty equal in terms of complexity on reasonably large projects.

Re:Ask HN: Why did Frontend development explode in complexity? by mmcnl on Monday January 02, 2023 @05:35PM (#34224658)
For all intents are purposes they are roughly the same. Same ideology, same goal, same developer workflow. Vue has a bit more syntactic sugar which takes away most of the complexity of React (unnecessary rerenders, useEffect hook that has its own book and still no one understands it) at the cost of somewhat leaky abstractions. Vue 3 is a huge step ahead by the way.
Re:Ask HN: Why did Frontend development explode in complexity? by mhuffman on Tuesday January 03, 2023 @08:40AM (#34231147)
Everything will get complicated on large projects. The problem, especially the problem pointed out by GP, is that there is a lot of over-complication in smaller projects ... which is most projects!
Re:Ask HN: Why did Frontend development explode in complexity? by mmcnl on Monday January 02, 2023 @05:33PM (#34224639)
Every decision is a trade-off. If you call TypeScript complicated, what do you call maintaining a 1000+ component-based web app without types? Please try to understand that every decision is a trade-off. Also, all the major frameworks default to non-TypeScript documentation, so nothing is getting more complicated.
Re:Ask HN: Why did Frontend development explode in complexity? by mhuffman on Tuesday January 03, 2023 @08:37AM (#34231106)
>Every decision is a trade-off.

Sure, the problem is that people are making the trade-off without justifying the decision.

Re:Ask HN: Why did Frontend development explode in complexity? by kevinak on Tuesday January 03, 2023 @05:01AM (#34229747)
I'm sure you know this already but to clarify - Svelte isn't going anywhere and you can still very much use it without SvelteKit

Curious though, what are the problems you see with SvelteKit? It can always be improved!

Re:Ask HN: Why did Frontend development explode in complexity? by thefourthchime on Monday January 02, 2023 @02:23PM (#34222405)
> Modern backend eng is a morass of kubernetes configuration, needless microservices and overuse of async queues, for example

That's certainly the trend. At my org, we "partnered" with AWS to help us figure out what the tech stack should look like. Sure enough, everything should be in an SQS queue, triggered off S3 running in AWS Step that's triggered through SNS notifications. All this requires countless lambdas which means deployments can last hours.

It's a mess to debug (meaning you can't), track logs, track status, etc.. Does all that "work"? It can, sometimes. Does it scale? For sure, theoretically, if you can get it all running.

In my team we use a trick to just run everything in AWS Batch containers, it's much easier, deploys quickly, and we can run the whole stack locally and debug it.

Re:Ask HN: Why did Frontend development explode in complexity? by bushbaba on Monday January 02, 2023 @02:26PM (#34222435)
If you don’t need scale then keep things simple. :D
Re:Ask HN: Why did Frontend development explode in complexity? by ecshafer on Monday January 02, 2023 @09:36PM (#34226856)
I worked at a company that did the same, and got the same answer. I hated that technical setup. Lambdas everywhere, Queues everywhere, microservices everywhere Exactly as you can said it was a huge pain to debug, and on top of that searching for code became a huge pain as it became split across so many different git repos, teams, and docs. And when you throw IAM on top of it all..... I am not a fan.
Re:Ask HN: Why did Frontend development explode in complexity? by nunez on Tuesday January 03, 2023 @12:56AM (#34228237)
Makes sense that AWS would recommend these stacks (they are probably compliant with their Well Architected Framework), though the idea is to recommend something that can scale de facto infinitely with minimal SMEs required to run it all.

I agree that aiming for the simplest service your team can maintain is the best approach, scaling up as needed.

Re:Ask HN: Why did Frontend development explode in complexity? by Terretta on Monday January 02, 2023 @05:52PM (#34224837)
My first CTO job working for someone else in late 90s, I got the job by showing them a web-based re-implementation of Outlook that leveraged POP/IMAP server-side. Form and functionality was essentially indistinguishable from the Windows app.

This was Outlook 8, in 1999, for Netscape and IE 4.

Needless to say, I don't really buy the current complexity trends either above or below the waterline, and certainly agree with your #3.

If you couldn't build a 12 factor app using, say, HTML4/5, AJAX, and PHP, Rails, ASP.net, or (ahem) ColdFusion and a SQL server, that works on, say, 3+ webservers and 2+ DB servers, I'd argue "architects" have no business "architecting" an application leveraging today's SPA stacks on K8s. They probably don't understand enough to know what things are made of, how they work, or the characteristics likely to need support under usage.

These are the client-side building blocks:

- HTML (or XHTML) and CSS for presentation

- The Document Object Model (DOM) for dynamic display of and interaction with data

- JSON or XML for the interchange of data (optional XSLT for XML manipulation)

- The XMLHttpRequest object for asynchronous communication

- JavaScript to bring these technologies together

Server-side, the know-how to:

- manage stateless load balancing and parallelism;

- handle HTTP verbs, HTTP return codes, and XML or JSON;

- use pooled connections to a SQL cluster;

- and leverage something like memcache or similar to avoid using those SQL cluster connections except as write through cache.

A tech stack built like this can handle a billion hits a month of dynamic e-commerce traffic (products, carts, accounts, purchases) with a hardware layer 7 switch (load balancer and SSL), 4 Pentium IIIs running nginx and PHP, and a pair of SQL servers.

A billion hits a month.

Re:Ask HN: Why did Frontend development explode in complexity? by wg0 on Monday January 02, 2023 @06:25PM (#34225198)
Few things.

About #1 there's Win32 API, MFC, WinForms, GTK, Qt, Swing and all do UI and thousands of applications are built with far more state and complex UIs than a normal SaaS, price comparison portal or a booking website ever could imagine - but none of those technologies are ascomplex, as bloated and as fragile as modern frontend stack has become.

Second - Backend complexity, Kubernetes isn't Backend precisely, async Queues are unavoidable but these Microservices are basically an anti pattern driven by greed to land the next Job and hence insistence on using different programming languages per team/indivual etc. Now a cottage industry in it's own right with it's own self proclaimed scholars whereas it is just and exactly the domain of distributed system already.

If that constraint of per team programming language of choice is removed or languages interoperate with zero configuration, 98% of the companies need just well maintained internal libraries.

Re:Ask HN: Why did Frontend development explode in complexity? by 0xsnowcrash on Friday January 06, 2023 @05:21AM (#34273065)
By "ZIRP", did you mean "Zero interest-rate policy", "Zurich Integrative Rodent Physiology" or "Zimbabwe Idai Recovery Project" (top 3 results on DuckDuckGo)?