Friday, April 2, 2010

How to load up to 12 million X-Y...

How do I build an application that can load up to 10Million dots; small X-Y identifiable coordinates that can fire events like onClick etc? Would the flash player handle 1Mil clicks a minute? Attached is a sample of what the resulting grouping of the points would look like.

How to load up to 12 million X-Y...

First find an operating system that can generate that many mouseclicks. Then we'll work backward from there.

Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui

How to load up to 12 million X-Y...

I think you're going to need a little more clarification here.?Also other than the performance question, this doesn't sound terribly Flex specific (not that you can't still ask the question here).

Performance wise, I'm going to bet that you're probably okay but it definitely depends on what you're doing for each click, as well.?As far as the performance hit for firing one million click events and handling them with a very basic response, it completes in just a few seconds.?So if that's spread over a minute I think you'll be fine.

Not sure I can say much more without more specifics.?Also if we knew a little more about your objective, someone might be able to suggest a different or better approach.

Flex harUI wrote:

First find an operating system that can generate that many mouseclicks.?Then we'll work backward from there.

Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui

What kind of application are you building? Seems to me you don't really need individual dots, just check the mouse x/y cooridnates and act appropriately.

If this post answers your question or helps, please mark it as such.

Greg Lafrance wrote:

What kind of application are you building? Seems to me you don't really need individual dots, just check the mouse x/y cooridnates and act appropriately.

It will be user generated.

An application that responds to user clicks over a certain stage size. However, I realize that you could just have a graph layout (graphing paper) and respond to each box as a pixel or something like that.

I don't think the player will handle 12M mouse targets. You'll need to have a single (or few) target and figure out which actual target it was based on some algorithm. However, if that algorithm also requires scanning 12M things, it doubt it will perform well either. Has this application been written on other platforms?

Alex Harui

Flex SDK Developer

Adobe Systems Inc.

Blog: http://blogs.adobe.com/aharui

  • cheap make up
  • No comments:

    Post a Comment