202 karma · joined May 9, 2018 (8y ago) · 79 submissions
comment 2mo ago · link · parent
https://www.chemistryworld.com/opinion/a-risk-not-worth-taki...
comment 8mo ago · link · parent
comment 9mo ago · link · parent
comment 1y ago · link · parent
Power is energy per time unit (thus: energy = power x time), so while the power of a lightning strike is very high (~10GW), the overall energy isn't because it only lasts for a very short duration (apparently the duration of a lightning event is hard to define, [1] says about 0,5 seconds, other places mention much shorter durations, ~10us). So if that 10GW lasts for 0,5 seconds, the total energy is 1,4MWh, which is 1/6 to 1/10 of the electrical energy an average American household consumes in a year[2].
[1] https://amt.copernicus.org/articles/16/547/2023/ [2] https://www.eia.gov/energyexplained/use-of-energy/electricit...
comment 1y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
comment 2y ago · link · parent
I think we're dealing with someone who had limited experience with both Python and Ruby. This article is somehow getting more attention then it merits.
comment 2y ago · link · parent
comment 3y ago · link · parent
This is done because web servers are optimised to handle (many) requests from clients (including things like TLS termination, optimised handling of static files, orchestrate to which backend service to send a request and much more), while application servers are optimised to run the application code.
In this model, the web and app servers run separately, for example in separate containers and they have to talk to each other so you have to somehow connect them (often this is done through a network socket).
So what Nginx Unit does is combining the two: it can do the standard web server stuff (not everything a normal nginx can do, but often that's not needed anyway), but also run your application for you, which could, depending on your setup, make your life a bit easier, as now you don't have to tie the two together.
comment 3y ago · link · parent