-
Notifications
You must be signed in to change notification settings - Fork 119
Comparing changes
Open a pull request
base repository: anthdm/hollywood
base: v1.0-beta.2
head repository: anthdm/hollywood
compare: master
Commits on Mar 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 21b6c41 - Browse repository at this point
Copy the full SHA 21b6c41View commit details
Commits on Mar 5, 2023
-
Added new test case for actor.Context.GetPID for search with tags. (#26)
* fixed context.GetPID method for names without tags. * added test for pid search with tags by actor.Context
Configuration menu - View commit details
-
Copy full SHA for 2841b44 - Browse repository at this point
Copy the full SHA 2841b44View commit details
Commits on Mar 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for bae4cfa - Browse repository at this point
Copy the full SHA bae4cfaView commit details
Commits on Mar 13, 2023
-
* Fixed CPU usage caused by polling inboxes * fixed padding in ggq * README updates * doc fix * more doc updates and fixes * fixed bug where processes did not cleanup when reaching max restarts * Added SetOutput for the logger
Configuration menu - View commit details
-
Copy full SHA for 7b48e18 - Browse repository at this point
Copy the full SHA 7b48e18View commit details
Commits on Apr 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for fa30610 - Browse repository at this point
Copy the full SHA fa30610View commit details
Commits on Apr 21, 2023
-
Added prometheus metrics middleware example (#33)
* Added prometheus metrics middleware example * updated Makefile * removed bad test * Added the options to configure the restart delay
Configuration menu - View commit details
-
Copy full SHA for 3cc6d83 - Browse repository at this point
Copy the full SHA 3cc6d83View commit details
Commits on May 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 011a4bc - Browse repository at this point
Copy the full SHA 011a4bcView commit details
Commits on Aug 14, 2023
-
* Stop the ticker when calling stop on SendRepeater * replaced GGQ with RingBuffer implementation
Configuration menu - View commit details
-
Copy full SHA for 57c621d - Browse repository at this point
Copy the full SHA 57c621dView commit details
Commits on Aug 30, 2023
-
* examples/chat/client: Refactor to use bufio.Scanner * examples/chat/client: Refactor to inject listen/connect interfaces and ports * examples/chat/server: Refactor to inject listening interface and port * examples/chat/server: Refactor use select{} instead of an empty channel. * examples/chat/build.sh: Replace with types/generate.go * examples/chat/server: Add missing flag.Parse. * examples/chat/types/generate.go: Remove extra proto_proto.
Configuration menu - View commit details
-
Copy full SHA for b68a4c4 - Browse repository at this point
Copy the full SHA b68a4c4View commit details -
* added process status stopped * try recover when panic on process start * add condition in for loop * Atomically check inbox stopped status + test --------- Co-authored-by: Terri Prifti <terriprifti@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bd6a765 - Browse repository at this point
Copy the full SHA bd6a765View commit details -
* poison returns a wait group api * clean API * updated README
Configuration menu - View commit details
-
Copy full SHA for 72c7722 - Browse repository at this point
Copy the full SHA 72c7722View commit details
Commits on Nov 14, 2023
-
Configuration menu - View commit details
-
Copy full SHA for d40a37c - Browse repository at this point
Copy the full SHA d40a37cView commit details -
replace logrus with log/slog from stdlib (#55)
* added loggers to the various structs. code runs. * ignore .idea (Goland) * just needs 1.20 (slog) * wire up the logging * re-order code for readability * pass the logger down the chains as things initialize. * use slog directly. * config now has multiple members. * add logger to config * add logger to event_stream. * remove the attachlogger, it was fugly * set up some logging in the hello world example. * add a section about logging to the README. Reformat long lines for easier editiing. * bump go version. --------- Co-authored-by: Anthony De Meulemeester <cryptoanthdm@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 58f1195 - Browse repository at this point
Copy the full SHA 58f1195View commit details
Commits on Nov 17, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 51023ac - Browse repository at this point
Copy the full SHA 51023acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 244f0bb - Browse repository at this point
Copy the full SHA 244f0bbView commit details
Commits on Nov 26, 2023
-
Replace mutex-guarded map with sync.Map (#63)
* randomize listen port. makes the tests pass on macos. * rip the mutex out of safemap. * Benchmark the safemap. * did some tests, found a panic. fixed it.
Configuration menu - View commit details
-
Copy full SHA for c7be50d - Browse repository at this point
Copy the full SHA c7be50dView commit details -
Functional options pattern for Engine init. (#62)
* randomize listen port. makes the tests pass on macos. * functional options pattern * functional options pattern
Configuration menu - View commit details
-
Copy full SHA for 0a3f7f4 - Browse repository at this point
Copy the full SHA 0a3f7f4View commit details
Commits on Nov 30, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 57f3f28 - Browse repository at this point
Copy the full SHA 57f3f28View commit details -
WIP - Graceful handling all messages when receiving poison pill (#69)
* batched invoke, hence big performance increase * WIP processing all messages that are still in the queue * added Stop API - a non graceful poisonPill * Added Stop tests
Configuration menu - View commit details
-
Copy full SHA for 5913ef6 - Browse repository at this point
Copy the full SHA 5913ef6View commit details -
* randomize listen port. makes the tests pass on macos. * wip * make deadletter an actor. * initialization code ok. tests in place. * delete some commented out code. * we stop storing the deadletters. just log them if there is a logger. the user can supply their own dead letter handling if they need to. * since I've change the semantics of the internal registry/get method these two tests needed to change. * registry/get now returns nil instead of deadletter. * a tiny tweak that is more readable. * make a wrapper around bytes.Buffer to suppress the race detector in the tests. * just some docs.
Configuration menu - View commit details
-
Copy full SHA for af84252 - Browse repository at this point
Copy the full SHA af84252View commit details
Commits on Dec 1, 2023
-
Completed the HasTag function logic (#72)
Co-authored-by: Mansour B <Mansour@servdeck.com>
Configuration menu - View commit details
-
Copy full SHA for 8dac16e - Browse repository at this point
Copy the full SHA 8dac16eView commit details
Commits on Dec 3, 2023
-
WIP: Reworking the event stream so its also an actor (#79)
* added new event stream that is actually an actor * fixed bug on sending event with remotes * renamed event to event stream * fixed engine address bug when using remote * fixed address error and wrapped up big portion of the PR
Configuration menu - View commit details
-
Copy full SHA for 2098fc6 - Browse repository at this point
Copy the full SHA 2098fc6View commit details -
Configuration menu - View commit details
-
Copy full SHA for ecb4b11 - Browse repository at this point
Copy the full SHA ecb4b11View commit details -
make banner discord invite link (#81)
* add discord invite url * add discord join link
Configuration menu - View commit details
-
Copy full SHA for 8bbabce - Browse repository at this point
Copy the full SHA 8bbabceView commit details -
Bumped Github action version (#71)
Co-authored-by: Mansour Baitar <mansour@servdeck.com>
Configuration menu - View commit details
-
Copy full SHA for e82ae31 - Browse repository at this point
Copy the full SHA e82ae31View commit details
Commits on Dec 4, 2023
-
Adding a context to the remote for shutdown. (#76)
* one major change. engine.WithRemote now takes a context, which is passed to the remote. It will shut down the remote when the context is cancelled. One minor change. The engine now has a GetLogger() which responds with the logger, so the remote can set up logging on its own. * make it easy to get a flood of logs when debugging tests. * wip; remote.Stop() returns sync.Waitgroup * fix the tests so they're green again. * track state so we don't stop or start twice. * forgot to set the state to running. tests are green again. * adjust the benchmark to changes in the API. * actor.NewEngine() now returns (*Engine, error) * return error from NewEngine if one or more of the options fail.
Configuration menu - View commit details
-
Copy full SHA for 1142617 - Browse repository at this point
Copy the full SHA 1142617View commit details -
* clean up the chat example. * tweaks. * wait for the poison to take effect before quitting. * tracking clients and users in separate maps
Configuration menu - View commit details
-
Copy full SHA for 2338c21 - Browse repository at this point
Copy the full SHA 2338c21View commit details -
Configuration menu - View commit details
-
Copy full SHA for c089c0b - Browse repository at this point
Copy the full SHA c089c0bView commit details
Commits on Dec 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c0a4bb5 - Browse repository at this point
Copy the full SHA c0a4bb5View commit details -
add trade-engine example (#82)
* add trade-engine example * fix race condition * engine, err * remove go routines * remove active flag * switch to subscribe * stop using eventstream * fix comment * cleanup and readme * switch from slice to map * Replace Unix timestamp with time.Time in trade engine The commit updates the trade engine by replacing Unix timestamp format with Go's native time.Time. This affects order expiry and price update time tracking in the system. It's a better practice for readability and consistency in Go, and will also handle different time zones effectively. A logging line deemed excessively verbose was also commented out for cleanliness. * remove signal * enchance main.go * shut down the trade engine before exit. * remove depreciated log handler --------- Co-authored-by: Per Buer <per.buer@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b6373b0 - Browse repository at this point
Copy the full SHA b6373b0View commit details
Commits on Dec 6, 2023
-
Configuration menu - View commit details
-
Copy full SHA for ce25461 - Browse repository at this point
Copy the full SHA ce25461View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1993ba3 - Browse repository at this point
Copy the full SHA 1993ba3View commit details -
Configuration menu - View commit details
-
Copy full SHA for c93d7e9 - Browse repository at this point
Copy the full SHA c93d7e9View commit details -
Configuration menu - View commit details
-
Copy full SHA for c5433f4 - Browse repository at this point
Copy the full SHA c5433f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for c87a2d1 - Browse repository at this point
Copy the full SHA c87a2d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7f1b362 - Browse repository at this point
Copy the full SHA 7f1b362View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c43960 - Browse repository at this point
Copy the full SHA 1c43960View commit details -
we cannot test the default deadletter handling as there is no handlin…
…g of it in the default.
Configuration menu - View commit details
-
Copy full SHA for ba84b41 - Browse repository at this point
Copy the full SHA ba84b41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 18ca292 - Browse repository at this point
Copy the full SHA 18ca292View commit details -
Fix bug when sending messages over the wire as a mad man (#93)
* added max size for batching messages * default message batch size
Configuration menu - View commit details
-
Copy full SHA for 6f25e4d - Browse repository at this point
Copy the full SHA 6f25e4dView commit details
Commits on Dec 7, 2023
-
Update README with improved descriptions and usage guide (#94)
The README tutorial has been heavily updated to provide more depth and clarity on how to work with the package. It includes an enhanced usage guide, focusing on local running first, while presenting the steps in writing simple examples. Some inaccuracies and redundancies, particularly in the logging section, have been rectified. The explanations on using Eventstream and setting up a remote actor have been improved for better understanding.
Configuration menu - View commit details
-
Copy full SHA for eff758c - Browse repository at this point
Copy the full SHA eff758cView commit details
Commits on Dec 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 003e117 - Browse repository at this point
Copy the full SHA 003e117View commit details -
* Add tests for Scheduler and Inbox in actor package new tests for the Scheduler and Inbox functionality. It's not much, but it's a start. * replace sleep with Gosched. Shave a millisecond off the test time. :-) * nitpick.
Configuration menu - View commit details
-
Copy full SHA for edb94a8 - Browse repository at this point
Copy the full SHA edb94a8View commit details -
Docs 2 - passing arguments to actor creation. (#102)
* make the links a bit nicer. document how to pass arguments to actor creation. closes: #96 * typo
Configuration menu - View commit details
-
Copy full SHA for 7b29e83 - Browse repository at this point
Copy the full SHA 7b29e83View commit details -
Minor improvements, testing. (#99)
* delete empty file. * use maxint to reduce the chance of collisions. * expand test to test timeout.
Configuration menu - View commit details
-
Copy full SHA for 629e47e - Browse repository at this point
Copy the full SHA 629e47eView commit details
Commits on Dec 11, 2023
-
add a test that deadlocks the engine. (#104)
* add a test that deadlocks the engine. * fix the deadlock.
Configuration menu - View commit details
-
Copy full SHA for 877828d - Browse repository at this point
Copy the full SHA 877828dView commit details -
* added max size for batching messages * default message batch size * wip: chaos. * Add benchmark actor and protobuf message 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. * Refactor benchmark code and add profiling 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. * document how to use the interactive web interface. * add latency measurement as well. * bah. can't make go test ignore the new latency tests. I just commented it out. Gonna revisit latency benchmarks later. * Update benchmark command in Makefile The benchmark command in the Makefile has been updated to run the whole package, not just main.go --------- Co-authored-by: anthdm <cryptoanthdm@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 4fe2643 - Browse repository at this point
Copy the full SHA 4fe2643View commit details
Commits on Dec 13, 2023
-
TLS support for Hollywood (#105)
* added max size for batching messages * default message batch size * wip: chaos. * Add benchmark actor and protobuf message 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. * Refactor benchmark code and add profiling 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. * document how to use the interactive web interface. * add latency measurement as well. * bah. can't make go test ignore the new latency tests. I just commented it out. Gonna revisit latency benchmarks later. * Update benchmark command in Makefile The benchmark command in the Makefile has been updated to run the whole package, not just main.go * wip: add TLS option for the remote. * wip: first test. * fix the cert generation. test pass. * adjust some timeouts as a test was flaking. * finish up the test. ready to merge. * docs. * tweak flaky tests. --------- Co-authored-by: anthdm <cryptoanthdm@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 0c36559 - Browse repository at this point
Copy the full SHA 0c36559View commit details -
* added max size for batching messages * default message batch size * wip: chaos. * Add benchmark actor and protobuf message 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. * Refactor benchmark code and add profiling 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. * document how to use the interactive web interface. * add latency measurement as well. * bah. can't make go test ignore the new latency tests. I just commented it out. Gonna revisit latency benchmarks later. * Update benchmark command in Makefile The benchmark command in the Makefile has been updated to run the whole package, not just main.go * bench subscribed to eventstream via message. that message is now private so we must use Subscribe. --------- Co-authored-by: anthdm <cryptoanthdm@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 17bcc37 - Browse repository at this point
Copy the full SHA 17bcc37View commit details
Commits on Dec 15, 2023
-
check Len before locking (#108)
basically applying the same optimization that Pop has
Configuration menu - View commit details
-
Copy full SHA for 90f5a7a - Browse repository at this point
Copy the full SHA 90f5a7aView commit details
There are no files selected for viewing