Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yugabytedb-samples/geo-distributed-messenger
A corporate Slack-like messenger built with the YugabyteDB database, Vaadin, Spring Boot, and Kong.
https://github.com/yugabytedb-samples/geo-distributed-messenger
Last synced: about 6 hours ago
JSON representation
A corporate Slack-like messenger built with the YugabyteDB database, Vaadin, Spring Boot, and Kong.
- Host: GitHub
- URL: https://github.com/yugabytedb-samples/geo-distributed-messenger
- Owner: YugabyteDB-Samples
- License: unlicense
- Created: 2022-07-07T16:50:11.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-02T14:44:53.000Z (about 1 year ago)
- Last Synced: 2023-11-02T15:36:41.004Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 55.3 MB
- Stars: 9
- Watchers: 0
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Geo-Distributed Messenger With YugabyteDB and Kong Gateway
This a sample geo-distributed messenger that runs on YugabyteDB database, Kong Gateway, Spring Boot, Vaadin, MinIO and several cloud services.
The messenger can be deployed as a single instance on your local laptop or function across the world in the public Google Cloud infrastructure.
![architecture-geo-distributed](https://user-images.githubusercontent.com/1537233/197904658-1ce99812-bcfd-4de9-b782-41bc677545ba.png)
Use this project as a blueprint for designing and building geo-distributed apps with YugabyteDB from scratch.
## Development Journal
The project's development journey was thoroughly documented on DZone so that the reader can understand design choices and tradeoffs. Follow the journey from start to finish by surfing through the following articles:
* [Geo What? A Quick Introduction to Geo-Distributed Apps](https://dzone.com/articles/geo-what-a-quick-introduction-to-geo-distributed-a)
* [What Makes the Architecture of Geo-Distributed Apps Different?](https://dzone.com/articles/what-makes-the-architecture-of-geo-distributed-app)
* [How to Build a Multi-Zone Java App in Days With Vaadin, YugabyteDB, and Heroku](https://dzone.com/articles/how-to-build-a-multi-zone-java-app-in-days-with-va)
* [How To Connect a Heroku Java App to a Cloud-Native Database](https://dzone.com/articles/how-to-connect-a-heroku-app-to-a-yugabytedb-manage)
* [Automating Java Application Deployment Across Multiple Cloud Regions](https://dzone.com/articles/automating-java-application-deployment-across-mult)
* [Geo-distributed API Layer With Kong Gateway](https://dzone.com/articles/geo-distributed-api-layer-with-kong-gateway)
* [Using Global Cloud Load Balancer to Route User Requests to App Instances](https://dzone.com/articles/using-global-cloud-load-balancer-to-route-user-req)
* [Geo-Distributed Microservices and Their Database: Fighting the High Latency](https://dzone.com/articles/geo-distributed-microservices-and-their-database-f)And feel free to reach out to the [main developer and author of the project](https://twitter.com/denismagda) for feedback or questions.
## Deployment Options
![image9](https://user-images.githubusercontent.com/1537233/197895210-5052d681-cd8e-45b2-a621-429b05bce682.png)
The application can be deployed in several environments.
| Deployment Type | Description |
| ------------------ |:--------------|
| [Your Laptop or On-Prem Environment](local_deployment.md) | Deploy the entire app with all the components (Kong, YugabyteDB, Minio) on your local machine.|
| [Heroku](heroku_deployment.md) | Deploy the application in Heroku. |
| [Geo-Distributed Deployment in Google Kubernetes Engine](gke_deployment.md) | Deploy a geo-distributed version of the app across multiple Kubernetes clusters in Google Cloud.|
| [Geo-Distributed Deployment on Google Cloud Virtual Machines](gcloud_deployment.md) | Deploy a geo-distributed version of the app across multiple regions using VMs of Google Cloud.|