AWS : Stateless Applications

0 votes
How can you scale stateless applications horizontally
Jul 31, 2018 in Cloud Computing by brat_1
• 7,080 points
81 views

1 answer to this question.

0 votes

Inevitably, there will be layers of your architecture that you won’t turn into stateless components. First, by definition, databases are stateful. (They will be covered separately in the Databases section.) In addition, many legacy applications were designed to run on a single server by relying on local compute resources. Other use cases might require client devices to maintain a connection to a specific server for prolonged periods of time. For example, real-time multiplayer gaming must offer multiple players a consistent view of the game world with very low latency. This is much simpler to achieve in a non-distributed implementation where participants are connected to the same server.


You might still be able to scale those components horizontally by distributing load to multiple nodes with “session affinity.” In this model, you bind all the transactions of a session to a specific compute resource. You should be aware of the limitations of this model. Existing sessions do not directly benefit from the introduction of newly launched compute nodes. More importantly, session affinity cannot be guaranteed. For example, when a node is terminated or becomes unavailable, users bound to it will be disconnected and experience a loss of session-specific data

answered Jul 31, 2018 by Meci Matt
• 9,400 points

Related Questions In Cloud Computing

0 votes
1 answer

AWS: Distributed Applications that process large amount of data

Go for spot instances. Since the work we ...READ MORE

answered Jun 21, 2018 in Cloud Computing by DragonLord999
• 8,380 points
19 views
+3 votes
3 answers

Is there a way to install apache drill on an EMR cluster on AWS that is already Running?

It looks to be trying to get ...READ MORE

answered Oct 11, 2018 in Cloud Computing by findingbugs
• 4,750 points
245 views
+4 votes
4 answers

AWS S3 cli isn’t working on Windows server

The error message has nothing to do ...READ MORE

answered Aug 20, 2018 in Cloud Computing by Priyaj
• 56,160 points
114 views
+3 votes
3 answers

Is it possible to delete a API in AWS API Gateway?

Yes, it is possible to delete an ...READ MORE

answered Mar 27, 2018 in Cloud Computing by brat_1
• 7,080 points
535 views
+4 votes
3 answers

AWS API Gateway with AWS WAF

Well that is not possible, Reason: API Gateway would ...READ MORE

answered Mar 27, 2018 in Cloud Computing by code_ninja
• 6,160 points
337 views
+4 votes
2 answers

AWS Cloud formation script

You may use the update-stack sub command. ...READ MORE

answered Mar 27, 2018 in Cloud Computing by code_ninja
• 6,160 points
62 views
+4 votes
3 answers

Deploy RESTful API with .net framework 4.5 in AWS Lambda

This is an old question (somewhat), but ...READ MORE

answered Jan 16 in Cloud Computing by Kirk Davis
399 views
+4 votes
2 answers

How come AWS S3 is erasing my extension from PDF files?

I think the problem should be with ...READ MORE

answered Mar 27, 2018 in Cloud Computing by code_ninja
• 6,160 points
64 views
0 votes
1 answer

Can Java Enterprise Edition applications on AWS EC2

It would be good if you start ...READ MORE

answered May 15, 2018 in Cloud Computing by Meci Matt
• 9,400 points
78 views
0 votes
1 answer

Can we hit a web page regularly in AWS & get a notifications if it fails or goes down

Yes, it is possible to do so. ...READ MORE

answered May 9, 2018 in Cloud Computing by Meci Matt
• 9,400 points

reshown Aug 15, 2018 by Vardhan 67 views