News for hackers. Stuff that matters.
Re:Vert.x native: how to run a JVM app in 10Mb of RAM by Fnoord on Sunday August 12, 2018 @01:39PM (#17745412)
Bitcoin as example. Ugh. Anyone got a more interesting use case?

Using Unifi Controller in Docker right now, uses 300 MB for Java (OpenJDK 1.8 x86-64) and 63 MB for Mongo DB. Haven't compared with UNMS though which needs to run in an Ubuntu 16.04 VM.

Re:Vert.x native: how to run a JVM app in 10Mb of RAM by mmastrac on Sunday August 12, 2018 @02:43PM (#17745766)
Yeah - it's pretty heavyweight. I run my Unifi controller on a spare Raspberry Pi that's been kicking around. There are plenty of pre-packaged versions of that tool as well.

Would love to see them reduce the overhead of the controller, but to be honest, traditional IT managers will probably just spring for the $100 cloud key and be done with it.

Re:Vert.x native: how to run a JVM app in 10Mb of RAM by parabx on Sunday August 12, 2018 @04:03PM (#17746154)
I guess as he mentioned on the blog it was a POC, if you just ignored the fact it's using the bitcoin api to track transactions it implements DB access, interaction with the event bus, websockets. I fail to see why it's not interesting.
Re:Vert.x native: how to run a JVM app in 10Mb of RAM by Fnoord on Sunday August 12, 2018 @04:12PM (#17746188)
I'm asking for other (IMO more interesting) POCs, and I do find in interesting.
Re:Vert.x native: how to run a JVM app in 10Mb of RAM by johnbellone on Sunday August 12, 2018 @01:54PM (#17745472)
I sold my UniFi gear because I shouldn’t have to install software on a server or buy an accessory to get the full features of my device. Their gear is great, but there are several lines that can’t be managed from the same control plane. It was infuriating.
Re:Vert.x native: how to run a JVM app in 10Mb of RAM by voltagex_ on Monday August 13, 2018 @01:05AM (#17748101)
It's more infuriating when you realise that there's no consistency between devices. The Security Gateway is an ancient MIPS thing that can only barely keep up with 100 megabit WAN even with hardware offload, the Cloud Key is a Mediatek dongle that makes remote management slightly less painful (although Power over Ethernet is nice) and the AC access points are some Qualcomm SoC that's sure to be abandoned as soon as the next shiny thing comes along.

Oh, and that $400 AP is slower than the Turris Omnia that it was replacing - and that was doing 4x gigabit switching at the same time.

Re:Vert.x native: how to run a JVM app in 10Mb of RAM by old-gregg on Sunday August 12, 2018 @02:35PM (#17745706)
> It was infuriating.

What part? The Unifi controller software is not for "a device", it's for multiple devices, imagine having to manage SSIDs / auth for primary+guest Wifi network across just 5 access points. I don't think anyone would enjoy logging into 5 separate AP UIs. Add your Unifi gateway + switches to that and the need to have a unified control plane is pretty obvious.

If you want self-contained, that's a separate product line, usually prefixed with "Edge". What's "infuriating" about having two product lines I don't understand. Honda makes motorcycles, boat engines, cars and jets and nobody gets pissed about it.

Re:Vert.x native: how to run a JVM app in 10Mb of RAM by blattimwind on Sunday August 12, 2018 @03:24PM (#17745976)
GP is saying the exact opposite of what you think he's saying

> there are several lines that can’t be managed from the same control plane.

Re:Vert.x native: how to run a JVM app in 10Mb of RAM by derefr on Sunday August 12, 2018 @03:06PM (#17745884)
Cheaply embedding a Datomic (=Clojure=JVM) transactor into a C process or other dynamic runtime to get shared-memory IPC to your non-JVM business logic?