I am designing an android application which gets data through REST API calls to the server. I wanted to know how to improve the performance and increase the response time. I am bothered if multiple requests are hitting the server at the same time, performance will drop drastically. Also, since the API calls are in turn connecting to the database, what would happen if the number of connections to the database has reached the maximum limit. How do I handle it? Does connection pooling help in improving the performance? Please help me in suggesting tools for monitoring the no.of requests hitting server and the response time.
How to improve the app performance
440 views Asked by user7161912 At
2
There are 2 answers
0
Victor Olex
On
Yes, connection pooling will help. Also you might consider adding a reverse proxy in front of your API. This way URLs, which point to data that doesn't change often could be served from cache.
Now, since your data store is in a relational database you might consider SlashDB to make those APIs for you. It has connection pooling and ships with reverse proxy. https://slashdb.com
Disclaimer: SlashDB is a product of my company.
Related Questions in ANDROID
- Creating global Class holder
- Flutter + Dart: Editing name of a tab shows up a black screen
- android-pdf-viewer Received status code 401 from server: Unauthorized
- Sdk 34 WRITE_EXTERNAL_STORAGE not working
- ussd reader in Recket Native module
- Incorrect display of LinearGradientBrush in IOS
- The Binary Version Of its metadata is 1.8.0, expected Version is 1.6.0 build error
- I can't make TextInput to auto expand properly in Android
- Creating multiple instances of a class with different initializing values in Flutter
- How to create a lottie animation
- making android analyze with coverity sast tool
- Flutter plugin development android src not opening after opening example
- I initialize my ViewModel in the Activity with several fragments as tabs, but the fragments(tabs) return null for the updated livedata
- Node.js Server + Socket.IO + Android Mobile Applicatoin XHR Polling Error...?
- How I can use the shared preferences class?
Related Questions in PERFORMANCE
- Upsert huge amount of data by EFCore.BulkExtensions
- How can I resolve this error and work smoothly in deep learning?
- Efficiently processing many small elements of a collection concurrently in Java
- Theme Preloader for speed optimization in WordPress
- I need help to understand the time wich my simple ''hello world'' is taking to execute
- Non-blocking state update
- Do conditional checks cause bottlenecks in Javascript?
- Performance of sketch drastically decreases outside of the P5 Web Editor
- sample query for review for improvement on big query
- Is there an indexing strategy in Postgres which will operate effectively for JOINs with ORs
- Performance difference between two JavaScript code snippets for comparing arrays of strings
- C++ : Is there an objective universal way to compare the speed of iterative algorithms?
- How to configure api http request with load testing
- the difference in terms of performance two types of update in opensearch
- Sveltekit : really long to send the first page and intense CPU computation
Related Questions in REST
- Query parameter works fine with fastapi application when tested locally but not working when the FastAPI application is deployed on AWS lambda
- Add an http GET/POST entry point to a Django with channels websocket
- Difficulty creating a data pipeline with Fabric Datafactory using REST
- Flutter connection to a local api
- Accessing REST API Status Codes using Azure Data Factory Copy Activity (or similar)?
- Mass Resource deletion in REST
- why when I check endpoint /tasks, an error always appears "error : invalid token" even though I have entered the appropriate token that I got
- How to prevent users from creating custom client apps?
- How to create a REST API with .NET Framework?
- Efficiently Handling Large Number of API Calls with Delphi 10.4 and OmniThreadLibrary
- Put Request throwing 401 [no body] Unauthorized
- Converting img src data to octet-stream
- Implementing Email Verification and Notification System in a Full-Stack Application with React Frontend and Node Backend
- Micronaut - Add Controller from external library
- Moving Template or OVA to Datastore using vCenter API
Related Questions in SERVER-MONITORING
- executing pm2 list linux commands from java code
- I have installed and configured Zabbix agent in my Ubuntu 22.04 server but still zabbix availability shows unknown in Zabbix Monitoring Console
- How to get the details of applications deployed on Tomcat server?
- Realtime File Server Metrics with Javascript from Scratch
- Use check_mk_agents on clients to check availability of a service or host
- Can I monitor a server (microsoft or unix) REMOTELY with prometheus?
- Using Zabbix how to monitor database without installing agent on the host?
- JMeter Perfmon Plugin Server Agent error: java.net.SocketException: Permission denied
- Is it possible to take action on an application using datadog or Prometheus?
- laravel monitor check is getting failed
- How can I remotely monitor the performance status of a Linux server with oshi?
- Mongod process not starting
- Verify certain metric on different instances in Prometheus alert rules
- How to properly monitor VPS linux command
- Setup "Stackdriver Kubernetes Monitoring" for AWS
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If you are using
Android Studiothen best tool to check performance of your app isAndroid Profiler. It is available in Android Studio from3.0, where you can measure your app's CPU, Memory and Network performance in a very good manner.Checkout more details about
Android Profilerat the official link : https://developer.android.com/studio/profile/android-profiler.html