[erlang-questions] Erlang Cost Model
zxq9
zxq9@REDACTED
Thu Sep 17 19:11:27 CEST 2015
On 2015年9月17日 木曜日 13:04:32 you wrote:
> On 09/18, zxq9 wrote:
> >These are costs specific to a particular operation happening on its own
> >time, but tell you nothing meaningful about your system as a whole
> >because all of this stuff is going on at once in different processes at
> >different times. Sometimes you are in the situation where doubling your
> >processing speed just means adding more cores. Sometimes not. You will
> >either *know* at the outset of a project or *have no idea whether this
> >is true* until you actually have something up and running that you can
> >measure. Usually it is the latter.
> >
>
> If you have any sizeable data set, you can improve speed by orders of
> magnitude, which is a lot more worthwhile than by core count (dividing
> by a constant factor only).
...
> >This is why I am calling the *unqualified*
> >utility of cost models into question.
> >
...
> You may find out you need a fancy custom data structure after
> prototyping, but in no way do you find yourself in a bad situation for
> knowing the complexity of tools you already have available.
These are all qualifications. Which is my whole point.
I can't think of many (any?) places where I know in advance that I will have 300 thousand (or 300 million) elements in a *single* data set that I will want to manipulate them directly in Erlang.
-Craig
More information about the erlang-questions
mailing list