Re: Friday Distraction

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Oct 28, 2011 at 5:26 PM, Eric Butera <eric.butera@xxxxxxxxx> wrote:

> On Fri, Oct 28, 2011 at 7:24 PM, Nathan Nobbe <quickshiftin@xxxxxxxxx>
> wrote:
> >
> >
> > On Fri, Oct 28, 2011 at 5:23 PM, Eric Butera <eric.butera@xxxxxxxxx>
> wrote:
> >>
> >> On Fri, Oct 28, 2011 at 7:07 PM, Daniel Brown <danbrown@xxxxxxx> wrote:
> >> > On Fri, Oct 28, 2011 at 18:36, Nathan Nobbe <quickshiftin@xxxxxxxxx>
> >> > wrote:
> >> >> Hi gang,
> >> >>
> >> >> Thinking database i/o would be the slowest part of a request in your
> >> >> new zf
> >> >> / amf app?
> >> >>
> >> >> Leave it to Zend_Amf to burn more cycles marshaling the protocol!
> >> >>
> >> >>
> >> >>
> http://s289.photobucket.com/albums/ll238/quickshiftin/?action=view&current=ScreenShot2011-10-24at74724PM.png
> >> >
> >> >    Ends up looking startlingly like the original Sim City.
> >> >
> >> > --
> >> > </Daniel P. Brown>
> >> > Network Infrastructure Manager
> >> > http://www.php.net/
> >> >
> >> > --
> >> > PHP General Mailing List (http://www.php.net/)
> >> > To unsubscribe, visit: http://www.php.net/unsub.php
> >> >
> >> >
> >>
> >> kcachegrind is great.
> >>
> >> SimCity is great!  Just the other day I was thinking about that
> >> soundtrack it played over the PC speaker, hilarious.
> >
> > Agreed, the only thing that isn't great in this context .. Zend_Amf,
> haha!
> > -nathan
> >
>
> I saw your post on that the other day - looks like there's a native
> php extension you might look into.  The author was quite proud of the
> hasty response it was capable of, going as far as to say his library
> was faster than flash can decode it.
>

Yeah, I got it built under php 5.3, it rips.

Funny thing is amfphp has a userpace  serializer of it's own and it of
course takes less time than db i/o.

Dropping in the extension takes the time spent serializing down to
practically nothing.

Suffice it to say we'll be migrating to the extension on subsequent revision
of the project I alluded to.

Also, the more I use zf, the less I like, lol.  Look at this line from the
documentation - Fools!

"Zend_Server_Interface provides an interface that mimics PHP 5's
SoapServer class;
all server classes should implement this interface in order to provide a
standard server API."

-nathan

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux