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)
- Update Node.js Page to Reflect that Counters and Lists is Implemented
- `make build-images` fails with no REGISTRY variable set HOT 1
- Add AppEngine cleanup to appropriate CloudBuild scripts. HOT 2
- Distributed defaults to using ListSortedGameServersPriorities when CountsAndLists is enabled HOT 2
- https and CORS for agones-ping http service HOT 1
- Using portPolicy None results in a gameserver's port being 0 HOT 5
- Beta: UpdateList using Agones 1.41 rest API doesn't update the data in the selected list HOT 18
- UpdateList REST Documentation is for Local SDK Server not SDK Server
- Allow Custom KUBERNETES_SERVICE_HOST and PORT Configuration for Agones Sidecar HOT 3
- Meta proposal: AFP: Agones Feature Process HOT 2
- Issue running `make site-server` from build directory HOT 13
- Upgrade Golang Version to 1.21.12
- golang_version_upgrade template does not appear in list of issue templates in GitHub
- Revert windows ltsc2019 SHA usage. HOT 1
- Cloud Build script for simple genai server Example Image HOT 1
- (Re) Numeric Based Naming for Game Servers
- Kubernetes-Native Service Load Balancer Support for GameServer
- Cron Job to restart the game server in-place
- Release 1.42.0 HOT 1
- Docs: Add Option for Extensions Components to use Host Network and Configure Ports HOT 3
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.