ybdemo
Lab environment for YugabyteDB demos (by FranckPachot)
examples
Apache Kafka and Confluent Platform examples and demos (by confluentinc)
ybdemo | examples | |
---|---|---|
17 | 6 | |
15 | 1,848 | |
- | 0.4% | |
6.6 | 8.5 | |
4 months ago | 22 days ago | |
Shell | Shell | |
Apache License 2.0 | Apache License 2.0 |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ybdemo
Posts with mentions or reviews of ybdemo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-07.
-
B-Tree vs. LSM-Tree: measuring the write amplification on Oracle Database and YugabyteDB
As I did with Oracle, I can run a single insert and look at the statistics from explain analyze and my ybwr:
-
In-Memory counters with YugabyteDB
I've also updated my YugabyteDB Lab with Grafana for this scenario, running:
-
Scalable Job Queue in SQL (YugabyteDB)
I check, with my ybwr.sql script, that reading one row from the job_fanout view reads from one table only:
-
Flashback query in YugabyteDB
Here is a quick test using my ybwr on this demo table which has 3 tablets across 3 nodes.
-
Gitpod with YugabyteDB image
If you want to play with a multi-node, as you need multiple network interfaces, it is better not to use this image but start YugabyteDB nodes in docker, as I do in my ybdemo:
-
EXPLAIN from pg_stat_statements normalized queries: how to always get the generic plan in 🐘&🚀
@franckpachot
-
find the partition key with a local read in 🚀 YugabyteDB geo-partitioned tables
I've used this docker-compose
-
PITR snapshot: an easy flashback / backtrack for application releases
I'm starting a RF=3 cluster on my laptop using my ybdemo/docker/yb-lab/ and I set two aliases, ysqlsh, for SQL commands, and yb-admin, for snapshot commands:
-
Nested Loop performance in YugabyteDB
I also load my ybwr.sql to show the number of rocksdb seek() and next() in the tservers:
-
"I want to try it" 🚀 YugabyteDB at KubeCon
Now that you know how to scale out, just with the --join option of yugabyted, you can build your docker-compose file. For example, to replace PostgreSQL in a Docker Compose used for tests, I use the same variables as the PostgreSQL image - example here. And yugabyted is convenient for quick start, but you can have more control by starting all components like I do when I demo high availability and elasticity: https://github.com/FranckPachot/ybdemo/tree/main/docker/yb-lab
examples
Posts with mentions or reviews of examples.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-10-09.
-
Python for Apache Kafka – Free Introductory course
Relevant: - Suggested Enhancements to Python Producer Example
-
Hi. Would someone please explain to me in layman terms what Apache Kafka is, who uses it and what it is used for? Thanks in advance.
If you'd like to get a better idea of how it works when implemented in code, there are some sample repositories here https://github.com/confluentinc/examples/
-
Problems with the set-up
Spend some time on https://developer.confluent.io , especially https://developer.confluent.io/get-started/java/ and look at https://github.com/confluentinc/examples . Those will give really practical examples for how to set up your configs and start consuming
-
How to learn to use Kafka with Python for begginners
The examples git repo has a great working producer and consumer. https://github.com/confluentinc/examples
- Kafka Connect, Strimzi, and a simple filter/convert task
-
Kafka client for Dart
Digging into this a bit, I guess the fastest way would be to use librdkafka via Dart FFI. It's what Confluent uses in their Node.js example. That way you only have to worry about the FFI parts.