The Lounge is rated Safe For Work. If you're about to post something inappropriate for a shared office environment, then don't post it. No ads, no abuse, and no programming questions. Trolling, (political, climate, religious or whatever) will result in your account being removed.
Although I can't help but wonder.. if you have a read and write database used by almost any page you serve, wouldn't you say both assertion below are true?
since the DB is read/write you can't spawn multiple copy of it on multiple server
since this one server is used for all your queries, you can't really scale your website
All of that is irrelevant if the business doesn't have the traffic to require multiple servers. In that case a hosting company (cloud service) is just providing the expertise to keep that single server up an running all the time. You are responsible for the data but not the box, operating system and perhaps not even the database software.
But if the business does have enough volume then the business itself drives what the specifics are of how the volume can be handled.
If a Point of Sale device is ringing up a transaction in Los Angles then there is no overlap between that transaction and one at the same time in Tampa Bay. The cashier is different, the customer is different, the fulfillment center is different. Same is true for medical, construction, movie theaters, etc.
As one design consideration a smaller company can make if they actually have the volume is that replicated servers do not all need to be read and write. It is likely that many more transactions will be reads rather than writes. So most can be read only. That reduces load on the write server, often significantly. Writes are replicated to the read servers.
That leads to the design consideration of timeliness. Does a new user that was just created in New York (east coast server) need to actually be visible to the user in California (west coast server) immediately or is 5 seconds later good enough? After all the customer service rep that created that user probably needs to do some stuff before they even tell the user it is working. And that will take more than 5 seconds.
Naturally very large businesses have much more complicated design problems that they must deal with. But companies can get by with must less complications for quite a long time before they encounter those problems.
... an hour and a half to do some simple - but necessary - shopping, then get home to find the cat staring at a caterpillar on the carpet. Transplant to outside, unpack, put away ... cat still staring. Odd.
Cat still staring. Odder.
Cat now scratching at carpet under heavy chair. The light dawns.
Fetch torch, look under chair: mouse. Alive? Dead? Dunno.
Long story short, the mouse was dead, but it was Dij's plaything and he'd be 'ed if he was going to let me near it. Finally separate cat and toy - he's faster than I am by a considerable margin - dispose, and reward.
This has "long day" written all over it.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
AntiTwitter: @DalekDave is now a follower!
Be careful: sometimes mice play dead.
Our cats have started to bring in mice again too, preferably at night so I can go on a wild hunt in my underpants and release the mouse outside in the bushes, still freezing cold over here
In India also, this is called torch. During a visit to the US, I asked for "torch" at the shop counter, and the salesman showed a puzzled look. Then I realized it had to be "flashlight" - remembered this from reading Hardy Boys, Nancy Drew books.
Reminded me of many years back, when our cat brought a (live) baby rabbit into our bedroom. He could jump from the garden shed straight through our bedroom window. It was about a 6ft jump, which with a rabbit in his mouth, was pretty impressive!
Rabbit was going mental; cat was going mental; wife was going mental (standing on the bed screaming). That too was 'fun'!
Ours likes to bring live stuff in all the time. I have had live quail running around my office, a blue jay flying around the kitchen, and I have lost count of the number of mice. Snakes too and lizards and ...
The funny thing is we also have miniature dachshunds and have for a quite a while. A long time ago we got a kitten and a dachshund taught it to hunt. Then that dog passed and we got a puppy and the cat taught it to hunt. We have had this cycle going for almost thirty years now - a cat will teach the dog to hunt and then vice versa.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
I'm an introvert. I feel like I've been training for this moment my whole life.
Agoraphobia is now my superpower.
On the other hand, I just want to get sick and be done with it (i could leave sooner if i got sick)
Red Dead Redemption 2 is vast, beautiful, and boring.
PS4 really has very few great games for it, and that's a shame, at least if you don't play online.