Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contructors, examples #120

Merged
merged 25 commits into from
Dec 20, 2023
Merged

Contructors, examples #120

merged 25 commits into from
Dec 20, 2023

Conversation

perbu
Copy link
Collaborator

@perbu perbu commented Dec 20, 2023

So, I changed the engine and remote constructor according to #114.

So now these are consistent. I'll do the cluster too, but maybe in another PR as this one is already quite big.

I've also fixed all the remote examples, including the mdns-example, which was completely broken. It's actually quite cool.

Hopefully this should be one of the last breaking changes we'll do.

anthdm and others added 22 commits December 6, 2023 16:46
The update introduces a benchmark actor that receives messages and increments a message counter. It also includes the creation of a new protobuf message. The main function is updated to incorporate this benchmark actor, while providing a detailed simulation of sending messages across multiple actors distributed across different engines.
The benchmark code is refactored for better error handling and message checks. 'benchmark' function is extracted from 'main' for further testing. A new Makefile target 'bench-profile' is added for profiling. A new test file 'main_test.go' is created for benchmark testing. Corresponding instructions are added in the newly created README.md file. Also, .gitignore is updated to exclude the created test, cpu, and memory profiles.
…d it out. Gonna revisit latency benchmarks later.
The benchmark command in the Makefile has been updated to run the whole package, not just main.go
@anthdm
Copy link
Owner

anthdm commented Dec 20, 2023

@perbu I merged the remote examples first, which conflicts here apparantly

@perbu
Copy link
Collaborator Author

perbu commented Dec 20, 2023 via email

@perbu
Copy link
Collaborator Author

perbu commented Dec 20, 2023

@anthdm conflicts resolved. ready to merge.

@perbu
Copy link
Collaborator Author

perbu commented Dec 20, 2023

oh. I need to fix the README again.

@anthdm
Copy link
Owner

anthdm commented Dec 20, 2023

Let me know if you are happy with the README, I will merge after.

@perbu
Copy link
Collaborator Author

perbu commented Dec 20, 2023

Now it should be good. benchmark also fixed and the output is shown in the readme.

@anthdm anthdm merged commit 46416d1 into anthdm:master Dec 20, 2023
1 check passed
@perbu perbu deleted the contructors branch December 20, 2023 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants