I am Selecting database: Always done MySQL but thinking about Redis or Mongo
The solution is not very relational at all but just storing documents. Could be MySQL, could be MongoDB och Redis but which one can take the highest number of connections from an API? I am thinking about having 20 webservers in a loadbalancing config. If we are talking about 100 users saving the same amount of json data which one can handle the most reuests?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hi there,
I recently came across a repository on GitHub with some benchmark results.
You can take a look at the repository here:
https://github.com/webcaetano/mongo-mysql
Results from the tests:
With data size in rows numbers:
@ivanpopelyshev results:
ENGINE=‘MyISAM’ for the MySQL tables:
You can also test this yourself too:
Hope that this helps!
Best,
Bobby