https://github.com/omjogani/postgresql-multipartitions
Example of Multi-Partitions in PostgreSQL
https://github.com/omjogani/postgresql-multipartitions
Last synced: 2 months ago
JSON representation
Example of Multi-Partitions in PostgreSQL
- Host: GitHub
- URL: https://github.com/omjogani/postgresql-multipartitions
- Owner: omjogani
- Created: 2023-12-27T16:42:17.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-12-28T15:43:05.000Z (almost 2 years ago)
- Last Synced: 2025-01-22T20:31:29.572Z (9 months ago)
- Language: Go
- Size: 360 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# PostgreSQL Multi-Partitions
Multi-partition architecture which divides the traffic according to the request type. The server will decide to navigate the request to which Database based on the Request Type. In this example, There are 2 Master Database in the PostgreSQL Database & Golang Server will decide which Database to forward the request to.### Architecture
### Working Example

### Run Locally
> Make sure that you have Golang installed in your System!
- Rename `.example-env` to `.env` and add PostGre Username, Password & DB Name.
- Run the command:
```
go run github.com/cosmtrek/air
```
- Getting an error in above mentioned command? Run...
```
go get github.com/cosmtrek/air
```
- then run the First command.### Technical Details
---
- Technology
- Server: Golang
- Database: PostgreSQL
- User Interface: HTML, Tailwind CSS>If you found this useful, make sure to give it a star 🌟
## Thank You!!