My first question =). I'm writing a video game with a user interface written in JavaFx. The behavior is correct, but I'm having performance problems. I'm trying to figure out how to figure out what is queuing up the refreshes which are slowing down the app.
I've got a relatively complex Scene Graph that represents a hexagonal map. It s...
Hi,
I need your advice about framework selection (Java vs Mono) for a new large scale web project which will be developed for linux hardware.
Which platform do you prefer and why ?
Best Regards,
Sirmak
...
I'm building a webservice that is going to be under ridiculous load (thousands to ten-thousands of queries per second). My normal stack of apache, PHP, memcache and some DB will be able to handle it with a nice load balancer infront and lots of machines, but I'm wondering if there are better solutions.
The endpoint will be hit by a beac...
In a system I am currently working on, there is one process that loads large amount of data into an array for sorting/aggregating/whatever. I know this process needs optimising for memory usage, but in the short term it just needs to work.
Given the amount of data loaded into the array, we keep hitting the memory limit. It has been incr...
We use AutoSproc as our DAL, not my choice, but it was there when I started working at my job. I was wondering if any one had any experience using AutoSproc with large web applications? I'm just curious if it would scale well as our application is growing and we might need to pop it into a web farm at some point.
If it doesn't scale wel...
I'm looking to build a scalable database solution for the back end of my website. I've been reading about database design lately, and I seem to have developed an idea on my own that might work. I think this is a novel way of maintaining n databases with synchronized data, but I could be wrong. So I'm asking SO to evaluate the idea and te...
What design patterns or techniques have you used that are specifically geared toward scalability?
Patterns such as the Flyweight pattern seem to me to be a specialized version of the Factory Pattern, to promote high scalability or when working within memory or storage constraints.
What others have you used? (Denormalization of Datab...
Seaside is known as "the heretical web framework". One of the points that make it heretical is that it has much shared state. That however is something which, in my current understanding, hinders easy scaling.
Ruby on rails on the other hand shares as less state as possible. It has been known to scale pretty well, even if it is dog slo...
I am building a webapp that has the following characteristics:
It only has a small number of pages, home,contact us, about,singup,etc.
Each user has one jquery-based page that allows them to drag/drop/manipulate DOM elements.
When a user has finished manipulating elements they can hit Save and elements are sent via JSON to a PHP script...
Can you recommend PM/PPM management software that scales well?
When I deal with a single project Redmine does it job perfectly (well, almost), but when I have dozens of projects on my hands it becomes quite difficult to allocate resources and do some future planning.
I'm looking for some system that treats project not as a highest lev...
I have developed an application that will create lot of PDF's and serve those file.
(Its normal Servlet-Buffering serving).
How to make sure my application works efficient with multiple request? Is there any tool available to test the load/scalability/efficiency and how many parallel request does my code handle with the current server ...
Ok I know this is pretty broad, but let me narrow it down a bit. I've done a little bit of client-server programming but nothing that would need to handle more than just a couple clients at a time. So I was wondering design-wise what the most mainstream approach to these servers is. And if people could reference either tutorials, books, ...
I've created PHP application for Facebook. It uses MySQL, Memcached and works on Lighttpd on Centos 2,6 Ghz and 2 GB RAM.
it's basically one PHP file that after first run is cached and every next time it's served in 0,8 ms directly from Memcached.
What more can I do to shorten this time?
...
I have a PHP file that gets HTML from Memcached and serves it to user. When I test it like this:
ab -n 1000 -c 100 http://website.com/test.php
It does 22 requests per second.
But when I put the same HTML to a html file and do this test:
ab -n 1000 -c 100 http://website.com/test.html
I get like 4500 requests per second.
I n...
I have a text field in my web app where I want to do auto-completion (e.g. the user types "St" and I can suggest "Steve"). The names I'm matching against are in a SQL database table of users. My question is, how can I make this happen in a way that will scale to massive amounts of users?
There's DB full text search or something like ...
When I start Apache Bench test:
ab -n 10000 -c 1300 http://domain.com/test.php
I get error:
socket: Too many open files (24)
When i change to '-c 1000' it works fine.
Because I can have more than 1000 concurrent users I would like to fix socket too many open files problem or increase parameter. How to do this and where?
I u...
I have a website in PHP, Lighttpd. It uses also MySQL on Centos 5. I've tested my PHP with code below with Apache Bench (ab). It resulted in some errors (Failed Requests) indicating other length than normal. I'm absolutely sure that my PHP result should always have the same exact length. I've reviewed my Lighttpd and MySQL logs and error...
Hi
i have a php script that accepts a POST request as a listener to a web service then process all the data to two final arrays,
I'm looking for a way to initiate a second script that GET's those serialized arrays and do some more processing.
include() will not be good for me since i actually want to "free" or "end" the first script afte...
My "normal" development is based on java (1.6), a database (db2, oracle, mysql) and an application server (JBoss).
I wonder if there is a limit of concurrent users that I can handle with this configuration. I think running a site like google.com would'nt be possible this way.
But where is the limit?
If things get bigger, do I have to...
I have heard over and over that you should add indexes to any foreign key you will be doing joins on. I have also heard you should have indexes for fields you will do queries on. Does anyone have a fairly exhaustive list or set of guidelines around when and when not to add indexes?
There must be a size of table where it is inefficie...