If it's just 40kb of size, then it's not related to the transfer protocol. And switching to AMF would not help because the file itself is binary, so whether it's transferred directly on top of HTTP (via a regular GET query) or encoded into an AMF stream (which in most situations still uses HTTP) makes little difference.
Have you tried profiling where the actual delay happens? How are those 20 seconds distributed across the different phases of loading the model, such as net/HTTP query, database query, file reading, network transfer back to the client, parsing on the client, and initialization code on the client? Cheers /R On Jul 12, 7:34 pm, Mahfudz <fofodes...@gmail.com> wrote: > for now, i just save the path of 3d inside the mysql. not save the 3d model > inside the mysql. so, mysql just store the path. > > fyi, i already have a dedicated server to host my away3d application. ;-) > > btw amf just store the path of my 3d model. if there have another methods? > Thanks Michael Iv for your information. ;-) > > > > > > > > > > On Wed, Jul 13, 2011 at 12:46 AM, Michael Iv <explomas...@gmail.com> wrote: > > Look I suggest you to read about different transfer protocol . My guess is > > that you used a regular http post/get method which is slow . To get the > > fastest transfer over the net you should use binary protocol like AMF or > > binary sockets . All this stuff is not a rocket science , just search for > > examples in the web . > > PS , Still big data chunks may result in very slow load . So better not to > > save those in DB but only a reference to their location . In my tests I used > > not just MySql but used it as a DB for BlazeDS services via which I received > > DB queries using RPC on AMF . In theory it should have resulted in a pretty > > fast transfer but as I told you before I had never an opportunity to test it > > online because you need a dedicated server to host BlazeDS > > Regards, > > Michael . > > > Sent from my iPhone > > > On Jul 12, 2011, at 7:29 PM, Mahfudz <fofodes...@gmail.com> wrote: > > > I just done loading the 3d model from mysql, but loading times took more > > than 20second even the size of 3d model 40KB? > > is there have trick to reduce the loading times 3d model from mysql? > > > is it depend on 3d model itself like a polygon, texture size and internet > > connection of the user? > > > On Wed, Jul 13, 2011 at 12:19 AM, Michael Iv < <explomas...@gmail.com> > > explomas...@gmail.com> wrote: > > >> What do you mean "another"? What method have you tried ? > > >> Sent from my iPhone > > >> On Jul 12, 2011, at 7:11 PM, Mahfudz < <fofodes...@gmail.com> > >> fofodes...@gmail.com> wrote: > > >> Guys, > > >> Is there have another option or method to load the 3d model from MySQL > >> faster? > > >> -- > >> *Regard,* > >> * > >> * > >> *Muhamad Mahfudz > >> * > >> *Media Director @ Rich Core Media * > >> * > >>http://www.richcoremedia.com* > >> <mahf...@richcoremedia.com> <mahf...@richcoremedia.com> > >> mahf...@richcoremedia.com | +6017.681.5474 | +6013.246.5974 > > > -- > > *Regard,* > > * > > * > > *Muhamad Mahfudz > > * > > *Media Director @ Rich Core Media * > > * > >http://www.richcoremedia.com* > > <mahf...@richcoremedia.com>mahf...@richcoremedia.com | +6017.681.5474 | > > +6013.246.5974 > > -- > *Regard,* > * > * > *Muhamad Mahfudz > * > *Media Director @ Rich Core Media * > *http://www.richcoremedia.com* > mahf...@richcoremedia.com | +6017.681.5474 <mahf...@richcoremedia.com> | > +6013.246.5974