I am trying to search for a framework or library or even techniques for handling N-Tier Client/Server communications.
I am scaling my application software and I am seeing this communication becoming more and more cumbersome. I have an application server, but I also have middle servers for scaling the capacity of connected clients UI data processing and exchanging.
In my architecture I have a Server, which can have N Client Engines, which can have N clients.
Specifically, I am running into issues around the following scenario. I will use authentication as an example ( although it is a simple one but it gets the point across ).
A client ( Angular web client ) logs in via a websocket endpoint of a Jetty webserver. The message is forwarded to the queue of the Client engine. The client engine, when it processes the message, creates a request for the server and queues it up. The server, when it processes that message, performs the authentication. Now that response has to work its way back up the stack. The server has to queue a response message to the (right) Client Engine, then when the Client Engine processes that message, it has to send a message to the (right) client connection via the websocket endpoint.
Now this is all certainly possible and I have done it by just mapping the right information into the message and persisting that information inside each message until it gets back to the client.
However, this feels kinda clunky for me. I figured I am not the first person to have this problem. However, I don’t think I understand what this problem is called because my search terms like: Async Programming, Client Server communication model, Client Server Server communication model, N-Tier communication model etc have not delivered on what I am looking for.
Is there a specific name for this problem?
I wanted to provide more details on the N-Tier system I have.
- Tier 1 – Database Server ( data persistence ) 1 instance
- Tier 2 – ApplicationServer ( in-memory solution ) 1 instance
- Tier 3 – Delta Server ( delta forwarding to N Client Engines ) N instances
- Tier 4 – Client Engine ( synchronizes data, session management, read-only transactions ) M instances
- Tier 5 – Web Server ( Websocket Server ) M instances
- Tier 6 – Client ( Angular Webapp )
✓ Extra quality
ExtraProxies brings the best proxy quality for you with our private and reliable proxies
✓ Extra anonymity
Top level of anonymity and 100% safe proxies – this is what you get with every proxy package
✓ Extra speed
1,ooo mb/s proxy servers speed – we are way better than others – just enjoy our proxies!
USA proxy location
We offer premium quality USA private proxies – the most essential proxies you can ever want from USA
Our proxies have TOP level of anonymity + Elite quality, so you are always safe and secure with your proxies
Use your proxies as much as you want – we have no limits for data transfer and bandwidth, unlimited usage!
Superb fast proxy servers with 1,000 mb/s speed – sit back and enjoy your lightning fast private proxies!
99,9% servers uptime
Alive and working proxies all the time – we are taking care of our servers so you can use them without any problems
No usage restrictions
You have freedom to use your proxies with every software, browser or website you want without restrictions
Perfect for SEO
We are 100% friendly with all SEO tasks as well as internet marketing – feel the power with our proxies
Buy more proxies and get better price – we offer various proxy packages with great deals and discounts
We are working 24/7 to bring the best proxy experience for you – we are glad to help and assist you!