Huge record intake by Flash!

Mike Downey had once said, “I was even asked by one team of developers how they could solve a performance problem they encounter when loading 700,000 complex data records into the Flash player via Remoting! OMG!”, at …

Mike Downey had once said, “I was even asked by one team of developers how they could solve a performance problem they encounter when loading 700,000 complex data records into the Flash player via Remoting! OMG!”, at the MAX India 2004. Well, I was also there and I tried to reply with a rather surprised notion of, “Why so much record at a time?”.

The instant thought that came into my mind was break it up. Anyway, as we are talking on a superficial manner, I was unable to help the developer totally solve it. Today, while I was discussing a project with one of my developer friend, the same topic came up again. Why? but why do we need to get that much of record into an application? And we are talking of Flash here, where it is best left to take in things in pieces. And with remoting (the developer told us that he was using remoting), for instance, CFMX remoting have the inbuilt paging option for your recordset, so why not use it? If there is no way to solve the situation in that manner, then I am really doubtful if the application have been architectured well in the first place.

If that team of developer is observing this, you can comment on the same and we can discuss and may be I or other reader would be able to help you.


Don't like it? There are lots of published articles, pick a random one.

oCricket

Brajeshwar posted this article on Mon, Mar 29th, 2004 at 4:18 pm
Categorized under Technology and has the following tags

Prev Article: Flash Actionscript Pro Contest

Next Article: How to Write Doc Comments for ActionScript


Possibly Related Articles

Archives: Visit the Archives for more articles.

Comments Post Yours

There are 6 responses so far. You can follow any responses to this entry through the RSS feed. You can skip to the end and leave a response. Pinging is currently not allowed.

  1. Two examples come to mind (I was not one of the original people to mention this):

    1) I had a project a year ago, FP6, where we wanted to load all the majority of the Universities/Colleges in the United States into a combo box so that 1 could be selected. FP6 didn’t like that many (10k+). I tried building code that would allow you to enter text into a text box and as the 3rd character was entered, the 3 characters were sent to the CFMX back end (SQL 2000), a select where like ‘%var%’ was done, and the records came back. Worked great for most search criteria, but for 3 terms it still sent back too many records (University, College, State), and hence someone using the application had to type a less common term in.

    2) Now, a peer has a need to load a combo box (html) with the employees of a large corporation (60k+ users). 60k is taking quite a while to load. It would be nice if there was a way for someone to start entering the name and it to populate the combo box on the fly. Obviously, populating after 1 character is typed doesn’t help much, you may still have 5-10k records. However, 2nd & 3rd characters may be ok and cut the list to 1-2k.

    Either way, html and Flash Player do not easily handle more than a few hundred rows. Likewise, if you use a Grid control in Flash, with many columns, it becomes unwieldy quickly.

  2. As far as I’m concerned - this ultimately stems from a UI design problem. The user should never have to wade through 700,000 records, 60,000 records or even 5,000 records (even if they are alphabetized). In these cases there needs to be an intuitive data drill-down interface so the user can be guided into zeroing in on what they are looking for in the first place.

  3. I have found there are always better ways to load data when you think there isn’t. For example in your #1 why couldn’t you have some type of drill down (like Sean mentions) Why would you want them to find their university in a large combobox? You have a couple options. One is to provide a state combo box which would return a combobox with the universities of that state. Or a second option would be to have them type the name and just validate it on the server (if your app was more to browse colleges why would you have a form anyway you should drill down by city/state/type/etc)

    Anyway this was a good post and Brajeshwar makes a good point.

  4. At my work our application has to work with very large data sets. We deal with them by logically breaking our data up into smaller chunks and then cashing the remaining pieces on the server for fast retrieval.

    Like Sean said even 5000 records is too much. So if you find yourself dealing with that many records at one time on the client, you probably need to rethink your design.

  5. what ever happened to search fields?

  6. i like all the ideas here. and if a group of flash developers were presented with the problem then i’m sure they could figure out a workaround like some already have. but not taking into account the time it takes to download shouldn’t the application be able to handle this? i talk to java users and they do not believe that flash can handle the load. before flash can break out of the animation title and into the application circle it has to be robust. it has to work out and go to the gym. then it gets big muscles and the girls too would come after it. “oh flash you are so strong, giggle”

Post yours

Sidenotes

Quick notes, scribbles, somehow related to this website and to what I do. Or perhaps I'm just plain lazy to make them into a full article.

Fedora 10 Released

Let's talk history! Fedora was created in late 2003 as a Linux based Operating System which gives the users an admittance from anywhere in the world to the most up-to-date free and open source software ...28th Nov, 2008

Top 25 Hottest Indian Web Companies

Note: User submitted article. Personally, I would advise not to take this video seriously. 21st Nov, 2008

India gets ready for Free and Open Source Software

Over the years, FOSS.in has attracted thousands of participants, and the speaker roster reads like a "Who's Who" of FOSS contributors from across the world. FOSS.in is a non-commercial event organised and run entirely by FOSS ...21st Nov, 2008

Cooliris for the iPhone

Cooliris is the browser extension that revolutionizes the way you view media on your computer. It is now available as an application for your iPhone! Cooliris for the iPhone allows you to search the web ...22nd Oct, 2008

Adobe releases Flash Player 10 (Mac, Win & Linux)

Adobe have released the shipping version of Flash Player 10 for Mac, Windows and Linux. More about Flash Player 10 * About Flash Player 10 * Get Flash Player 10 (Official Release version 10.0.12.36) * Download Debug and Standalone ...15th Oct, 2008

View the Sidenotes Archive

Play the Penguin Game

Recommended

  • o! Just Me Of colorful cultures, entertainment, media, life hacks, music, books and movies from hollywood & bollywood.
  • My Special Job My Special Job is a place where you can look for your weird necessities, strangely superb employees, when your need are more of those hackers, geeks, and ultimate rockstars in the Internet Technology.
  • Downloads All downloads, Free and Open Source.
  • Not Safe for Work Ever clicked a link and felt embarrassed with the content in front of your co-workers? Ever caught unaware because the funny link your friend sent was a little beyond funny? Let’s minimize that with NSWF.
  • Forum Oinam’s technical discussion forum where developers and designers can discuss all technical topics.
  • AS 2.0 Reference Reference for ActionScript 2.0 Programming Language used in Flash. Primarily stashed here for my own personal reference.
  • ActionScript 3.0 Reference Flash/Flex ActionScript 3.0 Reference.

Download free Brajeshwar Wordpress Theme

Brajeshwar

Brajeshwar I firmly believe in keeping things simple, easy for users and I envison pushing the technical envelop time and again for the betterment of viable commercial and practical applications. More about me.

Brajeshwar's affinity with Adobe

My Photos

More photos on Flickr

Member of 9rules Network

Since its inception on 11th June, 2001, "Brajeshwar" has 903 Articles and 6,149 comments, contained within 21 categories and 1,384 tags.