On Google code playgorund, I tried to load multiple library like below
google.load("jquery", "1");
google.load("mootools", "1.2.1");
But it breaks the code, why ? Thanks
Before I used .jsp pages for jsf, and the below code was pretty fine
<script language="javascript"
src='<%= renderResponse.encodeURL(renderRequest.getContextPath()
+"/resources/jsCropperUI/scriptaculous.js?load=effects,builder,dragdrop") %>' >
</script>
Now, I'm using .xhtml with RichFaces, and the below…
Hi, ive searched around but couldnt really find anything to help. I use this code as a main ajax call for all content on my site (All content loaded dynamically into a div using this script):
jQuery(document).ready(function($) {
function load(num) {
$('#pageContent').html('<img src="imgs/ajax-loader.gif">')
…
Hi,
total newbie here - trying to figure out how to make a page load faster with 1 embedded YouTube video on it - a very modest page takes an extra 5 seconds to completely load with the YouTube player showing up. I'd either like the page to load first or to only load the video when user clicks on it - don't know how to do that..
Here…
I´m working on a wordpress template.
I´m trying to load the single.php of a post using ajax. I´m doing all the load thru a loader.js file that has this:
// load single project page
$("#project_slider").live("click", function(){
$("#content").hide();
$("#content").load("<?php the_permalink(); ?>", function(){
…
While load testing an ASP.NET app, we find that the pages are taking 20-30 sec under heavy load.
We suspect this is because the pages are waiting for database calls or web services.
Is there a particular perfmon counter that can identify this sort of bottleneck on the web servers? CPU, Memory, and Disk are normal.
Or must we use a…
We are considering an architecture like the one in the picture for Solaris 10
That is, high avalaibility software load balancers in front of web and application servers.
Unfortunately, Keepalived is not available for Solaris at the moment.
Is there an equivalent artifact for substituing Keepalived which is supported in Solaris…
I am using nginx as the loadbalancer and IIS to server asp.net pages. However I am having trouble figuring out how to set sticky session in nginx. Is it possible? Thanks.
I am trying to implement a stateless server. I'm using LAMP with Php but when I connect to the facebook server using facebook connect. Wouldn't it return a facebook session to me which my server will mantain. Does that remove the whole point of being stateless?
Basically I want to have multiple application servers and a dumb load…
We are using a Cisco CSS 11500 switch/load balancer and are trying to determine if we utilize the ArrowPoint Content Aware (ACA) service, can we still maintain stickiness with ArrowPoint cookies?
Thank you.
Assuming that I have a dedicated server on which I am running multiple instances of mysql and postresql servers. How without iotop determine which instance in particular time (proc/pid/io shows data collected in some peroid of time) makes the biggest IO (so it increases IOWAIT)?
When lots of ppl do something on DB then I clearly…
Consider that there are two server load balancers working in the tcp proxy mode (e.g., for L7 load balancing). Is it possible to synchronize their states in real time so that they can be a backup for each other? in case that one is down, the other still has all necessary states to uninterruptedly support all existing TCP…
We are trying to log requests made through an nginx loadbalancer.
When we make requests to our server on a subdomain (api.blah.com), the request does not show up in the access logs
However, requests made directly to blah.com do show up in the access logs.
CONFIGURATION INFO
We have a DNS record that creates a CNAME…
As a web developer, a common problem I find myself tackling is waiting for something to load before doing something else. In particular, I often hide (using either display: none; or visibility: hidden; depending on the situation) elements while waiting for a background image or a CSS file to load.
Consider this…
I have 2 nearly identical dedicated servers with the same provider. They also run a nearly identical software stack: RedHat 5 64-bit, Plesk, PHP, Apache, & MySQL. We use them for hosting custom sites we build.
The problem is, while our 1st server has a load average (in top) of around 0.3, the 2nd server…
We have a dedicated MySQL server and below is the a snapshot of the top. The load average has been staying at nearly 100 for an hour plus ready.
top - 20:54:28 up 7:31, 2 users, load average: 83.08, 96.88, 106.23
Tasks: 278 total, 2 running, 274 sleeping, 2 stopped, 0 zombie
Cpu0 : 18.8%us,…
I have an issue where I am unable to use JSON, which would appear to be because of the following error. There is another thread on this forum this touches on a similar issue, but it's not quite the same.
I am using CentOS 5.6 and have the following pear packages installed:
[crmpicco@eq-www-php53 ~]$…
We have a handfull of ASMX web service hosted on two identical Windows Server 2003 boxes. The virtual directory for the web services is loaded in a DFS share, both servers point to the same share. We have a loadbalancer between the internet and the two web servers.
At a seemingly random interval…
We have a handfull of ASMX web service hosted on two identical Windows Server 2003 boxes. The virtual directory for the web services is loaded in a DFS share, both servers point to the same share. We have a loadbalancer between the internet and the two web servers.
At a seemingly random interval…
My mysqld goes to use 99.9% of CPU for variable time (between 2 - 20 minutes), and then goes back to normal 0.1% - 5%.
Checked processlist: all is normal, 1 to 20 inserts or updates that last 2 to 5 sec, and about 20 process that are in Sleep Mode (maybe because the scripts don't close the…
I need to run Linux-Apache-PHP-MySQL application (Moodle e-learning platform) for a large number of concurrent users - I am aiming 5000 users. By concurrent I mean that 5000 people should be able to work with the application at the same time. "Work" means not only do database reads but writes…
Setting up a two-node Apache web server cluster that provides high-availability.
In front of the Apache cluster we create a loadbalancer that splits up incoming requests between the two Apache nodes. Because we do not want the loadbalancer to become another “Single Point Of Failure”, we…
I have been having one of the most frustrating days in my entire IT career. I am trying to install an SSL certificate on a subdomain in a web farm.
http://shop.mydomain.com needs to ALWAYS be forced to https://shop.mydomain.com
I have a temporary cert issued from verisign on…
How can I get the true usage of a multicore hyperthreading enabled cpu?
For example lets consider a 2 core CPU, expressing 4 virtual cores.
A single threaded workload would now show up as 100% in top, as one core of the virtual cores is completely used. The CPU and top work…