2 Linux servers ( Tomcat, Wowza , Mqtt broker ) set up + securing + load balancing
- or -
Post a project like this$400
- Posted:
- Proposals: 7
- Remote
- #2221850
- OPPORTUNITY
- Expired
Description
Experience Level: Expert
Estimated project duration: 3 : 4 days
ِ******** Please don't message me unless you have read carefully ********
Android App needs those services to be installed / secured and performance tuning, getting them ready for
load balancing + installing SSL on each service .
The services to be installed :
Tomcat, Backend files, Mysql, Wowza, Mosquitto Mqtt, Mailing service, FTP, Shell
* Servers :
- servers needs to be optimized for extreme high numbers of users
1. Tomcat :
the Application's backend was made using Java 7 ( eclipse java ee ) , and the developer told me you should use Java 7 or higher, and 7 would be better ( so i want the best but im not sure if Java 8 or 9 would perform better !
-We need to to install the latest Tomcat and secure it as much as possible from any gaps or so, tune performance, set the configurations for it and permissions, attributes, and set the best configurations for the database connections for it, setting the right ports and so..
- SSL on the Management Page of Tomcat, and any connections between the front end / back end ..
Backend files :
- We need to prevent any direct access or opening or downloading to the back end files as there are files that has the Database connections information (hibernate.cfg ) and any other files
- probably we would need to set the Disks to be EXT 4 , so that it can handle big amounts of pictures in the folders !
- we would need to set file system for the images folder ( so that it will be available on all the other servers - file system ) ..
2. Mysql :
-What is used now is Mysql, however i want to use the latest type of Database ( if it will work well ) probably may be Maria or latest mysql or so !! i'm not sure if it will work ..
- And we will make it ready for clustering / load balancing to be done at any time .
- There will be high usage ( Read and Write ) on the Database, as it will write and read GPS information from the Database very much almost momentarily, considering there will be huge amounts of users doing this in the same time .. ( so i'm not sure what would be the best practice for this ! ) .
- There is a lock is made already on Rows, so that it will not be changed while writing / reading information on the table named ( UserCurrentZoomLevel ) , as there will be duplicates if there was no lock ( just to let you know ) .
3. Wowza : ( video streaming engine )
- needs to be ready for Load balancing
-Wowza will use RTSP and RTMP ..
- SSL needed to be set on the Management Page of Wowza
For load balancing :
https://www.wowza.com/docs/scaling-and-load-balancing
http://www.wowza.com/resources/WowzaDynamicLoadBalancingAddOn_UsersGuide.pdf
4. Mosquitto Mqtt : mqqt protocol with implementation eclipse paho
- It's used for Push notifications, and instant messaging ..
- What will be installed is ( mosquitto + mosquitto-clients ) to be installed on the server
the root location for mosquitto on server is /etc/mosquitto
- it gets connected from the backend and front end through ( the links ):
tcp:// using port 1883 ( not using websockets )
as they say in MQTT website, to use it through websockets it uses ports no :
8080: MQTT over WebSockets, unencrypted
8081 : MQTT over WebSockets, encrypted
So, if it would be better we would need to use it through websockets ( if it enhanced performance ) ..
- We need to install and secure Mosquitto as possible against any gaps or so .. and make it ready for clustering / load balancing at any time ..
- There is already an Authentication username and password to use it ( its already set ) .
some links :
https://mosquitto.org/
https://mosquitto.org/security/
5. Mailing service, FTP, Shell :
-There will be Mailing service ( for some confirmation emails, forgot passwords .. emails will be sent ) and it needs to be secured with SSL to ..
-FTP and Shell probably will be used, and they may need some type of security / SSL or so ..
---------------------------------------------------
So i need to set a plan ( architecture ) for how things will go ..
-expecting huge amounts of people suddenly with harsh usage of all the services .
- and preparing the infrastructure ..
The work needs to be done within 3 : 4 days once we start the job
What hardware would we need, how many servers we would need as a start exactly how many Ip addresses, how many disks .. Raid 0 or Raid 10 .. CPU, Ram, network connection speed .. etc .. ( the lowest for the start ) ...
4. we would need to make a test to assume/calculate the amount of users each server can handle ..
Android App needs those services to be installed / secured and performance tuning, getting them ready for
load balancing + installing SSL on each service .
The services to be installed :
Tomcat, Backend files, Mysql, Wowza, Mosquitto Mqtt, Mailing service, FTP, Shell
* Servers :
- servers needs to be optimized for extreme high numbers of users
1. Tomcat :
the Application's backend was made using Java 7 ( eclipse java ee ) , and the developer told me you should use Java 7 or higher, and 7 would be better ( so i want the best but im not sure if Java 8 or 9 would perform better !
-We need to to install the latest Tomcat and secure it as much as possible from any gaps or so, tune performance, set the configurations for it and permissions, attributes, and set the best configurations for the database connections for it, setting the right ports and so..
- SSL on the Management Page of Tomcat, and any connections between the front end / back end ..
Backend files :
- We need to prevent any direct access or opening or downloading to the back end files as there are files that has the Database connections information (hibernate.cfg ) and any other files
- probably we would need to set the Disks to be EXT 4 , so that it can handle big amounts of pictures in the folders !
- we would need to set file system for the images folder ( so that it will be available on all the other servers - file system ) ..
2. Mysql :
-What is used now is Mysql, however i want to use the latest type of Database ( if it will work well ) probably may be Maria or latest mysql or so !! i'm not sure if it will work ..
- And we will make it ready for clustering / load balancing to be done at any time .
- There will be high usage ( Read and Write ) on the Database, as it will write and read GPS information from the Database very much almost momentarily, considering there will be huge amounts of users doing this in the same time .. ( so i'm not sure what would be the best practice for this ! ) .
- There is a lock is made already on Rows, so that it will not be changed while writing / reading information on the table named ( UserCurrentZoomLevel ) , as there will be duplicates if there was no lock ( just to let you know ) .
3. Wowza : ( video streaming engine )
- needs to be ready for Load balancing
-Wowza will use RTSP and RTMP ..
- SSL needed to be set on the Management Page of Wowza
For load balancing :
https://www.wowza.com/docs/scaling-and-load-balancing
http://www.wowza.com/resources/WowzaDynamicLoadBalancingAddOn_UsersGuide.pdf
4. Mosquitto Mqtt : mqqt protocol with implementation eclipse paho
- It's used for Push notifications, and instant messaging ..
- What will be installed is ( mosquitto + mosquitto-clients ) to be installed on the server
the root location for mosquitto on server is /etc/mosquitto
- it gets connected from the backend and front end through ( the links ):
tcp:// using port 1883 ( not using websockets )
as they say in MQTT website, to use it through websockets it uses ports no :
8080: MQTT over WebSockets, unencrypted
8081 : MQTT over WebSockets, encrypted
So, if it would be better we would need to use it through websockets ( if it enhanced performance ) ..
- We need to install and secure Mosquitto as possible against any gaps or so .. and make it ready for clustering / load balancing at any time ..
- There is already an Authentication username and password to use it ( its already set ) .
some links :
https://mosquitto.org/
https://mosquitto.org/security/
5. Mailing service, FTP, Shell :
-There will be Mailing service ( for some confirmation emails, forgot passwords .. emails will be sent ) and it needs to be secured with SSL to ..
-FTP and Shell probably will be used, and they may need some type of security / SSL or so ..
---------------------------------------------------
So i need to set a plan ( architecture ) for how things will go ..
-expecting huge amounts of people suddenly with harsh usage of all the services .
- and preparing the infrastructure ..
The work needs to be done within 3 : 4 days once we start the job
What hardware would we need, how many servers we would need as a start exactly how many Ip addresses, how many disks .. Raid 0 or Raid 10 .. CPU, Ram, network connection speed .. etc .. ( the lowest for the start ) ...
4. we would need to make a test to assume/calculate the amount of users each server can handle ..
Sherief M.
100% (2)Projects Completed
3
Freelancers worked with
2
Projects awarded
60%
Last project
2 Nov 2018
Egypt
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies