Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dipankardas011/efficient-client-server
Server and client communicate using least no. of bits
https://github.com/dipankardas011/efficient-client-server
docker golang json-api socket-programming
Last synced: 9 days ago
JSON representation
Server and client communicate using least no. of bits
- Host: GitHub
- URL: https://github.com/dipankardas011/efficient-client-server
- Owner: dipankardas011
- License: mit
- Created: 2022-09-27T05:48:52.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-15T08:29:51.000Z (almost 2 years ago)
- Last Synced: 2023-08-16T08:46:33.570Z (about 1 year ago)
- Topics: docker, golang, json-api, socket-programming
- Language: Go
- Homepage: https://effieicent-client-server.azurewebsites.net/
- Size: 313 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Efficient-client-server
A Efficient way to communicate between client-server.
[Link](https://effieicent-client-server.azurewebsites.net/)
**Client-Server** denotes a relationship between cooperating programs in an application,composed of clients initiating requests for services and servers providing that function or service.Basically is a distributed application framework dividing tasks between servers and clients, which either reside in the same system or communicate through a computer network or the Internet.
> `Client` what requests a service or resource from server.The server can be located on or off premises.
> `Server` a computer program that provides service to another computer program and its users.
## What is the need?
Efficient meaning working in such a way that gets the response from server with **least amount of bandwidth requirement**.## How it accomplishes
Similarly this client server paradigm uses a bit encoding due to which message to be send between server and client reduces significantly. The client and server both uses a bit encoding technique by which messsage sent by client is encoded and sent to server, server decodes understands and again sends a response in encoded format then client recoving it decodes and displays the message to user## Architecture
![image](https://user-images.githubusercontent.com/65275144/197322355-2cdbc655-2ad7-4987-abb4-2ecff90a1b9c.png)# Running Application
![image](https://user-images.githubusercontent.com/65275144/197322418-3a48b8fc-723f-4b7c-b2fd-535a69f50ec5.png)## How to run
```bash
cd src
docker build -t eff-server-client . --no-cache
docker run --rm -d -p 80:80 eff-server-client
docker ps
```
# Access the CLient UIopen localhost:80