subutai-io / bazaar

For public issues and wiki pages related to bazaar.subutai.io
2 stars 3 forks source link

Improved peer query #20

Open mattcollier opened 6 years ago

mattcollier commented 6 years ago

I'm referring to the query available here: https://bazaar.subutai.io/peers

The very long list of CPUs doesn't seem that useful to me. I think what would be more interesting is to be able to specify acceptable per core performance, perhaps just in relative terms. Maybe just graded using some scale. So for instance, data like this could be used: https://www.passmark.com/services/market-analysis.htm

And the Passmark score could serve as the grading scale. And then, I would expect that the performance rating could be factored into the market price.

Further, I think filters based on in-demand extensions would be desirable. So some work loads can benefit from AVX extensions which are only available in certain CPUs: https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX

Another extension that comes to mind is Intel Quick Sync: https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video#Hardware_decoding_and_encoding

The same sort of logic could be applied to ISP. I don't know why anyone would care who the ISP is, but they would be interested in in/out network bandwidth possibly from doing some sort of speedtest on a periodic basis http://www.dslreports.com/speedtest A 384Kbps up / 1.5Mbps down DSL connection is just not going to get the job done in some cases.

Same goes for storage as well, the Passmark data can be used for storage hardware benchmarks. SSD storage should demand a premium over spinning disks.

Use case scenario: Transcoding Video If I'm writing an app to deploy workloads to the Subutai platform, I've got to be able to manage internal/external delivery expectations. So I need to be able to match to work to the VM the same way I would on AWS.

Shahrizada commented 6 years ago

@mattcollier thank you for this awesome issue. We will make sure to address this issue and have a fix soon.

niclash commented 6 years ago

Matt, thanks for the feedback, it is truly appreciated.

You are absolutely right that long lists of names will not be suitable going forward, and there is plans for a solution which revolves around a "Criteria" concept and parametric search. This will also form the base for container migration (such as falling outside given criteria) and container resurrection (unexpected shutdown/crash of host machine).

Additionally, the resource management system is being overhauled as we speak. Instead of the TINY...HUGE containers, a much more advanced system is coming into play. Basically, the resource host owner will be able to set pricing for RAM, disk and CPU, set minimum/maximum resources per tenant, and the Subutai system will add "labels" or "tags" for additional attributes of both the host as well as the owner and the stated SLA. All of that is fed into the Criteria and Parametric Search to give optimal choice, as well as relative convenience to the user.

Unfortunately, I am not able to give an ETA on this (full or partial), but rest assure that this is all on the road map.