Questions tagged [high-load]

All aspects of high-loaded systems development and maintenance.

All aspects of high-loaded systems development and maintenance: design, algorithms, architecture, technologies, development, testing, databases, storage, support, hardware, hosting, management.

154 questions
1
vote
3 answers

High-load: Own light web-server vs module for nginx

How do you think, is it a good idea to write own web-server for a high-loaded project with built-in native code comparing to nginx + C++ module? Probably, productivity gains will be negligible? And what about the safety of this approach (С++ module…
Ben Usman
  • 7,969
  • 6
  • 46
  • 66
1
vote
0 answers

Intermittent MySQL error under high load: "Unknown MySQL server host 'XXXX'"

I have a MySQL server under heavy load (~960 queries per second) with ~ 400 clients continuously running queries against it. It is on a powerful machine (8 cores, Xeon, 3.3 GHz) and it looks like it can keep up with the load, no…
Jonathan
  • 1,864
  • 17
  • 26
1
vote
3 answers

Load script from different server/host , rather than my

I'm looking for the place where i can put my js script file. I'm creating javascript code like an Google Analitics code, so it will load an .js file, but my server cannot handle so many requests. I'm thinking to upload my script to another…
1
vote
2 answers

spring cloud zuul configuration

I'm doing a load testing against a Spring Cloud application. When number of concurrent users reaches a point, I started to get forwarding error {"timestamp":1450916058678,"status":500,"error":"Internal Server…
YongJiang Zhang
  • 1,989
  • 2
  • 20
  • 25
1
vote
0 answers

php-cgi.exe processes cause high cpu usage in IIS 7.5

I have a Windows Server that has random spikes of high CPU usage and upon looking at ProcessExplorer and Windows Task Manager, it seems that there are a high number of php-cgi.exe processes running concurrently, sometimes up to 6-8 instances, all…
yulun
  • 260
  • 1
  • 6
  • 21
1
vote
2 answers

MySQL: how to ensure integrity in multiple read only architecture

Scenario is simple to describe, but might have a complex answer: Imagine a case where you have one write only mysql database. Then you have about 5 or 6 read only databases. The write database has a count for a particular inventory. You have…
randombits
  • 47,058
  • 76
  • 251
  • 433
1
vote
1 answer

Highload rails server with backgrounder architecture

Here is my task. Every second backgrounder task should generate json based on some data. This operation is not cpu intensive ( mostly network) and it generates JSON content (5-10KB). Operations take about 200ms. Also I have about 1000 clients…
Yegor Razumovsky
  • 902
  • 2
  • 9
  • 26
1
vote
1 answer

How to store and collect data for mining such information as most viewed for last 24 hours, last 7 days, last 30 days, last 365 days?

Let's imagine that we have high traffic project (a tube site) which should provide sorting using this options (NOT IN REAL TIME). Number of videos is about 200K and all information about videos is stored in MySQL. Number of daily video views is…
Kirzilla
  • 16,368
  • 26
  • 84
  • 129
1
vote
1 answer

Fast tree evaluating

I have an evaluating tree class. Each node has children in a strict order. A server has a list of such trees. When a client successfully connects to the server, it sends a lot of different HashMaps to a selected tree for computation. Typical…
Kabanov
  • 11
  • 2
1
vote
2 answers

Simultaneous call to Memcache

I was at the interview for middle/senior PHP developer couple of days ago (I failed). I've been asked the tricky question still bothering me. Imagine we use PHP + Memcached and extremely loaded project (about 100 hits per second or more). We have…
James May
  • 1,371
  • 3
  • 20
  • 37
1
vote
0 answers

Is there still any problems running MongoDB or Redis under OpenVZ?

Some tutorials says it's not recommended. Does problems still actual?
vuliad
  • 2,142
  • 3
  • 15
  • 16
1
vote
3 answers

Run code after after the page is rendered to the user (Sinatra)

I'm looking for a way to run some slow code after after the page is rendered to the user. Concretely, I'd like to be able to do something like this: get '/fast-action' do compute_after_render { put some slow code here } 'request…
Sergey
  • 47,222
  • 25
  • 87
  • 129
1
vote
1 answer

Cache invalidation causing high load

Let's suppose that we have 10K requests per second to our php script. Every request is checking cache in memcached (or any other cache storage). If cache is found - everything is ok and cache value is returned. If cache is not found we're making a…
Kirzilla
  • 16,368
  • 26
  • 84
  • 129
1
vote
1 answer

In Linq to SQL is it better return multiple results sets at once or call the DB using multiple stored procedures?

I am creating a very data intensive, high volume web site. Every aspect of the website is driven by interactions with the MSSQL DB that I am using. On one page there are 10-12 different resultsets that I need to utilize in my page. So I need to…
Reaction21
  • 661
  • 1
  • 5
  • 18
1
vote
0 answers

ways to select values by keys list?

For example I have key structure entity:product:[id] where id - is an integer [0-n] So I can use this keys entity:product:* but I don't how much load does this query to the redis server. Another solution is Create one list key that will store Ids…
tuchk4
  • 2,270
  • 5
  • 21
  • 34