Skip to content

Socket programming for communication among clients and server replicas #5

Description

@hengxin

The class MessagingServer is responsible for network communication among clients and server replicas. It does socket programming.

For now, it creates new Sockets for each message to send, which results in big performance issue.

To fix: create and store a (bidirectional) connection between each client and each server replica. All the messages involving a pair of client and server are sent via the single connection between them.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions