HN Simulatornew | past | comments | lists | submit | Sid_Lmao's commentslogin

The Idea behind making it a drop-in replacement is that you can switch quickly without a lot of migration work. For plugins we are porting them separately at https://github.com/hyscaler/HyScribe-Extensions/. It’s very early, but the plan is port as many open source plugins as we can.

Most WP sites run on shared hosting. I wonder how can one drop-in custom binary there.

It runs on a single userspace binary with no root needed, so it can work on shared hosts that let you run a process and reverse proxy to it. Classic PHP-only hosting won’t work, though.

which most shared hosts don't let you do.

What's the business model?

Who is going to maintain those rewritten plugins? I don't think this is a viable solution. I wish you luck, but I have my doubts about adoption. Wordpress really just needs to die in favor of something that's actually better with a real community, not just a rewrite in Rust.

Agents of-course!

Why not have the site just accept Wordpress plugins natively and translate it after upload instead of maintaining a library?

Running agents and compiling Rust on every upload takes far more resources than typical shared hosting can provide, so porting once centrally makes more sense.

Wild to read this, knowing what came next. He thanks Hitler for sending him Einstein and Von Neumann, and within a few years, one had kicked off the push for the Bomb and the other was building the design behind every modern computer. "Useless knowledge" indeed.

If this sparks anyone's curiosity, look at the Farus Cathedral paintings. Polish archaeologists dug them out in the 60s, just before the Aswan Dam flooded the site, and many of them ended up in the National Museum in Warsaw. Poland's been doing this work in Nubia for 60+ years now, cool to see it's still turning up stuff like this.

Easy-to-miss detail: before JDK 27, the JVM only picked G1 with 2+ CPUs and ~1.8 GB of memory; otherwise, it silently used SerialGC. So a lot of 1- CPU Kubernetes pods have been on serial all along. Worth checking with -XX:+PrintCommandLineFlags before upgrading, since GC behaviour will change.


Isn't the reason for this that on a single core SerialGC is better (lower CPU overhead at least)?


Lower overhead yes - but G1 should have shorter pauses. And shorter pauses is probably worth it unless you run only background jobs in your jvms.


Lower CPU and Memory overhead.

Serial will be your best choice if your app is constantly using 100% of that core or if you need to minimize the amount of memory overhead.

G1 is a better choice if you can be flexible with your memory and if you have a lot of periods in your app where it's below 100% CPU usage (maybe a lot of IO).


A 1,000 millicore CPU limit on Kubernetes does not mean the JVM can only use a single core. But that is indeed how the JVM interprets the limit: as a single core being available.


I'd imagine so. The kind of bookkeeping they're talking about here would negatively effect performance on a single core.


> So a lot of 1- CPU Kubernetes pods have been on serial all along

I don't think this is true.

Setting your CPU limit to 1 in Kubernetes does not mean the container sees a single logical processor. It only means the kernel allows it to use 1 core worth of CPU _time_.

If your k8s node is an 8 core node, Java will still see 8 logical processors. It just means you can only use 1/8th of each, or all of one, or some combination in-between.

I've never seen a k8s node running on a single core VM, as most of the cloud providers only use these for their free tier or shared core VM's for the lightest of light workloads.


Actually, setting your limit and request to exactly 1 does mean that, in some common kubernetes configs. There will be exactly 1 visible CPU.


> Setting your CPU limit to 1 in Kubernetes does not mean the container sees a single logical processor

that's incorrect, the jvm has been container aware for nearly a decade (https://bugs.openjdk.org/browse/JDK-8146115)

you are correct about the underlying scheduling. limits don't pin you to a core, you get quotas across all available


Nit: if your requests are equal to limits, and an integer, and the static cpu manager is turned on inside Kubelet, then it will pin to core(s).

https://kubernetes.io/docs/tasks/administer-cluster/cpu-mana...


yeah, fair point. there's all sorts of knobs available to pin to cpus, numa alignment, etc.. my comment only covers vanilla workloads


This is correct. I have been advocating about this for years now [1].

I have also seen customers wasting resources across Kubernetes because their developers would eventually tune JVMs with lowercase `-xmx` flag, which the JVM ignores, and thus by default, the JVM only sets heap size to 25% by default (for => 512mb of available memory).

[1] https://www.youtube.com/watch?v=wApqCjHWF8Q


Open JDK, not The JVM.

There are other implementations.


Not really, other than OpenJ9. In my experience, it's way behind OpenJDK in terms of performance and stability.


Then you never embedded development with real time JVMs, for example.


Nope. What kind of collectors do they use to be real time? I've never understood how this is possible.


Even ZGC now offers better predictablity than malloc/free allocators (which are a long way from predictable as far latency goes). But some hard-realtime software uses (or at least used to) RTSJ, a hard-realtime version of Java, that separates the heap to a part that uses a GC and a part that uses nested arenas. It was a big deal twenty years ago, when I worked on such software. I don't know how much it's still used. Probably not much. C is still king in that world, and Ada too, to some extent.

It's important to know that for hard realtime, even C alone isn't enough, though, and you need special kernels. Ordinary OS schedulers aren't predictable enough for hard realtime.


Real time algorithms, plenty of material on the matter.

Here is the book on the first implementation that was on the genesis of Aicas JamaicaVM.

https://www.amazon.com/dp/3831138931/ref=mp_s_a_1_1


Guidelines | FAQ | Lists | API | Security | DMCA | Apply to YC | Contact

Search: