TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: I've built a MySQL proxy that supports online DDL

39 pointsby earayuover 1 year ago
Hi everyone. Over the past year, I've built a MySQL Proxy that supports Online DDL. I'm not sure if there are other proxies out there with this feature, but I found it fascinating and thought it was worth sharing. Of course, this proxy also supports many other features, such as Read Write Split, Read After Write Consistency, Load Balancing, and Transparent Failover. I didn't build this database from the bottom up; instead, I forked Vitess and put a lot of effort into overhauling its architecture and SQL Engine Layer. Moving forward, I hope to introduce more developer-friendly features into this Proxy. The next major feature should be something similar to the Branch functionality of PlanetScale.

8 comments

west0nover 1 year ago
Both PlanetScale and Neon have the branch feature, and it significantly simplify the process of testing and staging. However, the feature in PlanetScale is closed-source, nice to see an open-source alternative of that.
moehmover 1 year ago
I&#x27;m not familiar with the concept of &#x27;online&#x27; DDL. Does asynchron means I sacrifice consistency in this example?<p><pre><code> ALTER TABLE ADD COLUMN foo; SELECT * FROM table; -- may return column foo, or may not? </code></pre> DDL is still not safe to use in transactions, right?
评论 #38664378 未加载
评论 #38664385 未加载
ksecover 1 year ago
Can I think of it as open source alike of PlanetScale? And why not work on &#x2F; with Vitess instead?
TalktoCrystalover 1 year ago
Sounds great. Can&#x27;t wait for the Branch functionality.
jacobnover 1 year ago
More exactly how does a proxy add an online DDL capability to the presumably remote database?<p>Or is a database proxy something completely different than eg a web proxy?
vwagenover 1 year ago
Interesting! How is the performance comparing to other MySQL compatible proxies anyway?
评论 #38662163 未加载
ksecover 1 year ago
Can I think of it as open source alike of PlanetScale?
d0gsg0w00fover 1 year ago
On a somewhat related note, does anyone know of a web based SQL client app that we can install as a sort of proxy to cloud based DBs?<p>Company policy puts all kinds of restrictions on desktop connections to DBs but all the data scientists want direct client access so they can use robust software instead of using psql from a jump box.<p>The objective is mostly logging DDL actions and limiting certain DDL operations.
评论 #38666794 未加载
评论 #38666903 未加载
评论 #38666390 未加载
评论 #38666198 未加载