Comparison of number of bytes transferred over network while using HTTPService and RemoteObjects

If I have to transfer data(say records of 100 employees in a DB) from Server to Client, I could use HTTPService and fetch the data as an XML file and then convert it to ArrayCollection in the Client. Or use RemoteObject and transfer the data in binary. Lets ignore other methods(Web Services etc) of data transfer for the moment.
Now, for the same data, if I implement the application using HTTPService and RemoteObject, I notice that the number of bytes transferred over the network is less in case of HTTPService(XML) when compared to RemoteObject(AMF) which is a shock to me. My understanding is that AMF transfer should be more compact than XML. Ofcourse, once the data is available, RemoteObject result processing is noticeably faster than HTTPService result processing. My concern is why data transferred using AMF is larger than XML. As an example, you may refer to the samples provided in TourDeFlex. Refer to the following:
HTTPService:
    Found in : Flex Data Access->HTTPService->BasicExample
    Link: http://www.adobe.com/devnet-archive/flex/tourdeflex/web/#docIndex=0;illustIndex=0;sampleId =12700
    Click on the 'Get Data' button to fetch the data.
    Bytes transferred - 1050
RemoteObject:
    Found in : Flex Data Access->RemoteObject->BasicJavaRemoting
    Link: http://www.adobe.com/devnet-archive/flex/tourdeflex/web/#docIndex=0;illustIndex=0;sampleId =13300
    Click on the 'Get Data' button to fetch the data.
    Bytes transferred - 1440
This is a significant size difference. You may see the data transfer size by using developer tools like the HTTPFox Firefox extension.
Am I missing something here? Any help will be very much appreciated.
Thanks,
Balu

There is definitely problem with your tool or you looked at something else. Please check the attached snapshots of the session using charles capture tool. The response sizes are way bigger than what you mentioned but remoteobjects is almost half of httpservice for the complete transfer including request and response. Check below -
httpservice -
http://tinypic.com/view.php?pic=2q2le2e&s=7
amf -
http://tinypic.com/r/10wmx4o/7

Similar Messages

  • HT4623 I have an iphone 5. My number has not transferred over to the new phone although my network provider sais that it has. The network provider sais I must setup phone with itunes. How do i do this?

    I have an iphone 5. My number has not transferred over to the new phone although my network provider sais that it has. The network provider sais I must setup phone with itunes. How do i do this?

    If you can access anything on the phone, then try a reset. Hold the sleep/wake and home buttons together until you see the Apple logo and then release. If this doesn't help, then go to Settings, General, Reset, Erase all content and settings, and this will bring you back to the activation screen.

  • Photoshop file gets deleted in network while using on IMAC

    photoshop file gets deleted in network while using on IMAC. I have tried on different server also. How to reslove the issue. Please help me ?

    This is the boilerplate text often used in connection to saving to a network (please NOTE the part where it explains that normally, it does work, but that it is impossible to troubleshoot someone else's network remotely, and that's why it's not supported by Adobe):
    If you are opening files over a network or saving them to a network server, please cease and desist immediately in the event you are currently experiencing problems with one or more files. Working across a network is not supported.
    See: 
    http://kb2.adobe.com/cps/406/kb406793.html
      Copy the CLOSED file from your server to your local hard disk, work on it, save it again to your local hard disk, close it, and copy the closed file back to the server.
         Of course, the fact that Adobe does not support working across a network does not necessarily mean it won't work.   It should.
        Adobe's position is that there are too many variables in a network environment for them to guarantee that everything will work correctly in every network, especially given the fact that if something does not work properly, it's probably the network's fault, and Adobe has no way of troubleshooting your network.
      If you can't work locally, you are on your own, and if something happens, you're on your own. If you must work from a server, make sure your network administrator is a competent professional.
    When problems arise, a lot of valuable work can be lost.

  • Clips fall off sync when transferred over network.

    We've had the same network for almost 2 years now. Since we updated one of the computers the clips fall off sync, as if the machine is magically taking the slip/slide tool and using it itself. We updated the other mac to 6.0.1 as well, but still same problem. Can anyone help please?

    Project files are just copied from one machine to the other, we never work on the same file at the same time
    Where does your media live? If I had to guess I would say that you are trying to edit across the network. This means that your media lives on one machine and you try to edit it on the other. Is this what's happening?
    If this is what you are doing then you will continue to have difficulties. Networks are just not fast enough to handle media this way. Count your blessings that you did not have any trouble for two years. Now is the time to rethink your workflow.
    K

  • Using jdk1.3 compiler over network on NT SP6 and Windows 2000 is very slow.

    We recenlty shifted to jdk1.3 from jdk1.2.2. We compile java files that
    are on a mapped network drive. The compiler,source files and the class
    files are read from and written to a mapped network drive.
    We have noticed that our compilation times have increased 3 times since
    we started using jdk1.3. We compile around 4000 files which use to take
    4 hours when jdk1.2.2 was used and with jdk1.3 it is taking around 14
    hours. This is the case when we compile on Windows 2000 and Windows NT
    Service Pack 6 machines. But compiling on Windows NT ServicePack5 it
    would get compiled in 5 hours. This is really weird but that is the
    workaround we have now that is using a NT Sp5 machine for compilation.
    Wondering if anyone else has seen this problem. Please let me know.
    Thanks,
    VJA.

    Well the bottleneck in your build process is always going to be the network regardless of the compiler you use.
    Ok, the compiler may be slower but the I/O issues far outweigh the compiler performance.
    What affects the build process you have that you can compile on a particular machine but the files must remain on a central server?
    There is little difference in copying all the files to a local machine, compiling locally and copying the class files back to the server, and having the compiler read from and write back to a network driver apart from performance. Obviously there may be some issues however very few that cannot be resolved.

  • Using a disc over network to use for Time Machine?

    I've been using an external HD as my disc image for Time Machine. Recently, both of my USB ports failed due to a juggling accident with cables connected to the ports. I'd like to send my computer for repair, but'd feel safer if I could backup before that.
    Through file sharing and an ethernet cable I'm connecting to my old mac and can see the my HD for Time Machine, but how do I configure Time Machine to use that disc?

    If you are connected to the other Mac via network, you should be able to see the external hard drive on that Mac.
    Take a look at Pondini's Time Machine FAQ: http://pondini.org/TM/22.html

  • Got a new computer last week. transferred over purchased songs from laptop and today it does not work

    so i got a new desktop with windows 10 and the latest itunes on it last week. i signed into itunes and all my purchased songs from my laptop showed up and played fine. today when i clicked on itunes this message poped up  "we could not complete your itunes store request. the network connection could not be established" i can see my songs but can not play them. internet connection is fine, and i do not see anything out of the ordinary.
    i have read some folks that have had the same issues for mac and iphone, but not for windows 10. any help would be appreciated!
    ryan

    Adding a bit to what pac_80 said, you can only download tracks and videos from the iTunes Music Store one time. So you have to copy them from your old computer to your new one.
    As to the "can't be found" problem, can you see the problem tracks in your iTunes Music folder? Or are they not there at all?

  • Need help connecting to network printer using xfce and cups

    Hello
    please can someone assist me with setting up a printer.
    I am running arch and xfce desktop.
    I have an Epson Stylus Photo R800 USB printer connected to a wireless Belkin all-in-one Print Server.
    I do not know how to connect to this printer.
    I am not conversant in CUPS or network printing and would very much like to use the printer.
    My arch box is connected through cable to a wireless router.
    The print server is connected to the wireless router and the router confirms the print server is attached to the network.
    The print server IP address is 192.168.0.100.
    The printer server has a web interface which I used to set wireless and TCP settings. I should say that I went into this interface and configured the print server which is totally usable and fine from a Vista laptop using wireless - vista laptop "sees" the print server and prints over wireless, therefore I know the server and printer are working together and all the print server settings are fine. I dont know how Vista connects, it just does!
    I tried installing gutenprint and foomatic, went into the CUPS server page (localhost:631) and found my printer but I'm not sure if my connection string (socket://192.168.0.100:9100) is correct. I've tried several values and several Epson drivers from the CUPS web interface, all to no avail. I just get this message:
    bash-3.2# lpstat -t
    scheduler is running
    system default destination: Epson
    device for Epson: socket://192.168.0.100:9100
    Epson accepting requests since Sat 26 Jul 2008 22:53:35 BST
    printer Epson now printing Epson-0. enabled since Sat 26 Jul 2008 22:53:35 BST
    /usr/lib/cups/filter/pstoraster failed
    I have no desire to be a CUPS expert nor a networking expert - I was rather hoping someone could guide me through the process, I have tried reading web links (google) but do not understand various pages and instructions.
    bash-3.2# cat /etc/cups/printers.conf
    # Printer configuration file for CUPS v1.3.8
    # Written by cupsd on 2008-07-26 22:34
    <DefaultPrinter Epson>
    AuthInfoRequired username,password
    Info Epson
    DeviceURI socket://192.168.0.100:9100
    State Idle
    StateTime 1217108079
    Accepting Yes
    Shared Yes
    JobSheets none none
    QuotaPeriod 0
    PageLimit 0
    KLimit 0
    OpPolicy default
    ErrorPolicy stop-printer
    </Printer>
    any ideas good folk?
    Last edited by keratos (2008-07-26 22:07:45)

    EDIT:
    SOLVED!
    the problem was that gutenprint needed to be installed.
    I looked at the rastertops file in /usr/lib/cups/filter and it was very small, handfull of lines, but refered to gutenprint (whatever that is).
    "pacman -Q gutenprint" revealed it was not installed.
    All is fine now.
    GREAT!

  • Extra bytes in data transfer when using VISA and C++ instead of LABVIEW

    Hello,
    I've a problem when I try to download the capture buffer from a spectrum analyzer with C++Builder and VISA.
    If I do that with LABVIEW (with VISA read and write) everything is fine. Instead, with C I get extra bytes in
    the stream. In particular whenever there is a '0A' in the stream I get also a '0D' before it. I'm using a GPIB-USB-B card from National. I know I could easily get rid of those extra bytes in my code, but I'd like a cleaner solution.
    Does anybody know the difference between the following code and LABVIEW VISA read and write routines?
    Is there some attributes I have to set in C which is automatically set in LABVIEW?
    Thanks a lot in advance!!
    Simone
    ViSession defaultRM, vi;
    viOpenDefaultRM (&defaultRM);
    viOpen (defaultRM, "GPIB0::10::INSTR", VI_NULL,VI_NULL, &vi);
    ViStatus err = viSetAttribute(vi, VI_ATTR_IO_PROT, VI_NORMAL);
    ViUInt32 retCount;
    err = viWrite(vi, "CGET?0,0\n", strlen("CGET?0,0\n"), &retCount);
    ViByte* buffer = new ViByte[100000];
    err = viRead(vi, (ViByte*)buffer, 100000, &retCount);
    FILE *fp;
    fp = fopen("data", "w");
    fwrite (buffer, retCount, sizeof(ViByte), fp);
    fclose(fp);
    viClose(defaultRM);
    viClose(vi);
    delete []buffer;

    Simone,
    this has to do with LabVIEW running on multiple platforms with different End-of-line signals.
    With Windows this is usually 0x0d0a, which is the ASCII control code for . Other platforms use typically just one of those characters; I believe with MacOS there used to be just a 0x0a and with Unix this might have been 0x0d.
    In order to avoid hazzles, the LabVIEW develloper decided to convert the platform-specific End-of-line signals into a LabVIEW-internal character (which is 0x0a) when reading strings and back when sending strings out of LabVIEW.
    So, your device sends out 0xd0a and LabVIEW removes the 0x0d. Everything is OK.
    Greetings from Germany!
    Uwe

  • Troubleshooting Network Problems Using Log and Trace Files

    Hi,
    can any one tell me how to generate trace and log files related to network errors.

    start with inspecting listener.log
    Post tailend (last 40 lines here) of listener.log

  • HT1476 iphone battery over heats while using apps

    Hello,
    my iphone battery over heats when charging and using apps. It is so hot to the touch that it feels like it will burn me.
    anyone know a solution to this problem.
    Thanks,
    John Nguyen

    Yes let the phone charge and don't use it.
    you can live without the phone  while it charges...

  • Home Wifi Network Issue using Airport and 2 BT Hub...

    I'm having problems getting my home network set up without IP conflicts.  Any advice much appreciated...
    Here's what I've currently got:
    BT Broadband Unlimted
    Hub 2.0 connected to broadband line - wireless network switched off
    Apple Airport Time Capsule connected to Hub 2.0 by WAN cable (Airport running in Bridge mode)
    Various Apple devices (MBP, iMac, iPhones, iPads, iPod), PS3 and Sony Surround Sound connected to Airport with wifi.
    Wifi extender connected to Airport by wifi (obviously) for upstairs - PS3 and occassionally MBP connected to that)
    Ethernet cable from Airport to a Hub 1.5 in the Garden Office with MBP and HP Printer then connected to Hub 1.5 with wifi.
    HDD connected to Airport with USB cable.
    Everything was working fine until I ran the ethernet cable to the office and connected the Hub 1.5.  It worked fine in the office, wifi connected, I could see the internet and the Airport and the connected HDD.
    However, at this point, the iMac back in the house, which connects to the Airport wifi network, sometimes connects to the internet, sometimes doesn't.  It connected to the Wifi fine, just won't connect to the Internet. It was stopping at the Hub2.0 "Default Gateway" (according to traceroute).  Switching wifi networks on the iMac (e.g. Airport 2.5Ghz to Airport 5GHz, or Airport to FON or Airport to the Office Wifi) fixes the internet connection problem, until next time I try to connect.
    This only affects the iMac.  The MBPs, iPhones etc have no problems connecting to wither wifi or the Internet...
    I figured it must be an IP addressing problem due to the Hub1.5 conflicting with the IP address range configured for the Hub2.0, so I tried to re-configure this on the Hub1.5 in the Office.  
    However, to get to the Hub Manager, I had to disconnect the Ehternet cable (otherwise it just went to the Hub2.0 Hub Manager).  Once I did this and reset the Hub1.5 to factory settings, I could see the Hub1.5 Manager.  However, if I click on Advanced and enter the password (after restting it with the SN) I can't see any of the advances menu options in the left hand panel (e.g. IP Addresses).  So I can't change the IP address range.
    Any ideas how I can get to see the IP Address options on the Hub1.5?
    I also tried setting a static IP address on the iMAC, but it won't let me - just says IP address already in use when I try to change it to one in the range set on the Hub2.
    Worse thing is, now that I've reset the Hub1.5, the Internet connection keeps dropping on that as well now.  It works fine for a few minutes then drops and I have to turn wifi off and on again, or disconnect and reconnect the ethernet cable to get the Internet to connect again, then it drops after a few minutes.
    So, I've gone from the iMac not working to the iMac and the office hub1.5 not working properly, and all I've really done is reset the hub1.5 to factory settings...
    Shall I just get rid of the 1.5 and buy a different wifi router for the office?
    Should I be able to change the IP address range on the 1.5?
    Any other ideas?
    Any help much appreciated. Thanks in advance.

    Have you tried running the TC not in bridge mode?
    In airport utility, instead of selecting bridge mode, select share a public ip address. You will get an advisory warning from the TC but just opt to ignore it.
    This way all of the DHCP is handled by the TC and the HH1.5 and none by the HH2.
    Otherwise a replacement for the HH1.5 might be called for - perhaps and airport extreme.

  • Over bright screen using bootcamp and Windows X

    My 24" iMac works great with bootcamp, but the screen is so bright it's unusable. The bootcamp control panel has a very limited control range and doesn't make the screen even close to dim enough.
    I use Shades applet with Leopard when on the Mac side, and it works great.
    Is there anyone out there who can suggest a similar program for Windows, or another way to further dim the iMac screen so it's usable under Windows in Bootcamp?
    Thanks!

    I wish you had follow my suggestion and called Apple to get a replacement set of original system disc.
    The reason is that disc you order from Apple has only Snow Leopard version 10.6.3 and your Mac may need a later version of Snow Leopard, like 10.6.4, .5, .6 or .7 and that disc will NOT install the OS on your system.
    Along with that the original system disc set contain a second disc for the iLife applications, "i" Photo, Movie, DVD, Web and Garage Band.
    Without that second disc you can not install those iLife Apps unless you buy them from the Mac App Store at about $19.99 for each or the set of them on DVD from someplace like Amazon or eBay.
    And if you buy it from the Mac App Store you can only get "i" Photo, Movie and Garage Band as Apple has stopped supplying "i" DVD and Web with the iLife Apps.

  • TS1398 My Iphone 4 will not connect to my home Wi-Fi network, it used to and then just stopped. It will connect to all other network but my home Wi-Fi. All my other Wi-Fi device will connect to my home Wi-Fi with no issues.

    I have tried everything I can think of. I reset my phone, I reset my router. As far as I know nothing has changed but I think I did recently update my Iphone. Now what do I do!!!!!!!!!!!!!!!!!!    It used to connect and work fine, now i get nothing.

    Reboot the router. Just unplug it for a few seconds. No settings get lost.

  • Transferring file over network? what can I use besides ssh?

    What can I use to transfer file over network besides using ssh?
    This is only for experimental purposes. I have used ssh before, by using command like this:
    (time cat /run/shm/test/input/totalInput.tar | ssh username@ip-server "cat > /dev/null") 2>>/run/shm/test/p3_UC_ctime_tar.txt
    or this, if I tried to compress a file and then transfer:
    (time bzip2 -kfc1 /run/shm/test/input/totalInput.tar | ssh username@ip-server "cat > /dev/null") 2>>/run/shm/test/p3_ctime_tar.txt
    However, I think ssh is killing my transfer speed. I am getting only 10-20Mbps.. Router should support over 200-300Mbps.
    What can I use besides ssh? I was thinking about netcat, but what I don't like is that I have to open port on the other side for each new file transfer.

    Well, what I am conserned with things like scp and ssh (I tried scp too) is encryption.
    I just moved one file over to a server with scp, and I got about 2.1MB/s... which is about 16.8 Mbps..
    I am using Linksys E900, which is wireless-N router. Connection exist between two computers only, nothing else is using that router. However, there is another wireless point outside of our room, which is used for public University network. I don't know how much of effect it would have on our set up.
    Both computers have plenty of disk space. One computer (actually development board) uses sd-card for its OS and other disk space.
    About 200-300Mbps.. is just something I saw on router's specs.
    Last edited by kdar (2012-08-19 03:22:28)

Maybe you are looking for

  • Occasional MacBook Pro 8,1 / Feb 2011 trackpad button fails to work

    Having this really annoying problem on occasion with a new 13" MBP (purchased a month ago in Toronto from the Apple Store Eaton) - every once in a while the trackpad button will fail to work. The trackpad will function just fine, but the button will

  • How can i get photos from camera or computer on my ipad

    how do i get photos from my camera or computer on my ipad for editing?

  • How to debug or test PCR?

    Hi guys, im an abaper that now configures in HR =), my first shock is that i don't know how to debug or test the pcr´s (the rules that u create on pe02) any ideas?

  • Icon can only be changed by root

    hi sorry for my poor english (i'm from france) Well, i have a problem i cannot solve : my Hard Disk has two partitions and and i cannot paste anything for the first one's icon. paste seems to work but nothing happens. All other icons can be changed.

  • "Searching for movie data" message locking up keynote

    Using Keynote '09 on a Macbook Pro. Importing keynote files from a shared server. Files contain embedded video. Never had issues with previous versions of Keynote on same machine. Now, after opening the files, they lock up and a message pop-up says "