There's a story I heard about the oil industry in not-europe. Flaring off natural gas because it wasn't economically feasible to capture it and store it for energy is just "how things were". Ever idiot can see it's a waste, but it takes a special government to see how to fix that waste.
Talk to the engineers to figure out how much it would cost to capture that natgas. Set the fine for flaring natural gas to be that, + $10,000 or so per day.
Voila! Suddenly it's economical to capture that natgas.
Unrelated to the discussion at hand but information for people that game stream on their Apple Devices: If you experience unexplained stuttering, change the 5ghz wifi channel to 149.
Hello! How are you collecting your edge workload to the database? Are you using cloudflare’s database?
I’ve wanted to try out this edge hosting thing but because of the amount of round trips involved between the application and the database, the application performs worse on the edge.
The database is hosted on Railway. I have enabled Smart Placement that should, depending on request time, automatically use an endpoint closer to the database to speed it up. When requesting a route that includes a database request, the response time on the US east coast is around 200ms and closer to 1000ms in Denmark. I am hoping that the Smart Placement will work better when I go live with the app (still in beta) and that it mainly needs more traffic to calculate optimal endpoint placement.
Have you given Hyperdrive[0] a try? In theory, it should improve performance in your use case where you have a central database (Railway) being connected to from the Edge (your Workers).
It moves the DB connection logic closer to your Workers, pools connections, and can also cache queries.
(Disclaimer: I work for Cloudflare, but on an unrelated team. Not personally used Hyperdrive, but heard good things!)
It actually looks very interesting, but my app is not particularly affected by database query time, but rather by the time spent on the various AI generations.
My app isn't database heavy; most pages renders without a single database call (user information stored in cookie) and the pages that do call the database contain maximum one call. Other data, like database schemas and subscription status, are requested in the background directly from the browser so it doesn't stall page rendering.
Forgive my optimism here but this seems overblown and trivial to detect and reject in firewalls/cdns.
Cloudflare most recently blocked a vulnerability affecting some php websites where a zip file upload contains a reverse shell. This seems plain in comparison (probably because it is).
This sensationalist headline, that doomsday style clock (as another poster shared) makes me question the motives of these researchers. Have they shorted any CDN stocks?
The underlying flaw is a parser differential. To detect that generically you'd need a model of both(/all) parsers involved, and to detect when they diverge. This is non-trivial.
You can have the CDN normalize requests so that it always outputs wellformed requests. This way only one parser deals with an untrusted / ambiguous input.
It's the whole ecosystem, Valve selling keys (making $1b in 2023 alone [0]) and the numbers are only going up since [1]
On top of that they take a cut form every single transaction so even just people selling cases between each other makes Valve a fuckton of money.
And there are the 3rd party sites which are running on the SteamAPI where people can bet these cases, keys, and skins on CS matches. It's an insane system running freely without any oversight from anyone
The idea that the actions taken were politically motivated (and not because cryptocurrency has always been scam-adjacent) was a lie, and also just nonsense.
Banks don't give a shit if you are or aren't woke any more than home insurance adjusters in Florida care if you believe in climate change or not.
Writing module bundlers in Javascript had diminishing returns from multi threading because of the overhead of serializing and deserializing ASTs.
I wonder how far something like this would push the ceiling. Would love to see some benchmarks of this thing hauling ASTs around.
reply