Skip to content

Releases: EricssonResearch/cloud-native-app-simulator

v4.0.0

01 Sep 10:14
5ace3e8
Compare
Choose a tag to compare

Emulator was reimplemented with Golang and minimum overhead was reduced to 0.3 ms of CPUTime/req.

v.3.0.1

22 Jun 13:41
5eac982
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.0.0...v3.0.1

v.3.0.0

22 Jun 06:35
48b98d3
Compare
Choose a tag to compare

We removed stress-ng and replace it with simple python script which uses cpu_time for stressing CPU.

What's Changed

Full Changelog: v2.0...v3.0.0

stress-ng version

21 Jun 07:59
789ac76
Compare
Choose a tag to compare

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

New Contributors

Full Changelog: v1.0...v2.0

Initial code version

24 Feb 10:55
Compare
Choose a tag to compare