d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Multithreading Server Application > Need Someone Who Can Screenshare
12Next
Add Reply New Topic New Poll
Member
Posts: 23,518
Joined: Aug 3 2011
Gold: 3,575.00
Mar 9 2018 10:11pm
Willing to pay fg for help.
I'm writing code that does basic functionality but allowing many people to connect at the same time through the same port.
Just a little confused on how to do this is all.
HELP!

Member
Posts: 16,621
Joined: Jan 7 2017
Gold: 90.58
Mar 10 2018 03:46am
Easy way would be: Nodejs with multiple instance servers and horizontally scale with PM2 and use Redis as memory storage

Multi-threaded server, I guess Elixir could work

This post was edited by JohnMiller92 on Mar 10 2018 03:48am
Member
Posts: 23,518
Joined: Aug 3 2011
Gold: 3,575.00
Mar 10 2018 07:36am
Quote (JohnMiller92 @ Mar 10 2018 02:46am)
Easy way would be: Nodejs with multiple instance servers and horizontally scale with PM2 and use Redis as memory storage

Multi-threaded server, I guess Elixir could work


I'm using straight up java with intellij as my ide :p
Member
Posts: 1,039
Joined: Jul 8 2008
Gold: 1,939.50
Mar 10 2018 11:45am
Quote (Cocoo @ Mar 10 2018 08:36am)
I'm using straight up java with intellij as my ide :p


Your best bet right now if you want a java web server is probably to download spring tool suite and use that as an IDE. Then create a spring boot project. If you plan to implement the actual server you're not going to go anywhere and you're going to make an inferior product. Spring will handle the server/threading/ports/https/whatever.
Member
Posts: 23,518
Joined: Aug 3 2011
Gold: 3,575.00
Mar 10 2018 09:01pm
Alright maybe I'm not being clear, all of this will be done through terminals.
Member
Posts: 1,039
Joined: Jul 8 2008
Gold: 1,939.50
Mar 12 2018 04:14pm
Quote (Cocoo @ Mar 10 2018 10:01pm)
Alright maybe I'm not being clear, all of this will be done through terminals.


You're now being more unclear. Can you explain exactly what it is you're after?
Member
Posts: 23,518
Joined: Aug 3 2011
Gold: 3,575.00
Mar 13 2018 02:08pm
Quote (waraholic @ Mar 12 2018 03:14pm)
You're now being more unclear. Can you explain exactly what it is you're after?


Use terminal to login/sign in, add users/delete users basically a record book.
So you'll be using 2 different terminals one to deploy the server, the other the client. The thing is you can have more then one client to connect to the server.
Let me know how more I can clarify?
Member
Posts: 1,039
Joined: Jul 8 2008
Gold: 1,939.50
Mar 13 2018 04:55pm
What is this for? School? Personal project? To actually write a book?
If this is to actually write a book you should use google groups or some other cloud document sharing tool.
If this is a personal project what are you trying to get out of this?
If this is for school what is the prompt.
If other please explain why you're doing this.

You can do all of this with a linux box and vi. No programming. You could use google docs. You could write a program to handle authentication, user management, and book writing. You could use spring boot, .net, python. I don't know what you're after so I can't help until then.
Member
Posts: 23,518
Joined: Aug 3 2011
Gold: 3,575.00
Mar 13 2018 05:19pm
Quote (waraholic @ Mar 13 2018 03:55pm)
What is this for? School? Personal project? To actually write a book?
If this is to actually write a book you should use google groups or some other cloud document sharing tool.
If this is a personal project what are you trying to get out of this?
If this is for school what is the prompt.
If other please explain why you're doing this.

You can do all of this with a linux box and vi. No programming. You could use google docs. You could write a program to handle authentication, user management, and book writing. You could use spring boot, .net, python. I don't know what you're after so I can't help until then.


Personal experience to put on a resume as well as for school sort of. I'm stuck with using java.
Member
Posts: 1,039
Joined: Jul 8 2008
Gold: 1,939.50
Mar 18 2018 08:48pm
What do you mean by terminal? Why do I keep asking questions when I'm not getting any good answers?
Go Back To Programming & Development Topic List
12Next
Add Reply New Topic New Poll