plumber
jsynchronous
plumber | jsynchronous | |
---|---|---|
19 | 12 | |
2,043 | 118 | |
0.4% | - | |
7.7 | 4.0 | |
about 1 month ago | about 2 months ago | |
Go | JavaScript | |
MIT License | BSD 2-clause "Simplified" License |
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.
plumber
-
plumber VS kaf - a user suggested alternative
2 projects | 12 Jan 2024
-
14 DevOps and SRE Tools for 2024: Your Ultimate Guide to Stay Ahead
Streamdal
-
Show HN: Streamdal – an open-source tail -f for your data
4. Go to the provided UI (or run the CLI app) and be able to peek into what your app is reading or writing, like with `tail -f`.
And that's basically it. There's a bunch more functionality in the project but we find this to be the most immediately useful part. Every developer we've shown this to has said "I wish I had this at my gig at $company" - and we feel exactly the same. We are devs and this is what we’ve always wanted, hundreds of times - a way to just quickly look at the data our software is producing in real-time, without having to jump through any hoops.
If you want to learn more about the "why" and the origin of this project - you can read about it here: https://streamdal.com/manifesto
— — —
HOW DOES IT WORK?
The SDK establishes a long-running session with the server (using gRPC) and "listens" for commands that are forwarded to it all the way from the UI -> server -> SDK.
The commands are things like: "show me the data that you are currently consuming", "apply these rules to all data that you produce", "inspect the schema for all data", and so on.
The SDK interprets the command and either executes Wasm-based rules against the data it's processing or if it's a `tail` request - it'll send the data to the server, which will forward it to the UI for display.
The SDK IS part of the critical path but it does not have a dependency on the server. If the server is gone, you won't be able to use the UI or send commands to the SDKs, but that's about it - the SDKs will continue to work and attempt to reconnect to the server behind the scenes.
— — —
TECHNICAL BITS
The project consists of a lot of "buzzwordy" tech: we use gRPC, grpc-Web, protobuf, redis, Wasm, Deno, ReactFlow, and probably a few other things.
The server is written in Go, all of the Wasm is Rust and the UI is Typescript. There are SDKs for Go, Python, and Node. We chose these languages for the SDKs because we've been working in them daily for the past 10+ years.
The reasons for the tech choices are explained in detail here: https://docs.streamdal.com/en/resources-support/open-source/
— — —
LAST PART
OK, that's it. What do you think? Is it useful? Can we answer anything?
- If you like what you're seeing, give our repo a star: https://github.com/streamdal/streamdal
-
In memory message broker, any recommendations?
Checkout plumber https://github.com/streamdal/plumber if you want all the Postgres changes sent to basically any type of broker queue https://docs.streamdal.com/en/data-ingestion/relay/postgresql-cdc/. I would say Nat's Jetstream is probably the way to go if you have K8s running already. It's a dead simple service written in Go. Just make sure you allocate enough memory to Jetstream.
-
Pulling CDC data from Postgres
I recommend Streamdal. The connecting agent is open source and distributed by default, so it will scale horizontally WAY better than Debezium. All data ingested is indexed into parquet as well, and you can do serverless functions/transforms on the platform to reduce Snowflake compute costs.
-
Data Pipelines - how do you build data pipelines for sources not available in today’s ELT tools (Fivetran, Talend, Airbyte)? Old fashioned scripts and YOLO?
For CDC and event driven part of the stack, Plumber is a great free tool. That project is going to be adding sampling soon too - this can def help with the cost of ETL.
-
Open source project ideas
https://github.com/batchcorp/plumber check it out if you want to get into event driven systems
-
What would you rewrite in Golang?
That’s awesome to see. My coworker and I always figured Go would be perfect for this. Going to be a serious amount of work! I see you use NATS as well. Big fan of it. Checkout our project https://github.com/batchcorp/plumber if you end up needing to inspect or send messages while deving against it.
-
I want to participate in a golang open source projects. Have any suggestions or recommendations?
Checkout plumber https://github.com/batchcorp/plumber join our slack https://launchpass.com/streamdal we got a pretty knowledgeable group
- batchcorp/plumber: A swiss army knife CLI tool for interacting with Kafka, RabbitMQ and other messaging systems.
jsynchronous
-
Ask HN: What is something you built but never marketed?
A data-synchronization library for Node.js
https://github.com/siriusastrebe/jsynchronous
Ever get tired of sending API requests and JSON payloads? Wouldn't it be cool if data just synced between server and client?
Jsynchronous lets you share deeply nested object/arrays between node.js and connected browsers – and any changes made to that variable.
-
Woe be onto you for using a WebSocket
For the very reasons listed in the article, I built:
https://github.com/siriusastrebe/jsynchronous
a library for keeping a javascript variables synchronized between Node.js servers and clients.
Websockets work great for message passing but it struggles with data structures more complicated than what JSON can represent. Jsynchronous syncs any javascript object or array with arbitrarily deep nesting and full support for circular data structures.
If a computer goes to sleep, or disconnects, websocket connections (and their underlying TCP connections) get reset so you lose any data sent while a computer is unavailable. Jsynchronous will re-send any data clients are missing.
There's also a history mode that lets you rewind to past states.
- Easily share fast changing server data with Jsynchronous.js - for games and real time apps.
- Easily share fast changing server data with Jsynchronous.js - for games and real time apps
- Show HN: Synchronize your rapidly changing app state with all connected browsers
-
Event Sourcing
I recently built https://github.com/siriusastrebe/jsynchronous which uses event sourcing to synchronize javascript variables on the server with connected browsers.
You can also replay states using a special “rewind” mode, a core advantage of event sourcing.
-
5000x faster CRDTs: An Adventure in Optimization
Not for rust - for javascript: Take a look at this library: https://github.com/siriusastrebe/jsynchronous
-
Ask HN: Who wants to be hired? (August 2021)
Fullstack web developer, data visualization and real-time app specialist
I recently built and open sourced https://github.com/siriusastrebe/jsynchronous a real-time data sync library for javascript.
Location: Seattle, full time roles
- Jsynchronous.js - Data synchronization for games and real-time web apps
What are some alternatives?
akhq - Kafka GUI for Apache Kafka to manage topics, topics data, consumers group, schema registry, connect and more...
QuestJS - A major re-write of Quest that is written in JavaScript and will run in the browser.
kowl - Redpanda Console is a developer-friendly UI for managing your Kafka/Redpanda workloads. Console gives you a simple, interactive approach for gaining visibility into your topics, masking data, managing consumer groups, and exploring real-time data with time-travel debugging. [Moved to: https://github.com/redpanda-data/console]
wshook - Easily intercept and modify WebSocket requests and message events.
kafka_manager - Simplifies eventing between microservices using kafka with kafka-go client
FluidFramework - Library for building distributed, real-time collaborative web applications
FASTER - Fast persistent recoverable log and key-value store + cache, in C# and C++.
zotonic - Zotonic - The Erlang Web Framework & CMS
Enqueue - Message Queue, Job Queue, Broadcasting, WebSockets packages for PHP, Symfony, Laravel, Magento. DEVELOPMENT REPOSITORY - provided by Forma-Pro
message-db - Microservice native message and event store for Postgres