midko
midko on Hacker News
Posted by
midko on Sunday January 04, 2026 @05:10AM
from the lethain.com dept.
This is great news! As a long-time CACM subscriber, I highly recommend it! There's a lot of breadth across Computer Science topics and the in-depth articles in most issues are v good! I only wish I had more time for it..
> with each allocation limited to 1/4th of the available resources so not individual peak can choke the system.
This assumes that the scheduled workloads are created equal which isn't the case. The app owners do not have control over what else gets scheduled on the node which introduces uncontrollable variability in the performance of what should be identical replicas and environments. What helps here is .. limits. The requests-to-limits ratio allows application owners to reason about the risk they are willing to take in relation to the needs of the application (e.g. imagine a latency-sensitive workload on a critical path vs a BAU service vs a background job which just cares about throughput -- for each of these classes, the ratio would probably be different). This way, you can still overcommit but not by a rule-of-thumb that is created centrally by the cluster ops team (e.g. aim for 1/4) but it's distributed across each workload owner (ie application ops).
This is what the parent post is also talking about.
Posted by
midko on Friday April 07, 2023 @01:56PM
from the lmql.ai dept.
Posted by
midko on Monday October 12, 2020 @01:19AM
from the nytimes.com dept.
Posted by
midko on Wednesday July 24, 2019 @05:49PM
from the worrydream.com dept.
Posted by
midko on Friday April 27, 2018 @02:20AM
from the github.com dept.
Posted by
midko on Saturday February 24, 2018 @06:40AM
from the medium.com dept.
Posted by
midko on Friday January 19, 2018 @11:16AM
from the confluent.io dept.
Posted by
midko on Tuesday November 14, 2017 @04:20PM
from the venturebeat.com dept.
Indeed, and that's why there are a couple of startups working on new chips and why Google has the TPU. Here's a nice technical talk from Graphcore's CTO about that
https://youtu.be/Gh-Tff7DdzU
Posted by
midko on Saturday August 26, 2017 @10:11AM
from the medium.com dept.
Posted by
midko on Sunday July 16, 2017 @11:31AM
from the medium.com dept.
Posted by
midko on Sunday June 25, 2017 @04:43PM
from the coincenter.org dept.
Posted by
midko on Sunday May 21, 2017 @05:18PM
from the nytimes.com dept.
Posted by
midko on Monday February 06, 2017 @03:55PM
from the doublewide.net dept.
It's impressive how fast TensorFlow has become this popular (judging not only by the number of stars it has but also by the number of other projects in that list related to TF)
Posted by
midko on Friday March 11, 2016 @11:07AM
from the terrabella.google.com dept.
Posted by
midko on Wednesday February 17, 2016 @02:46PM
from the universetoday.com dept.
Posted by
midko on Wednesday February 17, 2016 @03:40AM
from the googleresearch.blogspot.com dept.
Posted by
midko on Wednesday December 09, 2015 @08:22AM
from the time.com dept.
Posted by
midko on Friday November 06, 2015 @04:57AM
from the nasa.gov dept.
Posted by
midko on Wednesday October 28, 2015 @09:57AM
from the damninteresting.com dept.
Posted by
midko on Sunday August 30, 2015 @01:30PM
from the youtube.com dept.
Nitpick: Paxos is a consensus protocol, not " a protocol for state machine replication in an asynchronous environment that admits crash failures.".
Consensus can be used for SMR, atomic broadcast, leader election. One can argue all of these replicate a sort of state machine. However, that dilutes the meaning of state machine replication -- replication of state with durability and performance in mind
The way the change was distributed (in a bugfix release) and (mis)communicated was completely wrong, I definitely agree with that.
As for the parsing example, yes, that's one way to implement this but definitely not the only right one -- if you care only about a couple of fields from a massive string, it depends on your application domain whether you can tolerate the additional memory bloat. What I like about the current behaviour is that the method is less surprising and more GC friendly
The article is an example of using an anecdote ("During our course, the customer remarked that they had a real issue with this new Java 7 and 8 approach to substrings") and a skewed microbenchmark to extrapolate to general advice.
The substring change was done to address common real scenarios, as the author of the change described here:
http://www.reddit.com/r/programming/comments/1qw73v/til_orac...