First HTTPService request takes forever
Ok. I have an interesting event taking place with my application.
The first HTTPService request takes about 10-20 seconds and then, any additional requests are made between 1-5 seconds.
A user types in a country code that and clicks a submit button. The request is sent to a PHP page with the variable, the PHP creates an XML response. Flex updates a datagrid accordingly which shows rates/minute for phone numbers with that country code.
Any suggestions as to why this might be?
Thanks in advance.
Other Thoughts:
First Request = 7 results (about 15 seconds)
Second Request = 168 results (1 second)
Third Request = 3028 results (5 seconds)
Fourth Request = same request as First request (less than 1 second).
im not sure about that one. i havent seen that issue before. as for the 'if i delete itunes, will it delete my music' question, the answer is no. if you uninstall itunes, it will just leave your music on your computer.
Similar Messages
-
HTTPService request takes 100% cpu
Hi,
I've developed a Flex app that displays an organization chart
of employees in a company. As the user navigates around the tree,
it requests data as needed from the server using an HTTPService
object. I've noticed that when the application first starts up, it
takes about 7 seconds for it to load the data. During this time, my
CPU is pegged at 100%, which causes the browser to be completely
unresponsive. This happens in both IE and Firefox. Subsequent
requests to the server complete in well under a second (usually
~200ms), but still use substantial CPU power. The data being
returned from the server is in JSON format, and usually consists of
about 5 nested objects with ~10 string properties each (this seems
like a pretty light load to me). I'm using the corelib JSON decoder
library. There is nothing different about the requests being made
except that when the app first starts up, it makes 2 requests
simultaneously (both from the same HTTPService object but with
different parameters on the request) -- could this be causing the
massive slowdown? It seems like Flex does a busy-wait while the
first request completes before beginning the second. Through
trace() statements added to my code, I can see it make both web
requests one immediately after the other, the first one returns in
under a second, then it waits for a long time before the second one
returns. Googling for this problem hasn't returned anyone else
experiencing this problem. Any help improving the performance of my
application would be greatly appreciated.An event structure is the best way. The next best way is to simply put in a wait in the loop.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
My iphone 5 was fast at first but now takes forever to load an app how can i fix this
my i phone has gotten really slow is there any way i can speed my system up or clean my phone
First steps I would try:
1. Double tap the home button, and close all apps.
2. Do a hard restart by holdinig the Home button on the bottom, and Sleep/Wake button on top for at least 15 seconds, until you see the Apple Logo. -
Ever since this last update whenever I go online it takes forever for my homepage to come up. Is anyone else having the same trouble with Firefox? Use to I could click the icon and right there was the internet now I have to wait and wait and wait. I am about ready to leave Firefox. Another thing it does too, is if I go and look at a youtube video, then when I do open my homepage that youtube video becomes my homepage, instead of what my homepage should be. I am getting so so frustrated. Someone please give me some help on this.
* The first time you start up any application after turning on your computer is called a cold start, which is why Firefox takes a while to load right away. (I've noticed that future versions of Firefox start up faster on a cold start then Firefox 5.0.1.) Also, a lower amount of RAM could be slowing its start-up down since Firefox is kind of memory hungry.
* As for the second part of your question, press ctrl,Alt, and the delete keys on your keyboard. The Windows Task Manager should start. Go to the processes tab and look for 'firefox.exe'. Right click on the firefox.exe and click 'End Process'. Hit Yes and wait for a minute.
* Then opening Firefox again.
Hopefully this helped somewhat! -
firefox is taking way too long to load pages. I have a very fast internet connection but firefox takes forever to load websites. At first it worked fine and very fast but now very slow??
Hi there!
do you test other browsers?
i suggest to make a clean install of newer version of Firefox like v8.0. -
Opening First Image Takes forever
Hey guys.
Just as the title says, every time i start photoshop CS2 (latest update) (windows xp) the first image always takes a long time to load (e.g. 30 seconds) no matter the image or how long i give photoshop to load first.
Any images after that load basicly instantly.
Any ideas?switch your default system printer to something local. anything. just not a network printer.
-
Logging in Calendar Server sometimes takes forever
Test setup :
- On Windows NT Server 4.0 SP6a
- Sun ONE Calendar Server (5.1.1),
- Local user prefs LDAP database : IPlanet Directory Server
- Distant auth LDAP database : OpenLDAP
Just after restarting the services, login procedure works OK and fast. After a few hours of use, login procedure takes about 2 minutes and 40 seconds (but finally works).
Other factors :
- If the login credentials are cached, everything works OK and fast. If and only if the credentials are not cached and the server has been used for some time, then the login takes forever.
- Network sniffing reveals that CS does two LDAP queries : one to get the DNs related to the login, one to check the credentials using a BIND operation. When everything works, the two requests are done quickly in succession. When it doesn't work, the first request is done (answer comes immediately) then CS delays for about 2 minutes 40 seconds before doing the second request.
- I've played with several ics.conf parameters (LDAP cache, session duration, HTTP timeout...) without much success.
Any ideas ?It's possible that you are having a problem with some Firefox add-on that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
Whenever you have a problem with Firefox, whatever it is, you should make sure it's not caused by one (or more than one) of your installed add-ons, be it an extension, a theme or a plugin. To do that easily and cleanly, run Firefox in [http://support.mozilla.com/en-US/kb/Safe+Mode safe mode] (don't forget to select ''Disable all add-ons'' when you start safe mode). If the problem disappears, you know it's from an add-on. Disable them all in normal mode, and enable them one at a time until you find the source of the problem. See [http://support.mozilla.com/en-US/kb/Troubleshooting+extensions+and+themes this article] for information about troubleshooting extensions and themes and [https://support.mozilla.com/en-US/kb/Troubleshooting+plugins this one] for plugins.
If you need support for one of your add-ons, you'll have to contact its author.
If the problem does not disappear when all add-ons are disabled, please tell me, so we can work from there. Please have no fear of following my instructions to the line, as all can be easily undone. -
As soon as I updated firefox, as prompted, it takes FOREVER to open a site, including when i first open firefox. Should I uninstall and then reinstall?
Hello, could this be it?
Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality
http://support.apple.com/kb/HT5559 -
File encoded with x264 takes forever to load in Encore CS 5.5
I use Encore mostly because it takes h.264 video encoded with the x264 compressor, which provides much higher quality than any other compressor. The problem is that these files take forever to load. For example, right now I'm trying to load a video that is about 1 hour and 20 minutes long, encoded at 38 Mbps, and the file is 20.9 GBytes. Now it's 3 PM and I imported this file along with the AC3 file over an hour ago. The Encore process shows as not responding, but when I open the Windows 7 Resource Monitor, in the disk tab it shows that it's reading the video file at a rate of about 45 MB/s, so I didn't kill the Encore process. I know eventually it's going to stop and load the file, but I don't understand why it takes so long. The encoding parameters that I used in x264 are these:
x264 --level 4.1 --bluray-compat --preset slow --bitrate 38000 --keyint 30 --min-keyint 2 --open-gop --weightp 0 --slices 4 --vbv-bufsize 30000 --vbv-maxrate 40000 --rc-lookahead 40 --tff --output "output" "input"
This comes from a family video that is 1080 59.94i. This time these two parameters appeared because I selected Blu-ray as the target: --bluray-compat and --open-gop, which I don't normally use, but still, even when I don't use them, video encoded with x264 takes forever to load. Does anybody here know what could be the problem?What's weird is last year I encoded a file that was almost two hours long and Encore took it without trouble, although it was CS5, not 5.5. Since I had kept the avs and bat files, and also the x264.exe from that encode, I brought them into the current working folder and I just modified the file names in the avs and bat files to point to the new avi and encode to the new h264 file. So I encoded this file, I imported it into Encore, and it still hangs. Maybe it was a change from CS5 to 5.1 that introduced a problem. x264 has been certified to be Blu-ray compliant since over a year ago, and I already put this file to a Blu-ray with TSMuxer, since it was a family video and I didn't really need menus, and it plays perfectly fine in my Blu-ray player.
But I'm sure there must be something, one or two parameters that would make it compatible. For example, after encoding the file again the last time, now I can import it into Encore, and it doesn't stay frozen forever, but it doesn't show me the video and as soon as I try to move the timeline cursor it freezes and doesn't let me do anything for several minutes. So still it's not usable. But it's a change from the first encode where the progress dialog would be there for several hours and do nothing at all. -
My entire song list duplicated for some reason. Do I have to delete songs individually (take forever), or is there a way to do it all at once?
I had the same problem. Had at least 3 of each song in my library... Here's how I fixed it.
Go on iTunes to your library
Hit Shift and click on View
Scroll down to "show exact duplicate items"
the list will give you all your duplicated songs
Click at the top of the "date added" Column to sort by date added.
Even if it all happened the same day it will group your whole library by date and time added.
The time is the key...
You can start at the begining of you list and scroll to the last song that was added that day and time frame.
Everything after your last song is duplicates.
Highlight the first song hold down shift and scroll down to the last song...
Once they are all highlighted you can hit delete and send them all to the recycle bin.
It took me a while to figure it out but it works -
When i first got my computer and installed iTunes, everything worked fine. then when my Norton internet security expired it really slowed down. like it takes 10 minutes to just go to the iTunes homepage, ON A GOOD DAY. About a month ago i installed Norton 360 (better than the one before) and iTunes still takes forever! Does anyone have any help?
No help - but I have the same problem. Not only does it take forever to load but once it has loaded it takes forever to move around the library
-
A user is having trouble printing. Print jobs take FOREVER when they used to speed through
A user is having trouble printing. Print jobs take FOREVER when they used to speed through (despite linked images, etc)
These are just some notes from our troubleshooting:
User was trying to print out InDesign document however during the flattening phase, the computer would stall and would not print out the document.
The document does not print out using double sided or single sided.
The first time I went out, all I did was a system restore and uninstalled mcafee security plus because we're on a university network and sometimes the firewall blocks network printing, and that worked. She tried to print again later and it went back to taking 30 minutes for a print job of about 19 pages. These print jobs used to take about 5 minutes at the most to print entirely, but they queued up immediately, versus now, it takes about 5 minutes just to get to the printer.
Further troubleshooting that I did on a separate day:
Printer was printing fine in November - problem started at some point this month (December)
Printing is fine elsewhere, including in Adobe Acrobat
I was able to print one page just fine - it had no images (tried to print the same page later, took forever)
Some of the images are very large (100MB+) photoshop files (again, they were there before and it printed fine) - these images are linked (with no link errors)
She prints to a network printer, but there's no firewall on (again, printing is fine elsewhere)
She's essentially printing with the default settings, she just centers her print, instead of the default layout.
Now even printing with the default print set (not changing any print settings at all) doesn't work. Jobs take 30 minutes. I can't figure out if it's file specific or where the problem is. Since she has no custom settings, my next option is to just do an uninstall and reinstall, but I'm worried that the problem will still be there. I was starting to think that maybe the file is just so corrupted from all the force quits that that's causing the problem, but... I'm running out of solutions.
Any help?I have only worked doing layout for one business in my past. In that job our department would sometimes experience slowdown in printing from time to time. However, we began to see extreme slowdowns over a month period. It was finally tracked down to two things. One was something about the RAID array going bonkers. The other was some of the CAT cabling going bad. It only affected large print jobs and copying large files through the network. Even so, it was not 100% of the time. Sometimes things went along smoothly.
Point is, have your IT people been invited in to experience the issue and see if anything in the network is causing at least latency issues?
Take care, Mike -
Since upgrading to Yosemite & iPhoto 9.6, any time I try use Faces, it takes forever to load, then crashes computer. How do I fix this? (besides not using Faces).
Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - from the resulting first aid window repair permissions and if necessary rebuild your database
LN -
Nothing is working right, it freezes all the time and takes forever to load
The first time I switched to Firefox 4 it worked really fast but since then it takes forever to load, the pages freeze, some sites don't recognize 4. It is very irritating trying to just get on the internet. Facebook will load slower that ever and freeze constantly. Other sites partially load then freeze. Typing anything will often freeze in mid word. I hate this. What is going on?
What is all this stuff at the bottom in the "Installed plugins" section?Here's a novel thought. Take it back to the vendor. Should have done that one week ago.
-
Revision: 949
Author: [email protected]
Date: 2008-03-27 07:12:59 -0700 (Thu, 27 Mar 2008)
Log Message:
Bug: BLZ-96 - When sending a HttpService request from ActionScript with multiple headers with the same name, it causes a ClassCastException in the server
QA: Yes - try again with legacy-collection true and false.
Doc: No
Checkintests: Pass
Details: Another try in fixing this bug. When legacy-collection is false, Actionscript Array on the client becomes Java Array on the server and my fix yesterday assumed this case. However, when legacy-collection is true, Actionscript Array becomes Java ArrayList on the server. So added code to handle this case.
Ticket Links:
http://bugs.adobe.com/jira/browse/BLZ-96
Modified Paths:
blazeds/branches/3.0.x/modules/proxy/src/java/flex/messaging/services/http/proxy/RequestF ilter.javaHi all!
Just to post the solution to this if anyone ever runs accross this thread...
For some reason i had it bad the first time, don't have time right now to see why but here is what worked for me:
HashMap primaryFile = new HashMap();
primaryFile.put("fileContent", bFile);
primaryFile.put("fileName", uploadedFile.getFilename());
operationBinding.getParamsMap().put("primaryFile", primaryFile);
HashMap customDocMetadata = new HashMap();
HashMap [] properties = new HashMap[1];
HashMap customMetadataPropertyRoom = new HashMap();
customMetadataPropertyRoom.put("name", "xRoom");
customMetadataPropertyRoom.put("value", "SOME ROOM");
properties[0] = customMetadataPropertyRoom;
customDocMetadata.put("property", properties);
operationBinding.getParamsMap().put("CustomDocMetaData", customDocMetadata);
Basically an unbounded wsdl type is an array of objects (HashMaps), makes sense, i thought i had it like this before, must have messed up somewhere...
Good luck all!
Maybe you are looking for
-
Create a purchase order using transaction ME21
Hello Abappers, I want to create a STO( purchase order using the sales order data) using transcation ME21. Kindly provide step wise details as i am a technical person adn dont have to functional knowledge to create it.Also mention where the pricing c
-
HT2518 which program can I use to open a Word file that is formatted for use ONLY on a PC?
I hve a word doc that is formatted only for use on a PC. I cannot change the file at the request of the sender. Is there a way to open and fill out the word document on a mac. I used to have Parrelles which allowed me to do so but no longer have this
-
Does anyone know if it is possible to select multiple contact email addresses simultaneously from the contact list in Yosemite in a similar fashion to what we used to do (hold down the shift key)? I have tried all the key combinations I can think of
-
SSH changes vs future firmware update
Hullo, I have made some changes to WD My Cloud via SHH: I disabled ipv6;I stopped two services through crontab (S85wdmcserverd and S86wdphotodbmergerd)etc, according to http://blog.cloud-client.info/?p=1365 In case of future firmware update and I per
-
Reverse PGI but relevant sales order is already deleted.
Hello, We have created a consignment fill up order and completed up to posting goods issue. Now we need to reverse the PGI for this delivery, unfortunately the relevant sales order was already deleted. Can you kindly advise how to reverse the goods i