I'm developing an application with 3 sides, desktop (JavaFX), server (Tomcat) and Android.And a MySQL Database Server.The app receive mails and convert them into tasks. The tasks are sent to the android devices from the desktop app. The user of the Android device do stuff with the task and send the task with new information to the server.The desktop app takes the data from the database.Now it's working, but goes too slowly from the desktop side, due to the server possibly having a big payload.The server has 3 tasks:JavaMail email reader, and write in the database.Send PUSH messages to the Android devices and receive some information from them, and write in the database.Receive the GPS position from the Android devices, and write it in the database.My doubts are:A)Separate the server side in 3 projects.Mail readerSend PUSH to the Android devices.GPS position receptor.B)Separate the database in 2 databases:For the GPS position.For the info of the tasks.This steps will make the app faster?Edit to answer  Clinton Bosch:Im using Hibernate to connect to the database, here is my hibernate config file:<?xml version=1.0 encoding=UTF-8?><!DOCTYPE hibernate-configuration PUBLIC -//Hibernate/Hibernate Configuration DTD 3.0//EN http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd><hibernate-configuration>    <session-factory>        <property name=hibernate.c3p0.min_size>2</property>        <property name=hibernate.c3p0.max_size>150</property>        <property name=hibernate.c3p0.timeout>100</property>        <property name=hibernate.c3p0.max_statements>0</property>        <property name='connection.username'>root</property>        <!-- Database connection settings -->        <property name='connection.driver_class'>com.mysql.jdbc.Driver</property>        <!-- JDBC connection pool (use the built-in) -->        <property name='connection.pool_size'>10</property>        <!-- SQL dialect -->        <property name='dialect'>org.hibernate.dialect.MySQLDialect</property>        <!-- Echo all executed SQL to stdout -->        <property name='show_sql'>false</property>        <!-- Mapping files -->    </session-factory></hibernate-configuration>
Improve the speed of a Tomcat Server with MySQL
java;mysql;tomcat