Earlier quoted context omitted.
In a former job, I wrote a static PWA to do initial provisioning for robots. A tech would load the page, generate a QR code, and put it in front of the camera to program the robot. When I looked into having this static page hosted on internal infra, it would have also needed minimum two dedicated oncalls, terraform, LB, containerization, security reviews, SLAs, etc. I gave up after the second planning meeting and put…
> When I looked into having this static page hosted on internal infra, it would have also needed minimum two dedicated oncalls, terraform, LB, containerization, security reviews, SLAs, etc. In my experience there are two kinds of infrastructure or platform teams: 1) The friendly team trying to help everyone get things done with reasonable tradeoffs appropriate for the situation 2) The team who thinks their job is to…
The appeal of serving your web pages with a single process
21–30 of 63 posts
Re: The appeal of serving your web pages with a single process
#22Re: The appeal of serving your web pages with a single process
#23Would love to explore this in Python. But would it be correct to assume single process service would not be as performant due to GIL?
The GIL is also on the way out: Python 3.13 already shipped the first builds of "free threading" Python and 3.14 and onwards will continue to make progress on that front: https://docs.python.org/3/howto/free-threading-python.html
And honestly, a Python web app running on a single core is still likely good for hundreds or even thousands of requests a second. The vast majority of web apps get a fraction of that.
Re: The appeal of serving your web pages with a single process
#24Earlier quoted context omitted.
They went from leading / pioneering horizontal scalability and database deploying and scaling and orchestration to "quiet-quitting" 15 years ago and doing almost nothing ever since - today they're barely worthy of mention in any discussion on any tech that solves these problems.
We define worth. I mention Heroku as a great way to make web applications at various scales. Reliable, and easy to use.
Re: The appeal of serving your web pages with a single process
#25Then why not go to the extreme and just build a static version and serve that? Why do you need any dynamic content at all? Then you won't need shared state, then you won't need a database, then you won't need 90% of the stuff that dynamically driven pages need. Be the l33t h4x0r you are and just go static, save the complexity for your build process, because that shows the true hacker spirit. Hell, you may even be abl…
Re: The appeal of serving your web pages with a single process
#26Re: The appeal of serving your web pages with a single process
#27Re: The appeal of serving your web pages with a single process
#28Re: The appeal of serving your web pages with a single process
#29what was that superfast web server, opensource of some sort, from about 25 years ago, single process, single thread? it just raced around a loop taking care of many queued i/o streams
Today I would not recommend single threading since it won't be able to use multiple cores.
Re: The appeal of serving your web pages with a single process
#30I guess it depends on what world you live in. For example, using ASPNET Core, I just drop in this https://learn.microsoft.com/en-us/aspnet/core/performance/ra... and boom I have rate limiting and I do not have to stress about threads or state or whatever.