-
SocketChannel forwarding
Hello all,
I have the following problem:
I have a server application for remote content conversion of audio, video and image files. This server class has a communication protocol which works via SocketChannels and which consists of 6 steps:
1: Client sends header info
2: Server sends Ok
3: Client sends binary stream(file to be converted)
4: Server sends header info
5: Client sends Ok
6: Server sends binary stream (converted file)
This I got to work perfectly. Now however, I need to get it to work as a distributed application. This means I need to implement multiple servers running this server application, with the clients connecting to those servers in an intelligent way (so as to distribute the load as evenly as possible).
I thought of doing this with a sort of proxy, where all the clients connect to a single proxy server which then redirects them to the correct server. I can't figure out how to do this correctly though. All the data I can find on the internet is about HTTP proxies, and that's not what I'm talking about here.
I'm trying to setup a pure socket proxy...
If anyone has any ideas on this, that would be great.
Mark
-
So what is the URL for this fantastic forum of yours you're harping on about?
Similar Threads
-
By deepalim in forum Java
Replies: 0
Last Post: 06-14-2005, 03:04 PM
-
By Amitabh in forum Enterprise
Replies: 0
Last Post: 04-08-2002, 07:18 AM
-
By Michael Millett in forum Enterprise
Replies: 0
Last Post: 10-02-2001, 11:29 AM
-
By Aric in forum Enterprise
Replies: 2
Last Post: 06-25-2001, 05:12 AM
-
By Stuart Graham in forum Enterprise
Replies: 0
Last Post: 12-05-2000, 05:06 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks