This commit is contained in:
Les De Ridder 2017-02-23 19:47:16 +01:00
commit 66435da9a4
No known key found for this signature in database
GPG Key ID: 5EC132DFA85DB372
1 changed files with 16 additions and 0 deletions

16
algorithm.py Normal file
View File

@ -0,0 +1,16 @@
if latency_datacenter < latency_cache && connected(endpoint, cache)
cache_wel
if predictedrequestA > predictedrequestB
cache_op_snelste(predictedrequestA)
else
cache_op_snelste(predictedrequestB)
else
cache_niet
def cache_niet:
//TODO les, implement
def cache_wel:
//TODO les, implement