[email protected] schreef op 2026-11-19 12:38:

I wanted to propose the idea of adding support for various database protocols as well as a SQLGlot[C] module/plugin to Apache Server. The goal is to be able to use Apache Server as a database proxy that can also convert queries between different SQL dialects (and protocols) via SQLGlot[C]. There is a new project called QueryFlux (by LakeOps) which is a proxy that does this (via SQLGlot[C] + supporting various database protocols), but since the project is quite new it does not have a large community around it or a long record of usage in production, plus it lacks other features which established proxies like Apache Server already have. So I thought it would be great to add such capabilities to an existing, well-tested proxy, which is already used in other parts of the tech stack. Information on QueryFlux can be found at the following URLs:

1) Website: https://queryflux.dev/
2) GitHub: https://github.com/lakeops-org/queryflux/

In terms of protocols to support, I believe the most important are: MySQL, PostgreSQL, Arrow Flight SQL / ADBC, DuckDB (Quack).

I look forward to your thoughts on this idea/proposal.

I think it's a nice idea and technically it would be possible, but Apache already having 'proxy' does not help you much, because it's an HTTP proxy. Database connections have different properties than http connections, it would more look like mod_proxy_wstunnel than something else, but still it would be _very_ different

You might be better off shoehorning it into something like pgbouncer than in an apache module, i'd think. Of course you'd be welcome to experiment and build your own apache module; there are many modules that live 'outside' of the httpd project such as mod_wsgi, mod_auth_openidc, mod_jk and so on.

have fun!
--
Michiel

Reply via email to