Comments (4)
Error: Getting Permission denied for all resources.
from agones.
The error is coming from https://github.com/googleforgames/agones/blob/main/test/load/allocation/runscenario/runscenario.go#L126
Looking at the code, I'm curious how it ever works, since we have a gofunc per client and they are all writing to the same shared map.
from agones.
Error: Getting Permission denied for all resources.
Sorry about that, probably not public, here's a copy
log-275a3e64-934b-4512-80a4-28ff3ad733c8.txt
Looking at the code, I'm curious how it ever works, since we have a gofunc per client and they are all writing to the same shared map.
I guess it doesn't manage to synchronously mutate the map too often.
Some quick ideas, not sure which ones are best:
- Some mutexes in the right places
- There are a few sync Maps that are thread safe out there, could go pick one (one with generics support?)
- Move stuff to channels?
from agones.
I guess it doesn't manage to synchronously mutate the map too often.
Some quick ideas, not sure which ones are best:
- Some mutexes in the right places
- There are a few sync Maps that are thread safe out there, could go pick one (one with generics support?)
- Move stuff to channels?
I think placing mutex in the right places should work. I have created a small example for this use case: https://goplay.tools/snippet/N84X6jIZmIq
We can utilize the syncmap
but syncmap is slow and has poor performance. Personally, I haven't done any benchmark testing but this is what i got from the internet.
from agones.
Related Issues (20)
- Docs: Enhance "Scheduling and Autoscaling" with details on Counts and Lists
- Docs | Integration Patterns: Update Allocating based on GameServer Player Capacity to use Lists
- Docs | Integration Patterns: Update High Density GameServers to use a Counter
- Docs: Do you want a migration guide from Player Tracking to Lists?
- Migrate away from using the generate-groups script from k8s.io HOT 8
- Return Counter and List data when Allocating a GameServer HOT 6
- Adding GameServerSet Metric HOT 5
- Add pod label with allocation state HOT 8
- [ Terraform | GKE ] Add option to not create `agones-metrics` nodepools with cluster
- Can't
- Unable to start simple-game-server on windows node HOT 3
- Counter and List Priorities: Default to Ascending. HOT 2
- No validation on GameServerAllocation.Priorities HOT 1
- Autoscaler WebHook fallback Policy HOT 8
- MaxSurge and MinAvailable calculated incorrectly HOT 3
- Add leader election to the custom controller
- Release 1.39.0 HOT 1
- Inaccurate examples for Counter/List in fleetautoscaler.md. HOT 2
- Scale Down by Percent CounterPolicy or ListPolicy Can Lead to 0 Replicas HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from agones.