質問

We have a flex part in a web application which is doing a lot of heavy tasks with audio, like

  1. running multiple audio,
  2. play pause stop and recoding functionality,
  3. working with sound wave form and
  4. some manipulations with sound's byte array.

Problem: Facing latency issues as it get's heavier with more number of audio tracks added and also single-thread achitechture is a concern.

I searched a lot but haven't got good resources of java fx 8. What I am concerned about is whether java fx 8, released in March 14, is stable enough to start with and whether I will get all the features that flex has been giving and also, whether html 5 can also be considered as an alternative.

役に立ちましたか?

解決

While I might not have empirical data to back it up, experience says that these are intensive operations regardless of the front-end technology used. This is primarily due to the fact that you are relying on the user's cpu cores to do this work. This isn't to say that one is better than the other - it's more that the ROI for a re-write probably will not pay off like you expect it to, based purely on performance reasons.

As for single-threadedness - the Flash Player Platform supports workers, which actually sounds like a good candidate for your application as it can more easily be divided into discrete cores.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/system/Worker.html

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top