Setting Queue Tree Mikrotik Efektif [APPROVED]

Based on existing tutorials on the internet about setting mikrotik queue trees, then I take the conclusion to a good and effective rule in my opinion and maybe you can apply as well.
Case Example:
Cafe Bandwidth Total = 512k Total Client = 8 Mikrotik router ip = 192.168.1.1 ip client = 192.168.1.2-192.168.1.9 1. Create Mangle: / Ip firewall mangle
(Capture all traffic / connections for all clients) add chain = forward action = mark-connection new-connection-mark = all-dev passthrough = yes dst-address = 192.168.1.2-192.168.1.9 add chain = forward action = mark-packet new-packet-mark = all-cafe passthrough = no connection-mark = all-dev
(Capture all traffic / client connections one by one. Repeat this rule in accordance with the number of your client) add chain = forward action = mark-connection new-connection-mark = client1 passthrough = yes dst-address = 192.168.1.2 add chain = forward action = mark-packet new-packet-mark = client1 passthrough = no connection-mark = client1
add chain = forward action = mark-connection new-connection-mark = client2 passthrough = yes dst-address = 192.168.1.3 add chain = forward action = mark-packet new-packet-mark = client2 passthrough = no connection-mark = client2
......... and so on up to 8 client ................
2. Create a Queue Tree / Queue tree

   (See the total bandwidth used by all clients)
   add name = "all-cafe" parent = global-out packet-mark = all-cafe limit-at = 0 queue = default priority = 8 
   max-limit = 512 000
   (Limit bandwidth per client) 
   add name = "client1" parent = all-dev packet-mark = client1 limit-at = 70000 queue = default priority = 3 
   max-limit = 512 000
 

  add name = "client2" parent = all-dev packet-mark = client2 limit-at = 70000 queue = default priority = 3
   max-limit = 512 000

  ......... and so on up to 8 client ................
3. In my tree queue rule, all clients have the right and guarantee the same bandwidth. illustration, the
    bandwidth will be given full 512k if only one client is online (eg client1), but when there is another client
    online or request client1 bandwidth is the bandwidth will go down automatically. if all clients need
    bandwidth then masing2 client will get a 512k bandwidth divided by 8 client = 64k.
4. You may ask, why I put the limit at = 0 in queue al cafe while on the client limit at = 70k and why the
     priority in the queue all the cafe is different from the client queue ..?      answers and how the calculation can be found http://mikrotik.co.id/artikel_lihat.php?id=29