CQL-over-WebSocket: Interact with ScyllaDB from Your Browser
Blog post from ScyllaDB
ScyllaDB, in collaboration with the University of Warsaw, has developed a new project called CQL-over-WebSocket, allowing users to interact with ScyllaDB directly through their web browsers without the need for additional dependencies. Traditionally, interfacing with ScyllaDB required using the Python-based command-line tool cqlsh, which necessitated several dependencies. By leveraging WebSocket, which permits full duplex connections and message streams over TCP, the new system enables a browser-based terminal to interact with ScyllaDB, circumventing the limitations of HTTP and enhancing performance. The project entails a WebSocket server implementation for the Seastar framework, a TypeScript driver for CQL specifically meant for web browsers, and an in-browser cqlsh terminal built with React and Material UI. This initiative, driven by students at the University of Warsaw, not only simplifies user interaction with ScyllaDB but also involves a Bachelor's thesis and aims to contribute back to the open-source community, with ongoing updates and future projects slated for the next academic year.