This folder lists some examples to run Timeplus Proton for various use cases. For more real-world examples, please check https://docs.timeplus.com/showcases
-
awesome-sensor-logger: You can install the free app for your phone, https://github.com/tszheichoi/awesome-sensor-logger, and use a proxy server to redirect the IoT sensor data to your local Proton, or even visualize it with Grafana.
-
carsharing: just two containers: Proton and Chameleon. It is an imginary carsharing company. Sensors are equipped in each car to report car locations. The customers use the mobile app to find available cars nearby, book them, unlock them and hit the road. At the end of the trip, the customer parks the car, locks it, and ends the trip. The payment will proceed automatically with the registered credit card. Learn more
-
cdc: demonstrates how to use Debezium to sync database changes from MySQL to Proton and finally in ClickHouse, via Redpanda. Show live updates(UPSERT and DELETE) in Proton via changelog stream.
-
clickhouse: demonstrates how to read from ClickHouse or write to ClickHouse with the new External Table feature.
-
coinbase: demo for Benthos data pipeline and Coinbase websocket data
-
ecommerce: a combination of Proton, Redpanda, owl-shop and Redpanda Console. Owl Shop is an imaginary ecommerce shop that simulates microservices exchanging data via Apache Kafka. Sample data streams are: clickstreams(frontend events), customer info, customer orders. Learn more
-
fraud_detection: demonstrates how to leverage proton to build a real-time fraud detection where proton is used as a real-time feature store.
-
grafana: an example of how to use Grafana to connect to Proton and visualize the query results.
-
hackernews: just two containers: Proton and a bytewax-based data loader. Inspired by https://bytewax.io/blog/polling-hacker-news, you can call Hacker News HTTP API with Bytewax and send latest news to Proton for SQL-based analysis.
-
jdbc: demonstrates how to connect to Proton via JDBC using DBeaver or Metabase.
-
nginx-access-logs-streaming analyzing Nginx access logs using Timeplus Proton
-
nginx-grafana visualizing Nginx access logs using Timeplus and Grafana
-
onebrc: aggregation of 1 billion rows (of historical data) from the 1 billion row challenge is fast, out-of-the-box. This is because Proton is based on ClickHouse, an open-source column-oriented DBMS for OLAP workloads.
-
real-time-ai: build real-time RAG with open source tools: load real-time hackernews feed via Python and Bytewax, generate vector embeddings via Hugging Face Transformers, send the JSON documents to Timeplus Proton. You can apply SQL-based filter/transformation in Timeplus, then write to Kafka/Zilliz.
-
udf: how to build JavaScript User-Defined Functions
Would like to share your awesome use cases? Feel free to send us a PR and we'd like to reward you.