How many connections can maintain a server and how to know it? [closed] - server

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
I am searching about how many connections can manage a server, I don't have any idea how to filter in google about it, even it would be fantastic if I could simulate an amount of queries and check by my self how many connections are possible
Thanks

I believe there are 6 available "pipes" when requesting resources from a server; such as, six images come through at a time to help populate a web page. However network speed ultimately determines efficiency of this. There are ways to increase the resources pulled by utilizing services such as Content Delivery Networks (CDN) to serve up only the images for example or a particular sub-domain to serve up query calls.
While the above may be out this scope, I came across this answer regarding concurrent user connections to an Apache server and how to manage counts.

Related

scaling a database on cloud and on local servers [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am considering using mongo db (it could be postgresql or any other ) as a data warehouse, my concern is that up to twenty or more users could be running queries at a time and this could have serious implications in terms of performance.
My question is what is the best approach to handle this in a cloud based and non cloud based environment? Do cloud based db's automatically handle this? If so would the data be consistent through all instances if a refresh on the data was made? In a non cloud based environment would the best approach be to load balance all instances? Again how would you ensure data integrity for all instances?
thanks in advance
I think auto sharding is what I am looking for
http://docs.mongodb.org/v2.6/MongoDB-sharding-guide.pdf

Buying servers for Push Notifications [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Because of the outcome of another question I asked: Push or Local notifications alerting user to change between saved and remote data
I have decided to tackle Push Notifications head on. I don't, however, really know where to begin when buying a server. Once I start following tutorials and the like, I should be good to follow along relatively unchallenged, but I'd hate to buy a server not capable of running background processes, installing SSL certificates, and making outgoing TLS connections on certain ports (Those were the requirements on one tutorial). Could anyone recommend a company that offers servers at relatively cheap prices since I don't want to spend huge amounts on it, and have the correct specifications for push notifications. I live in the UK, but since I'm localising the app a couple of countries, would it be worth having the server in another country?
Anyway, any help would be greatly appreciated.
Regards,
Mike
I would consider using a service like Urban Airship to start. https://go.urbanairship.com/accounts/register/
It'll be free until you are doing more than 1 million pushes a month and will save you the hassle of setting up a server.

We don't have an SSL site and will be unable to get one. How do I work around this? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
My organization has created a Facebook tab but because our site is not SSL certified the tab only works on some computers. We will not be getting SSL certified any time soon. Is there a way to work around this?
Your question can be paraphrased as 'how can we show HTTPS content to our users without needing to serve HTTPS content' - it's not possible
It shouldn't be difficult to buy a certificate for your domain and install it to the server - costs $15-$100 for the cert depending on where you get it and a few minutes (or hours, i guess) to reconfigure a web server
Obviously if you've a complicated setup with firewalls and strict procedures and processes in the company this will take a lot longer than the few minutes it would take a single developer, but surely in that case not supporting SSL is also seen as a big problem since you'll lose a relatively large percentage of users
(source: It was >10% of users about a year ago - it's higher now.)

How the number of connections of a usenet provider change something? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
At work, we are speaking about the interest to have 10 or 30 connections simultanly to a usenet provider.
Some guys said it change nothing because the 10 or 30 threads will take all the bandwidth available, so the download time will be the same.
Another guys said it change something because you can download more file at the same time.
Someone have a GOOD explanation to this problematic ? :)
Thanks ^^
The NNTP protocol has a lot of latency, so running multiple simultaneous connections can improve the speed of actions, particularly if there's a lot of back and forth with the server. (More recent versions of the protocol have support for streaming, but not many clients or servers know about this yet.) 10-30 sounds like overkill to me, though; usually you get the benefits of avoiding latency with 4-8 connections.
The best thing to do would be to test a variety of different numbers of connections for the exact thing you're trying to do and see which one is faster, though. It's going to depend on what types of actions you're taking.

What are the options for network programming in Go? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I am looking to write a simple client/server utilizing TCP sockets. Any ideas how to do network programming in Go?
Go has fine support for networking.
For a server, the easiest thing to do is have your main() start a tcp accept loop and spawn a goroutine to handle each request.
The first go software I wrote was a memcached server. You may want to check out gomemcached for an idea of how to get started on servers.
Clients shouldn't be particularly harder. In many cases, it may make the most sense to have a shared client with goroutines for inbound communication much like I use in gomemcached for communicating with the actual storage layer.
Of course, this isn't the only way. Perhaps you'll find something better as you experiment.