scalability

PHP or Lift framework for a web application?

Hi guys! I'm currently developing a web application using PHP, but I'm considering developing the web application using the lift framework instead, because twitter and foursquare have implemented it. I know a few benefits using lift/Scala but, could you guys mention some benefits compared to PHP? Many thanks ...

Howto make image generation scalable on Java?

I'm trying to improve performance of captcha image rendering in web app running on Linux. Looking at what is currently used, I found that the bottleneck is in the usage of Java2D and specifically Graphics2D class. The problem is not much with the speed of execution, but more with scalability. Basically it doesn't scale. Drawing of captc...

How to configure reverse proxy/loadbalancer for custom routing

Hi! Suppose I have 3 webservers behind a reverse proxy/loadbalancer. Currently I use Apache 2 but don't mind switching. Those webservers are not equal. They have different sets of local data meaning that different kinds of requests will be handled more efficiently on specific webserver. I want to plug some custom routing logic into m...

scaleability of failing transactions mysql

I have a table that stores messages from one user to another. messages(user_id,friend_id,message,created_date). My primary key is (friend_id,created_date). This prevents duplicate messages (AFAIK) because they will fail to insert. Right now this is ok because my code generates about 20 of these queries at a time per user and I only hav...

Can you use a key-value store as the primary database for your application?

I am developing an application that will be deployed to Amazon EC2. I've had a good look at membase, which is a key-value store that can scale out very easily. However, I'm not sure that you can use that as your primary (or at least, only) datastore. Ie, you will need something else that will be able to hold search-able/query-able data. ...

Addressing Scalability,Performance and Optimization issues in RMI Application?

Dear Experts, my problem is: this design is working fine for one ball but i m unable to get it work for multiple balls, i have basically problem in replacing the "this" keyword in updateClients (). i thought i need to do something like this but i m failed: System.out.println("in ballimpl" + j.size()); for (ICallback aClie...

Flex poker game scaling in Google Apps Engine vs Amazon EC2

I have a server side code written in java and client side code written in flex. As client makes a request roughly every 3 seconds to the server, then I'm pretty sure I'm running into scalability problems at some point. As far as I can see, I can host the application either in Google Apps Engine or Amazon Cloud. As I understand Amazon of...

Entity Framework 4.0 Scaling and Security

I want to use an ORM, and have been looking at EF 4. Is this platform scalable. I see a lot of stuff on the web, but everything looks very biased in one way or the other. Anyone know of benchmarks or non-subjective information. On that point, does EF prevent SQL injection or XSS. I know that it used parametrized queries, but is that eno...

PHP vs Java performance and scalability comparison

Is there a good modern comparison (last couple years) of how Java performs and scales relative to PHP in a modern web application environment (Twitter, Facebook, COMET push) Is there any type of canonical web application that would be best to compare the 2 languages? (Full disclosure: I'm primarily a Java developer and I've worked with...

Memcache - Local or Dedicated Server?

What are the pros and cons of having memcached running on a seperate server instead of locally? This is my server setup: -2 Dedicated Servers (Load Balanced) -1 Dedicated MySQL Server -1 Dedicated Memcached Server Is there any benefit of dropping the Memcached Server and putting the daemon locally on the 2 dedicated servers? Or is that...

Learning about scalability

I've decided I need to learn more about building scalable solutions. Given almost any programming problem, I can build something to take care of it. Unless that problem is "this needs to handle a billion hits a day". Where do I start? Websites, books, articles, etc are all appreciated. My primary languages of choice are currently Ja...

Select an effective revision control

Hello, We are a company, working on small and some huge project. Sometimes on one project are more developers 5, 10, 20 etc. We are searching for an effective revision control system with best optional properties: Performance issues – one file size, complex directory structure Scalability – support for 5, 10, 25 developers, 10, 50, ...

Does SoapHttpClientProtocol.BeginInvoke hold a thread?

Does SoapHttpClientProtocol.BeginInvoke hold onto a worker thread while waiting for i/o? ...

Why do people say that Java is more scalable than python?

I've seen this argument in a few places, and now, recently i saw it again on a reddit post. This is by no means a flame against any of these two languages. I am just puzzled why there is this bad reputation about python not being scalable. I'm a python guy and now I'm getting started with Java and i just want to understand what makes Jav...

NoSQL database and many semi-large blobs

Is there a NoSQL (or other type of) database suitable for storing a large number (i.e. >1 billion) of "medium-sized" blobs (i.e. 20 KB to 2 MB). All I need is a mapping from A (an identifier) to B (a blob), the ability to retrieve "B" given A, a consistent external API for access, and the ability to "just add another computer" to scale t...

Is RabbitMQ more scalable than JMS outbound queue?

I want to know whether RabbitMQ is more scalable than other brokers or not? If yes what are the specific reasons? If not how can we scale it up? I am using rabbitmq for the first time with Spring framework. ...

Why is the scalability of the UI important in WPF?

While I love developing user interfaces in WPF and XAML, I've tried to embrace the scalability aspect by also creating my icons as vector images... but it's really hard! I very rarely get the same kind of crispness that I can with raster graphics and it almost always takes me longer to produce the icons. Am I wasting my time? Is there n...

Highly scalable db schema for recurring events

Which is the best way to design a db schema in which store hundreds of thousand events, with recurrencies, and that will support milions of query asking which events will occur in a range of dates? I mean, designing the tables to describe the model should be not difficult, but doing that in such a way that the huge amount of data can be...

how to scale databases

Can someone give me a quick rundown on the old and latest research on scaling databases or storage? I have heard of master/slave. What else are there? Thanks! ...

Running Drupal application on a webfarm (scalability ) , HOW?!!!

Hey everyone, We have created a website using Drupal , but the problem ( good problem ) is that we are getting WAAAAYY too many hits on the server to the point where the traffic is brining the server down to its knees. now we want to run the application off of 3 servers behind a load balancer, one to just serve mysql and the other 2 ...