Max K's Avatar

Max K

@mkotlyar.bsky.social

func(){}()

24 Followers  |  282 Following  |  15 Posts  |  Joined: 22.10.2024  |  1.7641

Latest posts by mkotlyar.bsky.social on Bluesky

The state (or event in this context) is stored in an append-only log, which can be iterated over to apply any aggregation logic as needed. The order is defined once a state is committed. That said, it's currently quite far from what you’re describing with JSON schema, codegen, and executable logic.

29.07.2025 15:41 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - makasim/flowstate: Flowstate workflow engine Flowstate workflow engine. Contribute to makasim/flowstate development by creating an account on GitHub.

Eventually, something like this could be built on top of flowstate. It already handles state machines, durable execution, and event streams. The rest is just layering on ingestion, aggregates, and a bit of glue.

28.07.2025 13:28 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
GitHub - tailscale/gomodfs: GOMODCACHE Go module cache FUSE filesystem GOMODCACHE Go module cache FUSE filesystem. Contribute to tailscale/gomodfs development by creating an account on GitHub.

Here's the code:

github.com/tailscale/go... -- a Go module cache virtual filesystem (FUSE or WebDAV) with deduping

28.07.2025 13:23 β€” πŸ‘ 33    πŸ” 9    πŸ’¬ 0    πŸ“Œ 0
Preview
Blog - Why I recommend native Prometheus instrumentation over OpenTelemetry PromLabs - We teach Prometheus-based monitoring and observability

Just published a very opinionated πŸ”₯ blog post on why I still recommend using Prometheus's native instrumentation libraries over @opentelemetry.io, especially if you mainly care about metrics and using them with @prometheus.io:

promlabs.com/blog/2025/07...

17.07.2025 14:55 β€” πŸ‘ 26    πŸ” 8    πŸ’¬ 4    πŸ“Œ 4
Preview
flowstate/examples/state_machine/main.go at main Β· makasim/flowstate Flowstate workflow engine. Contribute to makasim/flowstate development by creating an account on GitHub.

Check out the money transfer example:

github.com/makasim/flow...

24.07.2025 19:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Flowstate gives you a state machine with revision-based concurrency and atomic commit. Update multiple states, like sender & receiver accounts, in a single, consistent transition.

No races. No rollbacks. Just clean, reliable state flow.

#golang #eventdriven #statemachine

24.07.2025 19:44 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Make your Go app execution durable, resilient to panics, crashes, and OOMs. With the Flowstate, execution is guaranteed once the state is committed.

Example: github.com/makasim/flow...

#golang #workflowengine #automation

22.07.2025 20:23 β€” πŸ‘ 0    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - VictoriaMetrics/easyproto: Simple building blocks for protobuf marshaling and unmarshaling Simple building blocks for protobuf marshaling and unmarshaling - VictoriaMetrics/easyproto

github.com/VictoriaMetr...

20.07.2025 09:27 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Marshaling domain structs straight into proto binary is just so convenient. Forget all the protoc, buf, endless generated code, and tedious domain-to-API conversions. Bonus: minimal allocations, simple, readable code.

VictoriaMetrics easyproto gives you wings

#golang #protobuf

20.07.2025 09:27 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
Advertise and call remote flows by makasim Β· Pull Request #85 Β· makasim/flowstate Distributed Flow Execution Support This PR introduces the foundation for building distributed computing networks using flowstate. Each node in the network can advertise the flows it owns (see SetFl...

πŸš€ With this change, you can now build distributed computing networks on top of Flowstate.

The best part? The advertisement logic is powered by Flowstate itself. Nodes commit their state, others subscribe.

PR πŸ‘‰ github.com/makasim/flow...

#golang #distributedcomputing #workflow

20.07.2025 09:27 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

Just turned my Raspberry Pi into a compact storage server:

πŸ” 4TB mirrored RAID for important stuff
πŸ“₯ 2TB dedicated to downloads

Amazing what this little board can handle. #homelab #selfhosted

11.05.2025 15:48 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
DeskPi Super6C - DeskPi Products Wiki

This is DeskPi Super6c and a box for it from

wiki.deskpi.com/super6c/

05.04.2025 05:49 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Post image

I've set up Kubernetesβ€”it wasn’t that hard, thanks to the outstanding tutorial from @kelseyhightower.com
. The topic is complex, but the tutorial makes following along a breeze. Learned a ton!

Next up: setting up node exporter and @victoriametrics.bsky.social
for monitoring.

04.04.2025 18:26 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image Post image

There comes a time in every engineer's life when the urge to spin up their own Kubernetes cluster becomes irresistible.

The hard way of course. Here we go.

04.04.2025 18:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
How We Cracked a 512-Bit DKIM Key for Less Than $8 in the Cloud

There’s no good reason to use 512 or 768-bit keys these days.

dmarcchecker.app/articles/cra...

22.01.2025 05:00 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
Living in the future, by the numbers Instead of making the traditional New Year predictions, let’s talk instead about the beautiful technological future we live in: the one that exists right now but we don’t always notice.

It's easy to lose sight of the fact that, from a tech perspective, we're absolutely living in the future. Our CEO and co-founder @apenwarr.ca looks at just how powerful our modern machines are β€” and what that means for all of us

08.01.2025 18:46 β€” πŸ‘ 47    πŸ” 18    πŸ’¬ 0    πŸ“Œ 4
https://github.com/makasim/flowstate/blob/main/pgdriver/get_states_by_labels_query.go#L49

The solution

github.com/makasim/flow...

07.12.2024 14:54 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

How can you ensure sequential reads from an append-only log in Postgres?

Insers are concurrent, making the order at the log's head unstable. I’ve found a solution: exclude all results within the current snapshot.

07.12.2024 14:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@mkotlyar is following 20 prominent accounts