Skip to content

Connection Options

Valkey GLIDE maintains consistent and intuitive configuration across all supported languages. This guides will go over how connection configurations are handled across clients and listing the available options.

GLIDE clients uses configuration objects to configure connections to Valkey. This keeps a consistent interface between clients while staying within the idiomatic norms of each specific programming language.

The following are the configuration references for each Glide clients:

LanguageStandalone ModeCluster Mode
JavaReferenceReference
Node.jsReferenceReference
PythonReferenceReference
GoReferenceReference
from glide import GlideClientConfiguration, NodeAddress
config = GlideClientConfiguration(
addresses=[NodeAddress("localhost", 6379)],
use_tls=False,
request_timeout=1000,
client_name="python_app"
)