Skip to content

We need to find what server is next to us in 3d space when transferring between instances #1

@tristanpoland

Description

@tristanpoland

// Use least connections algorithm
// TODO: This is wrong. We need to find what server is next to us in 3d space This will use `HashMap<(f64, f64, f64), NodeData>`
available_servers
.iter()
.min_by_key(|s| s.active_connections)
.map(|&s| s.clone())

^ This was temporary. We should look into replacing this as described in the TODO comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions