The point of the first one is that you can create snapshots from within the product where profiling data isn't forever. This is so you can use the pprof.me link in a GitHub issue, PR, or elsewhere and trust that the data never goes away even if the original data went out of retention. We actually originally built pprof.me out of frustration that users of Prometheus (several of us are Prometheus maintainers) at best submitted screenshots of profiling data when all we wanted was an easy way to explore it.
I agree that neither of these are terribly complicated features, but as far as I know no other product on the market actually has this combination. (yes, you can export data from most systems and use a different visualization tool but the point of products is to provide a single integrated package)
(disclaimer: Founder of the company that offers the product featured in this case study.)
I'm more curious on how much manual effort was required to find said line of code? Strikes me as moest of these optimizations are super easy to verify, very difficult to find
(S2 dev) I think it took a bit of time to figure out what was going on as it was more of a game of enabling a feature in the sha2 crate since the profile showed us that it was using `soft` while we needed the hardware optimized. We thought being on neoverse-v1 would automatically detect to use hardware optimization, but that wasn't the case and we ended up looking at the sha2 crate closely only to figure that enabling the asm feature fixes it!
Cool, makes you wonder how many more of these oneliners are scattered across the codebase (in application and also OS etc).
Sidenote, I wonder how close we are to detect these automatically. From profiling many various applications, it feels like that should be a tractable problem.
What part of the stack takes the majority of the time for spawning a new replica? Is it the time to boot a VM/environment or is it application doing bunch of init work setting up connections etc?
Would this work for hosting databases too? I found the biggest annoyance and expense on my "infrequently accessed" side projects are databases, which are almost always idle.
They work exactly as you suggest, they scale-to-zero when no requests are made and data can be safely stored/transactioned in persistent volumes on the platform too.
If this applies to the dbs too then it's quite unusual and worth shouting about, I'm not aware of other providers which offer that!
Looking at https://docs.kraft.cloud/guides/mariadb/ with the Docker stuff in there I'd half assumed maybe DB instances worked differently from unikernel instances or something
Also because of this other comment:
> Because KraftCloud leverages Unikraft, a unikernel library OS project, we are single-process. Postgres is multi-process since it uses the fork() syscall. If you require Postgres, we can set it up for you as a managed service
Hi, Felipe from Unikraft here. Yes, it applies to DB instances too (all instances are the same on KraftCloud with respect to this).
Regarding multi-process, at present Unikraft has partial multi-process support: some multi-process apps work, others not yet -- we're hard at work completing this support.
It's overly naive to think that people who use such a tool choose to use it.
In many cases it's "you are hired into this job, this is the tool we give you, if you don't like the tool, take a hike".
Even more so, a lot of software is developed not to be competitive, but to be exclusive. It's a lot easier to be the only choice for doing something than trying to compete with a different tool. I've seen countless examples of tools developed in exactly this paradigm, where the decision to use the tool wasn't made by anyone anywhere close the users of the tool (eg. hospital procurement department buying a PACS or a large avionics company ordering a custom-made budget-management program).
Come on now, you were never told in your career, not once, "we use Microsoft Teams for communication here"? Ever?
Most crappy software exists because of inertia and corporate policies. If people truly had a choice stuff like MS Teams could be phased out by the end of the next quarter.
Hyundai tells me there are dozens of Ioniqs available within 25 miles of me at a couple different dealers, and my local VW dealer appears to have several ID4s in stock.
A lot of modern western capitalism mirrors whatever the hell we had in the eastern bloc, with the caveat that neither the US nor the EU are 20-40 years after the greatest, most destructive war in their history.
The prices for vehicles from the other makes are absolutely insane for anything comparable.
I really, really like the design of the F-150 Lightning. If I could get it with 300 miles of range, rapidly recharge it on a trip and get it used for somewhere in the $40-60k range I'd probably get one.
As it stands, it's closer to 200 miles of range for $80-90k without the ability to rapid recharge (that I have seen).
Potential is there, but efficiency of production is not. Especially when they're publicly saying they still lose thousands on each one sold.