Nathan Lindzey

24 papers A* 1A 2B 2C 1Journal 18
YearRankTypeTitle / Venue / Authors
2026 J jnl
CoRR
Nathan Lindzey
2026 J jnl
Discret. Math.
Yu Hin Au, Nathan Lindzey, Levent Tunçel
2022 J jnl
Quantum Inf. Comput.
Nathan Lindzey, Ansis Rosmanis
2022 J jnl
CoRR
Yuval Filmus, Nathan Lindzey
2021 A conf
ITCS
Neta Dafni, Yuval Filmus, Noam Lifshitz, Nathan Lindzey, Marc Vinyals
2020 A conf
ITCS
Nathan Lindzey, Ansis Rosmanis
2020 J jnl
CoRR
Neta Dafni, Yuval Filmus, Noam Lifshitz, Nathan Lindzey, Marc Vinyals
2020 J jnl
CoRR
Yu Hin Au, Nathan Lindzey, Levent Tunçel
2020 J jnl
IEEE Trans. Inf. Theory
Peter J. Dukes, Ferdinand Ihringer, Nathan Lindzey
2020 J jnl
Eur. J. Comb.
Nathan Lindzey
2019 J jnl
CoRR
Nathan Lindzey, Ansis Rosmanis
2018 A* conf
SODA
Radu Curticapean, Nathan Lindzey, Jesper Nederlof
2017 J jnl
CoRR
Radu Curticapean, Nathan Lindzey, Jesper Nederlof
2017 J jnl
Eur. J. Comb.
Nathan Lindzey
2017 J jnl
Discret. Appl. Math.
Petr A. Golovach, Pinar Heggernes, Nathan Lindzey, Ross M. McConnell, Vinícius Fernandes dos Santos, Jeremy P. Spinrad, Jayme Luiz Szwarcfiter
2017 J jnl
Inf. Process. Lett.
Benson L. Joeris, Nathan Lindzey, Ross M. McConnell, Nissa Osheim
2016 J jnl
SIAM J. Discret. Math.
Nathan Lindzey, Ross M. McConnell
2014 J jnl
CoRR
Nathan Lindzey, Ross M. McConnell
2014 B conf
WG
Petr A. Golovach, Pinar Heggernes, Nathan Lindzey, Ross M. McConnell, Vinícius Fernandes dos Santos, Jeremy P. Spinrad
2014 J jnl
CoRR
Nathan Lindzey
2014 C conf
IWOCA
Nathan Lindzey
2013 J jnl
CoRR
Nathan Lindzey, Ross M. McConnell
2013 B conf
WG
Nathan Lindzey, Ross M. McConnell
2013 J jnl
CoRR
Benson L. Joeris, Nathan Lindzey, Ross M. McConnell, Nissa Osheim
redb/settings/clickhouse.py
← Index redb/settings/clickhouse.py python
import os
import clickhouse_connect
from dotenv import load_dotenv

load_dotenv()

# ClickHouse configuration
CLICKHOUSE_HOST = os.getenv("CLICKHOUSE_HOST")
CLICKHOUSE_PORT = os.getenv("CLICKHOUSE_PORT", "9000")
CLICKHOUSE_USER = os.getenv("CLICKHOUSE_USER")
CLICKHOUSE_PASSWORD = os.getenv("CLICKHOUSE_PASSWORD")
CLICKHOUSE_DATABASE = os.getenv("CLICKHOUSE_DATABASE", "default")
CLICKHOUSE_ENFORCE_SSL = os.getenv("CLICKHOUSE_ENFORCE_SSL", "False")

# Cached client instance
_clickhouse_client = None

def get_clickhouse_client():
    """Get ClickHouse client with lazy initialization and caching"""
    global _clickhouse_client
    
    if _clickhouse_client is None:
        _clickhouse_client = clickhouse_connect.get_client(
            host=CLICKHOUSE_HOST,
            port=CLICKHOUSE_PORT,
            user=CLICKHOUSE_USER,
            password=CLICKHOUSE_PASSWORD,
            database=CLICKHOUSE_DATABASE,
            verify=CLICKHOUSE_ENFORCE_SSL,
            settings={
                'max_execution_time': 3600,  # 1 hour timeout
                'connect_timeout': 30,
                'receive_timeout': 30,
                'send_timeout': 30
            }
        )
    
    return _clickhouse_client

def create_clickhouse_client():
    """Create a new ClickHouse client connection (legacy function)"""
    return get_clickhouse_client()

CLICKHOUSE_BINARIES_TABLE = os.getenv("CLICKHOUSE_BINARIES_TABLE", "binaries")