{"id":27069466,"url":"https://github.com/tideland/gocells","last_synced_at":"2025-04-05T21:33:44.037Z","repository":{"id":57501128,"uuid":"51711804","full_name":"tideland/gocells","owner":"tideland","description":"Event Based Applications [DEPRECATED]","archived":false,"fork":false,"pushed_at":"2017-10-11T07:49:12.000Z","size":2354,"stargazers_count":68,"open_issues_count":3,"forks_count":6,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-06-20T11:48:52.635Z","etag":null,"topics":["cep","data-analysis","data-stream","eda","event-driven","event-processing","event-stream","go","golang","library","tideland"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tideland.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-14T20:24:12.000Z","updated_at":"2023-08-25T20:39:08.000Z","dependencies_parsed_at":"2022-09-14T17:23:21.872Z","dependency_job_id":null,"html_url":"https://github.com/tideland/gocells","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tideland%2Fgocells","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tideland%2Fgocells/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tideland%2Fgocells/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tideland%2Fgocells/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tideland","download_url":"https://codeload.github.com/tideland/gocells/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247406076,"owners_count":20933803,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cep","data-analysis","data-stream","eda","event-driven","event-processing","event-stream","go","golang","library","tideland"],"created_at":"2025-04-05T21:33:06.772Z","updated_at":"2025-04-05T21:33:44.007Z","avatar_url":"https://github.com/tideland.png","language":"Go","readme":"# Tideland Go Cells\n\n## Description\n\nThe **Tideland Go Cells** provide a package for the creation of event based\napplications with networked concurrently working cells. The way how they\nprocess the recevied events is defined by behaviors. During the processing\nof an event a cell can emit multiple events to its subscribers.\n\nI hope you like them. ;)\n\n[![GitHub release](https://img.shields.io/github/release/tideland/gocells.svg)](https://github.com/tideland/gocells)\n[![GitHub license](https://img.shields.io/badge/license-New%20BSD-blue.svg)](https://raw.githubusercontent.com/tideland/gocells/master/LICENSE)\n[![GoDoc](https://godoc.org/github.com/tideland/gocells?status.svg)](https://godoc.org/github.com/tideland/gocells)\n[![Sourcegraph](https://sourcegraph.com/github.com/tideland/gocells/-/badge.svg)](https://sourcegraph.com/github.com/tideland/gocells?badge)\n[![Go Report Card](https://goreportcard.com/badge/github.com/tideland/gocells)](https://goreportcard.com/report/github.com/tideland/gocells)\n\n## Version\n\nVersion 6.0.0-beta.2017-08-20\n\n## Packages\n\n### Cells\n\nMajor package providing the infrastructure for event based applications. It\nis organized as an environment of networked cells. Each cell is controlled\nby its behavior implementing the according interface. It receives events,\nprocesses them, and can emit a number of new events during this time. Those\nevents are then received by those cells which subscribed to the individual\ncell.\n\nFor the implementation of own behaviors the `EventSink`, the `EventSinkAccessor`,\nand the `EventSinkAnalyzer` provide help for their tasks.\n\n### Behaviors\n\nThe project already contains some standard behaviors, the number is\nstill growing.\n\n- **Aggregator** aggregates events and emits each aggregated value.\n- **Broadcaster** simply emits received events to all subscribers.\n- **Callback** calls a number of passed functions for each received event.\n- **Collector** collects events which can be processed on demand.\n- **Combo** waits for a user-defined combination of events.\n- **Condition** tests events for conditions using a tester function\n  and calls a processor then.\n- **Countdown** counts a number of events down to zero and executes an\n  event returning function. The event will be emitted then.\n- **Counter** counts events, the counters can be retrieved.\n- **Evaluator** evaluates events based on a user-defined function which\n  returns a rating.\n- **Filter** re-emits received events based on a user-defined filter. It can\n  be selective or excluding.\n- **Finite State Machine** allows to build finite state machines for events.\n- **Key/Value** collects and emits payloads grouped by topics.\n- **Logger** logs received events with level INFO.\n- **Mapper** maps received events based on a user-defined function to new events.\n- **Once** calls the once function only for the first event it receives.\n- **Pair** checks if the event stream contains two matching ones based on a\n  user-based criterion in a given timespan.\n- **Rate** measures times between a number of criterion fitting events and\n  emits the result.\n- **Rate Window** checks if a number of events in a given timespan matches\n  a given criterion.\n- **Round Robin** distributes events round robin to its subscribers.\n- **Sequence** checks the event stream for a defined sequence of events\n  discovered by a user-defined criterion.\n- **Simple Processor** allows to not implement a behavior but only use\n  one function for event processing.\n- **Status** receives and processes status events by other behaviors.\n  Those have to emit it when receiving the topic \"status\" with a status\n  cell ID as payload.\n- **Ticker** emits tick events in a defined interval.\n- **Topic/Payloads** collects payloads per topic, processes them and emits\n  the result payload.\n\n### Example\n\nAn example application using the **Tideland Go Cells** to analyze a stream\nof crypto coin information. It's called *coinalyzer*. Later extensions may\ncorrelate it with news streams.\n\n## Contributors\n\n- Frank Mueller (https://github.com/themue / https://github.com/tideland)\n- Jonathan Camp (https://github.com/kung-foo)\n\n## License\n\n*Tideland Go Cells* is distributed under the terms of the BSD 3-Clause license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftideland%2Fgocells","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftideland%2Fgocells","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftideland%2Fgocells/lists"}