News for hackers. Stuff that matters.
Re: by MuffinFlavored on Sunday February 05, 2023 @01:55PM (#34667715)
What does the edge mean? I've always understood it as, you are most likely using cloud hosting of some sort and edge means "an instance of some code running in the geolocation closest to your customers"?

I can't think of many projects I've worked on where I've come across that need for performance. How do you handle connecting to a database or cache? Do you have a bunch of databases shaded at the edge? Does the edge talk back to your database that isn't at the edge?

Buzzwords: Kubernetes, WebAssembly, edge

Not saying that with any negative connotation. Interested in learning typical every day problems that require this. I thought edge was for like... get static HTML/CSS/JS/images/video to customers as quickly as possible (sub 50ms)

Re: by cpitman on Sunday February 05, 2023 @02:35PM (#34668245)
It means varying levels of "not a central data center". For anyone wanting to do edge, you first need to understand what it means to them. Sometimes the edge is distributed sites that still have a rack of hardware, say in factories or distribution centers. Sometimes it is one or two computers at all of your stores, but still "general purpose" hardware. And sometimes it is purpose built devices, like Point of Sales Systems or a radio on every train. Etc.

Each form factor has different considerations, and each application different design patterns. For example, at a retailer I worked at each store had a message broker, and orders would be sent through that broker up to the central data center. If/when the store was disconnected, it could continue to queue up orders until the connection was restored. As opposed to housing everything in the data center, and needing to fall back to a paper process if the internet goes down.

Re: by azakai on Sunday February 05, 2023 @02:32PM (#34668214)
> What does the edge mean?

I was confused by that too. I've seen "edge" mean certain things in the web space (Cloudflare workers, Fastly compute, etc.), but in this article it apparently means "IoT" (Internet of Things, tiny devices with internet connections).

Re: by wrs on Sunday February 05, 2023 @02:12PM (#34667918)
I would define it as “the closest place to the end user that you can deploy software”. In the case of a web app, yes, that may be a CDN point of presence. In the case of Walmart, there are servers in the store running business apps. On a farm there might be something running on a fancy tractor.
Re: by MuffinFlavored on Sunday February 05, 2023 @02:48PM (#34668418)
If the servers running in-store at Walmart have to talk to a server hosted by Walmart that isn't in store, what's the benefit?
Re: by mesebrec on Sunday February 05, 2023 @03:15PM (#34668805)
* much lower latency for most operations * the ability for graceful degradation when the network or cloud is down. You don't want the checkouts to stop working just because the cloud is down.

If literally every action requires a round trip to the cloud, then edge computing isn't for you. That's not the case for a lot of functionality, however.

Re: by coredog64 on Sunday February 05, 2023 @02:00PM (#34667765)
Chik-Fil-A and Target run k8s in each store. CFA’s experience doing so had them providing lessons-learned feedback to the DoD so that they could replicate it for on-aircraft software deployments.
Re: by twalla on Sunday February 05, 2023 @05:44PM (#34670545)
On-aircraft k8s gives CrashLoopBackoff a whole new meaning.
Re: by agoose77 on Sunday February 05, 2023 @08:16PM (#34671972)
I can only picture how one of those three terms would work
Re: by factorialboy on Sunday February 05, 2023 @02:50PM (#34668443)
> What does the edge mean?

Server with limited capabilities located near you.

Re: by mesebrec on Sunday February 05, 2023 @02:53PM (#34668503)
For this project, I'm specifically referring to low-power devices sitting inside of the user's premises. For example, home automation gateways, factory machines, drones etc.

I'm not really talking about CDNs or offerings such as Fastly Compute@edge.

Right now, most of these devices have bespoke solutions for deploying and updating software. Switching those devices to Kubernetes allows developers to use the same tools and processes from the cloud.

Re: by Arbortheus on Sunday February 05, 2023 @05:40PM (#34670504)
I think in this scenario it just means a localised server. I imagine the problem people are trying to solve is just wanting to manage infrastructure in modern GitOps/Infrastructure-as-code ways.

Ultimately people want to deploy all their tech infrastructure in such a way that they can address the "treat X as cattle, not pets" problem. Kubernetes is one way to do this.