Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it feasible to store data on cloud services? #30112

Closed
2023peterV5 opened this issue May 16, 2024 · 4 comments
Closed

Is it feasible to store data on cloud services? #30112

2023peterV5 opened this issue May 16, 2024 · 4 comments
Labels

Comments

@2023peterV5
Copy link

pl redis memcache is connected to the cloud service, then the remaining part of zulip becomes a stateless service. When the number of users increases rapidly, automatic expansion can be performed. Is this idea feasible?

@DhruvLamba
Copy link

pl redis memcache is connected to the cloud service, then the remaining part of zulip becomes a stateless service. When the number of users increases rapidly, automatic expansion can be performed. Is this idea feasible?

Storing data on cloud services for Zulip is highly feasible and beneficial, offering scalability, cost-efficiency, and robust security. By integrating Redis and Memcached in the cloud, Zulip can maintain a stateless architecture, enabling seamless horizontal scaling and enhanced performance. Cloud services provide autoscaling and load balancing to handle rapid user growth effectively. This approach ensures high availability, compliance with data regulations, and optimal user experience, making it a strategic solution for Zulip's infrastructure needs.

@alya alya added the question label Jun 7, 2024
@timabbott
Copy link
Sponsor Member

@DhruvLamba was that comment generated by AI?

@DhruvLamba
Copy link

DhruvLamba commented Jun 8, 2024

@DhruvLamba was that comment generated by AI?

Nope. Actually I am specializing in cloud computing and virtualization , hence worked with many cloud providers like AWS, GCP , Azure.
AWS provides with the following architecture:
Amazon ElastiCache: Fully managed Redis or Memcached service.
Amazon RDS: Managed relational database service.
Amazon EC2: Scalable virtual servers.
AWS Elastic Load Balancing (ELB): Distributes incoming traffic across multiple targets.
AWS Auto Scaling: Automatically adjusts the number of EC2 instances in response to load.

@timabbott
Copy link
Sponsor Member

OK. Well in any case, it is feasible to use cloud services, though not an option that we recommend, because it's more work to set up. You can see documentation here:

Or look at docker-zulip if you prevent that style of splitting up systems.

However, there are some algorithms/data flow issues that do not make it trivial to scale to millions of users, especially in a single organization through such techniques, so don't expect that just doing those things will dramatically change Zulip's scaling characteristics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants