Better HN
topnewbestaskshowjobs
Log inSign up

accheng

38 karma · joined Feb 11, 2019 (7y ago) · 20 submissions

Submissions

comment 1y ago · link · parent

Thanks for the link! I am not familiar with the company but reminds me of the whole formal methods debate in distributed systems. Sure, writing TLA+ specs is the 'correct' deterministic way to build a Raft implementation, but in reality everyone just writes messy Go/Java and patches bugs as they pop up because its faster.

comment 1y ago · link · parent

Interesting, did you have any learnings that would apply to this problem now?

comment 1y ago · link · parent

Check out our blog series here: ucbskyadrs.github.io!

comment 1y ago · link · parent

As described in our VLDB paper (https://www.vldb.org/pvldb/vol17/p2694-cheng.pdf), we had to implement a number of optimizations and integrate scheduling with CC to get good performance.

comment 1y ago · link · parent

What did you use to try to optimize scheduling?

6.

Turns Out AI Is Not Good at Database Transaction Scheduling(adrs-ucb.notion.site ↗)

13 points · by accheng · 1y ago · 10 comments

comment 1y ago · link · parent

Awesome results! Did you use the simulator from the NSDI paper directly?

comment 1y ago · link · parent

Neat, thanks for the link! Seems like the agent feedback loop made a big difference for your use case. Would be interesting to see how much of a difference more advanced methods (like the genetic algs you mentioned) would make

comment 1y ago · link · parent

The algorithm works for MoE load balancing in general

comment 1y ago · link · parent

We've found that these frameworks do well for systems performance problems and expect that the range of problems for which they apply will increase as they models and frameworks improve. See our paper (https://arxiv.org/pdf/2510.06189) for more discussion about this

comment 1y ago · link · parent

That's a good point! The load balancing of the original algorithm was already quite good so our goal was to try to get something that could achieve similar results but could run faster since runtime was also a concern.

comment 1y ago · link · parent

ADRS = AI Driven Research for Systems. See our previous blog post (https://www.sigops.org/2025/barbarians-at-the-gate-how-ai-is...) and our paper (https://arxiv.org/pdf/2510.06189) for more details!

comment 1y ago · link · parent

Thanks for sharing your blog! Very interesting work, 100% agree with your 3 criteria on the sweet spot for AI. Most systems performance problems fit right in

comment 1y ago · link · parent

The code was quite short and easy to read. Specifying the right scoring function and scoping the problem are key parts of getting good results with ADRS.

comment 1y ago · link · parent

Yes, getting the right workloads and ensuring correctness are crucial parts of the process

comment 1y ago · link · parent

This is a great question! By analyzing the logs of OpenEvolve with the full model outputs, we observed how the AI got its ideas (seemed to be pulling from literature in the space) and how it tried to apply them. So in some sense, it "reasoned" about how to get better algorithms. And we saw this process proceed systematically via the ADRS framework to converge to a significantly better algorithm

comment 1y ago · link · parent

As an author of the blog, I'll note that this was one of the easiest applications of ADRS. Bowen, who was leading this effort, got things running within a day or two and the initial runs were with free Google credits! It was exciting to see how quickly these kinds of frameworks could be applied to real-world engineering and algorithmic challenges.

18.

We Asked AI to Design Systems Algorithms. It Beat Us in 12 Hours for <$20(sigops.org ↗)

9 points · by accheng · 1y ago · 1 comment