Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Multiplayer#20

Merged
YiqinZhao merged 73 commits into
cake-lab:mainfrom
FelixNgFender:multiplayer
Jan 16, 2025
Merged

Multiplayer#20
YiqinZhao merged 73 commits into
cake-lab:mainfrom
FelixNgFender:multiplayer

Conversation

@legoeruro

Copy link
Copy Markdown
Contributor

No description provided.

FelixNgFender and others added 30 commits October 29, 2024 13:50
…Move script and into runtime and initialize windows for find server, sessions, and send data
@YiqinZhao

Copy link
Copy Markdown
Member

Also, something is wrong with the CI?

@legoeruro

Copy link
Copy Markdown
Contributor Author

Also, something is wrong with the CI?

We haven't done the implementation for benchmarking with synchronous data sending right now, so pyright throws error with unused variables

@YiqinZhao

Copy link
Copy Markdown
Member

Let's ignore those lines for the unimplemented parts.

Comment thread python/.vscode/extensions.json Outdated
@@ -0,0 +1,7 @@
{

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I think we should only have the .vscode folder at the project root level.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I didn't put the unity/.vscode directory in because I didn't want to mess with the default-generated stuff Unity gave us. I did solidify the python/.vscode directory though

Comment thread python/arflow/_core.py
pass

@private
def LeaveSession(

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Why is this function is this Camel Case function named?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's a gRPC handler's convention. It has to be camelCase to override the stub handler/interface in ARFlowServiceServicer

Comment thread python/arflow/_core.py
interceptors = [ErrorInterceptor()] # pyright: ignore [reportUnknownVariableType]
server = grpc.server( # pyright: ignore [reportUnknownMemberType]
futures.ThreadPoolExecutor(max_workers=10),
compression=grpc.Compression.Gzip,

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Any potential real-time performance impact on using compression v.s. no compression?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Note: this was discussed in a previous meeting. Detailed performance improvement needs to be measured.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, I took notes of it and will setup benchmark tests after I have done the unit tests for the server code (almost done).

@YiqinZhao

Copy link
Copy Markdown
Member

Sorry, I just realized I didn't submit the reviews. Take a look at the comments above.

@YiqinZhao

Copy link
Copy Markdown
Member

@FelixNgFender The CI is still failing. Can we have a quick fix for that? Maybe ignore some unused pytest code.

@FelixNgFender

Copy link
Copy Markdown
Contributor

I disabled typechecking & testing temporarily for this PR. We will add it back when testing & benchmarking is done.

@YiqinZhao YiqinZhao left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM.

@YiqinZhao YiqinZhao merged commit 2aee1bd into cake-lab:main Jan 16, 2025
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