Skip to content

Commit a191b49

Browse files
committed
Ponos -> Pulse
1 parent 5e3fe60 commit a191b49

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+318
-321
lines changed

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
11
.vscode/
22
coverage.out
3-
examples/pool/worker/worker
4-
examples/streaming/single-reader/ponos.code-workspace
5-
examples/weather/bin/poller
63
examples/weather/bin/forecaster

CONTRIBUTING.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
# Contributing to Ponos
1+
# Contributing to Pulse
22

3-
Thank you for your interest in contributing to the Ponos project! We appreciate
3+
Thank you for your interest in contributing to the Pulse project! We appreciate
44
contributions via submitting Github issues and/or pull requests.
55

66
Below are some guidelines to follow when contributing to this project:
77

8-
* Before opening an issue in Github, check [open issues](https://github.com/goadesign/ponos/issues)
9-
and [pull requests](https://github.com/goadesign/ponos/pulls) for existing
8+
* Before opening an issue in Github, check [open issues](https://github.com/goadesign/pulse/issues)
9+
and [pull requests](https://github.com/goadesign/pulse/pulls) for existing
1010
issues and fixes.
11-
* If your issue has not been addressed, [open a Github issue](https://github.com/goadesign/ponos/issues/new)
11+
* If your issue has not been addressed, [open a Github issue](https://github.com/goadesign/pulse/issues/new)
1212
and follow the checklist presented in the issue description section. A simple
1313
code snippet that reproduces your issue helps immensely.
1414
* If you know how to fix your bug, we highly encourage PR contributions. See
1515
[How Can I Get Started section](#how-can-i-get-started) on how to submit a PR.
16-
* For feature requests and submitting major changes, [open an issue](https://github.com/goadesign/ponos/issues/new)
16+
* For feature requests and submitting major changes, [open an issue](https://github.com/goadesign/pulse/issues/new)
1717
or hop on to our slack channel (see <https://goa.design> to join) to discuss
1818
the feature first.
1919
* Keep conversations friendly! Constructive criticism goes a long way.
@@ -22,17 +22,17 @@ Below are some guidelines to follow when contributing to this project:
2222
## How Can I Get Started?
2323

2424
1) Go over the package README
25-
2) To get your hands dirty, fork the Ponos repo and issue PRs from the fork.
25+
2) To get your hands dirty, fork the pulse repo and issue PRs from the fork.
2626
**PRO Tip:** Add a [git remote](https://git-scm.com/docs/git-remote.html) to
27-
your forked repo in the Ponos source code (in $GOPATH/src/goa.design/ponos when
27+
your forked repo in the pulse source code (in $GOPATH/src/goa.design/pulse when
2828
installed using `go get`) to avoid messing with import paths while testing
2929
your fix.
30-
3) [Open issues](https://github.com/goadesign/ponos/issues) labeled as `good first
30+
3) [Open issues](https://github.com/goadesign/pulse/issues) labeled as `good first
3131
issue` are ideal to understand the source code and make minor contributions.
3232
Issues labeled `help wanted` are bugs/features that are not currently being
3333
worked on and contributing to them are most welcome.
3434
4) Link the issue that the PR intends to solve in the PR description. If an issue
3535
does not exist, adding a description in the PR that describes the issue and the
3636
fix is recommended.
37-
5) Ensure the CI build passes when you issue a PR to Ponos.
37+
5) Ensure the CI build passes when you issue a PR to Pulse.
3838
6) Join our slack channel (see <https://goa.design> to join)!

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2023 Raphael Simon and Ponos Contributors
3+
Copyright (c) 2023 Raphael Simon and Pulse Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Ponos
1+
# Pulse
22

3-
Ponos consists of a set of packages that enable event driven distributed
3+
Pulse consists of a set of packages that enable event driven distributed
44
architectures at scale. Each package is designed to be used independently but
55
they can also be combined to implement more complex architectures.
66

@@ -19,10 +19,10 @@ flowchart LR
1919
Map-.->|Update|B
2020
2121
classDef userCode fill:#9A6D1F, stroke:#D9B871, stroke-width:2px, color:#FFF2CC;
22-
classDef ponos fill:#25503C, stroke:#5E8E71, stroke-width:2px, color:#D6E9C6;
22+
classDef pulse fill:#25503C, stroke:#5E8E71, stroke-width:2px, color:#D6E9C6;
2323
2424
class A,B userCode;
25-
class Map ponos;
25+
class Map pulse;
2626
2727
linkStyle 0 stroke:#DDDDDD,color:#DDDDDD,stroke-width:3px;
2828
linkStyle 1 stroke:#DDDDDD,color:#DDDDDD,stroke-width:3px;
@@ -32,7 +32,7 @@ See the [rmap package README](rmap/README.md) for more details.
3232

3333
## Streaming
3434

35-
Ponos streams provide a flexible mechanism for routing events across a fleet of
35+
Pulse streams provide a flexible mechanism for routing events across a fleet of
3636
microservices. Streams can be used to implement pub/sub, fan-out and fan-in
3737
topologies.
3838

@@ -53,10 +53,10 @@ flowchart LR
5353
TB-.->|Event|B
5454
5555
classDef userCode fill:#9A6D1F, stroke:#D9B871, stroke-width:2px, color:#FFF2CC;
56-
classDef ponos fill:#25503C, stroke:#5E8E71, stroke-width:2px, color:#D6E9C6;
56+
classDef pulse fill:#25503C, stroke:#5E8E71, stroke-width:2px, color:#D6E9C6;
5757
5858
class A,B userCode;
59-
class SA,SB,TA,TB ponos;
59+
class SA,SB,TA,TB pulse;
6060
6161
linkStyle 0 stroke:#DDDDDD,color:#DDDDDD,stroke-width:3px;
6262
linkStyle 1 stroke:#DDDDDD,color:#DDDDDD,stroke-width:3px;
@@ -68,7 +68,7 @@ See the [streaming package README](streaming/README.md) for more details.
6868

6969
## Dedicated Worker Pool
7070

71-
Ponos builds on top of [replicated maps](rmap/README.md) and
71+
Pulse builds on top of [replicated maps](rmap/README.md) and
7272
[streaming](streaming/README.md) to implement a dedicated worker pool where jobs
7373
are dipatched to workers based on their key and a consistent hashing algorithm.
7474

@@ -88,10 +88,10 @@ flowchart LR
8888
Reader-.->|Job|B
8989
9090
classDef userCode fill:#9A6D1F, stroke:#D9B871, stroke-width:2px, color:#FFF2CC;
91-
classDef ponos fill:#25503C, stroke:#5E8E71, stroke-width:2px, color:#D6E9C6;
91+
classDef pulse fill:#25503C, stroke:#5E8E71, stroke-width:2px, color:#D6E9C6;
9292
9393
class A,B userCode;
94-
class Pool,Sink,Reader,Worker ponos;
94+
class Pool,Sink,Reader,Worker pulse;
9595
9696
linkStyle 0 stroke:#DDDDDD,color:#DDDDDD,stroke-width:3px;
9797
linkStyle 1 stroke:#DDDDDD,color:#DDDDDD,stroke-width:3px;
@@ -105,12 +105,12 @@ See the [pool package README](pool/README.md) for more details.
105105
See the [examples](examples) directory for examples of how to use the packages
106106
in this repository.
107107

108-
If you are looking for a more complete example of how to use Ponos to build a
108+
If you are looking for a more complete example of how to use Pulse to build a
109109
distributed system, check out the [weather](examples/weather) example.
110110

111111
## License
112112

113-
Ponos is licensed under the MIT license. See [LICENSE](LICENSE) for the full
113+
Pulse is licensed under the MIT license. See [LICENSE](LICENSE) for the full
114114
license text.
115115

116116
## Contributing
@@ -122,8 +122,8 @@ contribution workflow.
122122

123123
This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md).
124124
By participating, you are expected to uphold this code. Please report unacceptable
125-
behavior to [ponos@goa.design](mailto:ponos@goa.design).
125+
behavior to [pulse@goa.design](mailto:pulse@goa.design).
126126

127127
## Credits
128128

129-
Ponos was originally created by [Raphael Simon](https://github.com/raphael).
129+
Pulse was originally created by [Raphael Simon](https://github.com/raphael).

docker-compose/docker-compose-redis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: "3"
22
services:
33
redis:
44
image: "redis"
5-
container_name: "ponos-redis"
5+
container_name: "pulse-redis"
66
command: redis-server --save 20 1 --loglevel warning --requirepass ${REDIS_PASSWORD}
77
ports:
88
- "6379:6379"

examples/pool/producer/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

99
redis "github.com/redis/go-redis/v9"
1010
"goa.design/clue/log"
11-
"goa.design/ponos/ponos"
12-
"goa.design/ponos/pool"
11+
"goa.design/pulse/pool"
12+
"goa.design/pulse/pulse"
1313
)
1414

1515
func main() {
@@ -22,7 +22,7 @@ func main() {
2222
// Create client for node named "example"
2323
node, err := pool.AddNode(ctx, "example", rdb,
2424
pool.WithClientOnly(),
25-
pool.WithLogger(ponos.ClueLogger(ctx)),
25+
pool.WithLogger(pulse.ClueLogger(ctx)),
2626
)
2727
if err != nil {
2828
panic(err)

examples/pool/worker/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99

1010
redis "github.com/redis/go-redis/v9"
1111
"goa.design/clue/log"
12-
"goa.design/ponos/ponos"
13-
"goa.design/ponos/pool"
12+
"goa.design/pulse/pool"
13+
"goa.design/pulse/pulse"
1414
)
1515

1616
type (
@@ -44,7 +44,7 @@ func main() {
4444
node, err := pool.AddNode(ctx,
4545
"example",
4646
rdb,
47-
pool.WithLogger(ponos.ClueLogger(ctx)))
47+
pool.WithLogger(pulse.ClueLogger(ctx)))
4848
if err != nil {
4949
panic(err)
5050
}

examples/rmap/basics/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Replicated Map Basics Example
22

3-
This example demonstrates the basic usage of a replicated map using the `rmap` package from the `goadesign/ponos` repository.
3+
This example demonstrates the basic usage of a replicated map using the `rmap` package from the `goadesign/pulse` repository.
44

55
## Running the Example
66

@@ -10,19 +10,19 @@ To run the example, follow these steps:
1010

1111
2. Open a terminal or command prompt.
1212

13-
3. Clone the `goadesign/ponos` repository by running the following command:
13+
3. Clone the `goadesign/pulse` repository by running the following command:
1414
```
15-
git clone https://github.com/goadesign/ponos.git
15+
git clone https://github.com/goadesign/pulse.git
1616
```
1717

1818
4. Change into the `examples/rmap/basics` directory:
1919
```
20-
cd ponos/examples/rmap/basics
20+
cd pulse/examples/rmap/basics
2121
```
2222

2323
5. Install the required dependencies by running the following command:
2424
```
25-
go get github.com/redis/go-redis/v9 goa.design/ponos/rmap
25+
go get github.com/redis/go-redis/v9 goa.design/pulse/rmap
2626
```
2727

2828
6. Build the Go program by executing the following command:

examples/rmap/basics/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"sync"
88

99
"github.com/redis/go-redis/v9"
10-
"goa.design/ponos/rmap"
10+
"goa.design/pulse/rmap"
1111
)
1212

1313
func main() {

examples/rmap/multi-nodes/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ To run the example, follow these steps:
1414

1515
3. Open a terminal or command prompt.
1616

17-
4. Clone the `goadesign/ponos` repository by running the following command:
17+
4. Clone the `goadesign/pulse` repository by running the following command:
1818
```
19-
git clone https://github.com/goadesign/ponos.git
19+
git clone https://github.com/goadesign/pulse.git
2020
```
2121

2222
5. Change into the `examples/rmap/multi-nodes` directory:
2323
```
24-
cd ponos/examples/rmap/multi-nodes
24+
cd pulse/examples/rmap/multi-nodes
2525
```
2626

2727
6. Install the required dependencies by running the following command:
2828
```
29-
go get github.com/redis/go-redis/v9 goa.design/ponos/rmap
29+
go get github.com/redis/go-redis/v9 goa.design/pulse/rmap
3030
```
3131

3232
7. Build the Go program by executing the following command:

0 commit comments

Comments
 (0)