Accelerate large-scale applications with BOLT
code.facebook.com
code.facebook.com
It seems to me that an optimized OS image could be also be created.
Second, I already mentioned what you suggested.
> even less profitable
What does this mean? If a company like google restructured their binaries to get a 15% speedup, that would be huge.
> How much battery energy are you willing to waste here?
What waste is happening? This doesn't have to happen on the phone. Even then, android already does optimization passes when phones are plugged in.
In any case, it seems this is specific to compiled code.
Also low cache levels have less latency and yet are much smaller, the L1 instruction cache is 32KB. Any linear access of memory will prefetch and minimize the latency of memory access.
Is there code or a summary available elsewhere?
Although it doesn't apply to many, one of the advantages of microservices is avoiding exactly the problem they are solving -- that the monolith application is too big for memory, too big for CPU cache, etc.
I like this alternate solution -- it involves a lot of up front work and will surly require a lot of maintenance, but so does a complex microservices architecture.
It'll be interesting to see how this holds up in a few years.
No, but unless I'm reading this wrong, what this optimizes is what does get paged in.
Using microservices would naturally limit what could get paged in because the services would most likely be smaller, whereas with this, the developer doesn't have to worry about those things and instead this tool optimizes for them.
(OTOH, while you may not find yourself waiting on instructions, you'll no doubt spend all of your time waiting on data...)
The bigger problem I have with a lot of the stuff the Facebooks of the world put out is that most of us simply don’t need it now and maybe never.
I hear too much “but big company Foo uses it!” well yeah but Foo can hire the creator and half a dozen engineers to maintain it, you have two developers.
Pick boring unless you can’t is my approach.
But when you can't, being able to learn from the lessons of giant companies via their open source software sure is a blessing!