News for hackers. Stuff that matters.
Re:High-Performance server for NATS.io, the cloud and edge n... by zmmmmm on Sunday July 23, 2023 @07:42PM (#36841229)
Struggling to figure out what "cloud native" actually means. Unfortunately their own web site doesn't say and the CNCF web site they link to leaves me none the wiser.

At a guess they are talking about applications being built from the ground up to dynamically allocate resources using cloud providers APIs directly rather than relying on an assumption fixed resources are already provisioned and the application runs within them.

I wonder if I'm right ...

Re:High-Performance server for NATS.io, the cloud and edge n... by jerrygenser on Sunday July 23, 2023 @08:48PM (#36841670)
There are a bunch of OSS that solve problems when running distributed scale out workloads in "the cloud". For example prometheus is a metric db for storing monitoring data.

Ceph is a storage backend. Most of them tend to be built for or work well with kubernetes.

Re:High-Performance server for NATS.io, the cloud and edge n... by re-thc on Sunday July 23, 2023 @10:30PM (#36842451)
> Struggling to figure out what "cloud native" actually means.

- very fast startup

- low memory

- can be easily distributed or is stateless

Re:High-Performance server for NATS.io, the cloud and edge n... by xuancanh on Sunday July 23, 2023 @11:57PM (#36842976)
That is not what cloud native means. It is an overloaded term, but the basic idea is that the application is designed to operate in the cloud environment, utilizing cloud's capabilities such as elastic and automated infrastructure management.
Re:High-Performance server for NATS.io, the cloud and edge n... by re-thc on Monday July 24, 2023 @12:35AM (#36843144)
> That is not what cloud native means. > utilizing cloud's capabilities such as elastic and automated infrastructure management.

Contradictory perhaps? So it's not what it means but it is what it means?

In order to achieve what you've said in vague terms you definitely do need to try to be stateless, have fast startup and reduce memory. Clear examples are things like lambda and fargate.

How can you be elastic if you have an application server that takes 10 minutes to start?

Re:High-Performance server for NATS.io, the cloud and edge n... by KRAKRISMOTT on Monday July 24, 2023 @03:14AM (#36844096)
It also means having instrumentation and observability as first class features. First party support for containerisation, the app needs to be robust and capable of handling shutdowns and multiple instances gracefully. In a cloud environment, when hardware fails or instances get resized, multiple containers may get spun up and everything is kept in sync through the database (or an external data store).

Authentication and integration with auth and secret providers are another distinguishing feature. I personally find "cloud native" software to be a pain to use locally because they usually come in the form of a docker-compose and kubernetes setup, and those absolutely gobble up ram and disk space.

Re:High-Performance server for NATS.io, the cloud and edge n... by xuancanh on Tuesday July 25, 2023 @11:55AM (#36864220)
I'm pretty sure that Aurora DB can be called a "Cloud-native application" but its startup time is not fast and memory footprint is not small.
Re:High-Performance server for NATS.io, the cloud and edge n... by lyu07282 on Monday July 24, 2023 @02:47AM (#36843889)
> applications being built from the ground up to dynamically allocate resources using cloud providers APIs directly

If that indeed is what cloud native means, it sounds interesting. But the problem is that all these APIs and especially "managed" services are super proprietary and you'll vendor lock yourself pretty hard. But I suppose that ship has sailed a long time ago.

Re:High-Performance server for NATS.io, the cloud and edge n... by mprime1 on Monday July 24, 2023 @09:32AM (#36847726)
NATS is 100% open source
Re:High-Performance server for NATS.io, the cloud and edge n... by pjmlp on Monday July 24, 2023 @03:33AM (#36844225)
Cloud native usually means targeting the "Cloud OSes", while being agnostic from the underlying OS, or legacy stuff like POSIX.

Or to put it more clear, applications written in modern language runtimes, packaged in containers that can be run on top of whatever orchestration is available, and using provider APIs and resources.

Re:High-Performance server for NATS.io, the cloud and edge n... by otabdeveloper4 on Monday July 24, 2023 @07:19AM (#36846039)
> Struggling to figure out what "cloud native" actually means.

Same as "web scale" and "big data".

Re:High-Performance server for NATS.io, the cloud and edge n... by mprime1 on Monday July 24, 2023 @11:12AM (#36849305)
The non-cynical, snark-free definition would be “built from the ground up to be used and deployed in various kinds of cloud based environments”.

Whether that’s just marketing BS or real depends on the project. Wether it fits your particular kind of cloud environment is also a different story.

In the specific case of NATS I love how I can start with a single server on localhost, then maybe upgrade to a single fly.io instance, then later move to a larger AWS, instance, then later add some fault-tolerance by turning a single server into a cluster, then later have multiple clusters in various AZs around the world, hosted on different cloud providers.

NATS makes all of these changes (and a lot more) a breeze. Any component or application using pub/sub, KeyVal, durable streams, request/response will just keep working without a single any changes.

Disclaimer: I love NATS, it’s the most promising piece of infrastructure technology I have seen in a long time.