Releases: EricssonResearch/cloud-native-app-simulator
Releases · EricssonResearch/cloud-native-app-simulator
v4.0.0
v.3.0.1
What's Changed
- Fix/issue with cpu complexity by @salehsedghpour in #59
Full Changelog: v3.0.0...v3.0.1
v.3.0.0
We removed stress-ng and replace it with simple python script which uses cpu_time for stressing CPU.
What's Changed
- Fix/remove stress ng by @salehsedghpour in #57
- update the version to v3.0.0 by @salehsedghpour in #58
Full Changelog: v2.0...v3.0.0
stress-ng version
Note: Replace the image version to use version 2.0
instead of latest
In this version, we were able to customize both memory, cpu and network for each requests. There is a drawback for this case for short requests like 1ms
which took around 30ms
because of calling them from a subprocess
, or os.system
or ctypes
like:
from ctypes import *
so_file = "/usr/src/app/stress-ng/stress-ng"
my_functions = CDLL(so_file)
my_functions.main.argtypes = c_int,POINTER(c_char_p)
args = (c_char_p * 11)(
b'',
b'--class',b'cpu',
b'--cpu',str(conf['workers']).encode('utf-8'),
b'--cpu-method', str(conf['method']).encode('utf-8'),
b'--cpu-load',str(conf['cpu_load']).encode('utf-8'),
b'--timeout',str(conf['execution_time']).encode('utf-8'),
)
my_functions.main(len(args),args)
What's Changed
- Feature/wip/new service description format by @salehsedghpour in #21
- Feature/wip/single-container services by @alekodu in #27
- jsonize configmap and delete extra requests by @salehsedghpour in #31
- wip: parse config map in model container by @alekodu in #29
- Multi-threaded server and sync/async request forwarding by @alekodu in #33
- Feature/dev env by @salehsedghpour in #35
- Feature/convert flask restful by @salehsedghpour in #37
- Feature/grpc support by @salehsedghpour in #40
- optional nodename for deployment affintiy by @salehsedghpour in #42
- Random generation of service description files by @alekodu in #44
- Fix/unexpected output by @salehsedghpour in #45
- Support customizable cpu, memory, network task complexities by @alekodu in #47
- delete extra files by @salehsedghpour in #50
- Stress-ng customisation of timeout by @alekodu in #51
- Feature/logging by @salehsedghpour in #49
- add replication by @salehsedghpour in #52
- add annotations by @salehsedghpour in #54
- adding github container registry by @alekodu in #56
New Contributors
Full Changelog: v1.0...v2.0