Socket
Book a DemoInstallSign in
Socket

github.com/walidatef/client_connection_with_multiple_servers

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/walidatef/client_connection_with_multiple_servers

v0.0.0-20230525122124-9e0adf64226d
Source
Go
Version published
Created
Source

One request for save data in multiple servers

A connection between a client and a number of servers using [ net/http ] and [MySQL] by Go language.

Idea: When the client sends a message to one of the servers, it is stored in the server's database [MySQL], then the server sends it to the rest of the servers, and it is also stored in their own database.

In the end, the data on all servers is identical.

Suppose we have three servers:

if Client send data to server 1 then server 1 send data to server 2 and server 3

if Client send data to server 2 then server 1 send data to server 1 and server 3

if Client send data to server 3 then server 1 send data to server 1 and server 2

FAQs

Package last updated on 25 May 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.