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

Multi instance #670

Merged
merged 49 commits into from
Apr 5, 2024
Merged

Multi instance #670

merged 49 commits into from
Apr 5, 2024

Conversation

lbwexler
Copy link
Member

No description provided.

lbwexler and others added 30 commits January 27, 2023 10:45
# Conflicts:
#	build.gradle
#	client-app/yarn.lock
# Conflicts:
#	client-app/yarn.lock
+ Remove extraneous controller
+ Working to get this setup on our Fargate-based ECS instance w/o multicast
# Conflicts:
#	CHANGELOG.md
@lbwexler lbwexler merged commit be362b0 into develop Apr 5, 2024
5 checks passed
@lbwexler lbwexler deleted the multiInstance branch April 5, 2024 19:41
)
}
return _newsItems ? _newsItems : Collections.emptyList()
newsTimer = newsTimer ?: createTimer(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Flagging to discuss (related to our Timer conversation yesterday). I could be missing something. It seems like if a non-primary node is hit first, _newsItems will be empty, the timer runFn will not run, and this method will fail to return any news items.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

correct -- this would benefit from waiting

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah- except this timer is lazily created, so I believe it could end up waiting indefinitely (until the same method happens to be called on the primary node).

I have some ideas I'd love to discuss tomorrow if you've got time.

@lbwexler
Copy link
Member Author

lbwexler commented Aug 25, 2024 via email

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.

3 participants