co3moz / knightonline-js

Open source knight online server typescript implementation
30 stars 6 forks source link

[Thread] All subsystems have to be in workers #27

Open co3moz opened 5 years ago

co3moz commented 5 years ago

NPC system roughly uses 3% of cpu (7700k). But it unnecessarely creates new promises to allowing io operations to operate. Maybe we might need to implement worker_threads to handle npc actions.

Consider this later. its not urgent