Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using mysql events instead of cronjobs
#1
I looked into dslan_start.bat also in the linux version, basic all it does it's an infinite loop wich is using allot of ressources.

This could be optimized allot with the new events from mysql 5.1.x
Instead of having a system like this
Code:
cronjob(loop) -> php -> mysql command

We could have this
Code:
events(loop inside mysql) -> mysql command

The process is very optimized because it does both processes inside mysql, doesn't have to use php or cronjob.
I hope you think about this optimization, the game ressources could be optimized allot with this thing.


Messages In This Thread
Using mysql events instead of cronjobs - by hip_hop_x - 24.07.2009, 21:10



Users browsing this thread: 1 Guest(s)