R
R
Rekspeks2014-12-26 13:04:27
MySQL
Rekspeks, 2014-12-26 13:04:27

Is Redis worth migrating from mysql?

Question for the pros. Selection for reading in style: id request, then reading the desired field. Asynchronous writing, id lookup, number writing from 1 to 10000 Ordinal reading from 1 to 100 thousand. What do you think is the best solution for the above? Are radishes ideal?
The essence is simple, I am doing a project, being a project manager, there is no one to ask, I want to change the database, I need performance, the number of users depends on the number of write capabilities. Now our database is running on a relational database (muscle, innodb). I want to switch to a modern solution, such as a radish, with prospects for scaling, with the ability to replicate from a slave to a master and vice versa (now there will be 3 servers, 1 only a db master read write, the second is only read (very low consumption), the third is writing and sending from slave to the master of its part
Required write speed to the master from 2500 records per second, reading once per minute 100 thousand, multi-threaded, asynchronous writing.

Answer the question

In order to leave comments, you need to log in

5 answer(s)
I
index0h, 2015-01-01
@index0h

You are PM (Project Manager), your task is to manage human resources, DO NOT go into development.
The task of the programmer, according to the rules you described, is to implement the functionality, however, he must choose the tools for this on his own, according to the TOR.
The fact that you have indicated a few numbers are architectural requirements and they are OUTSIDE of your competence.
You have specified the requirements for writing / reading, but what about the integrity, cost, complexity of implementation and support?
Redis is a key-value store (most commonly used as a cache and pub/sub router), MySQL is a relational database. It's like comparing a motorcycle and a truck, they are designed for different purposes.

P
Puma Thailand, 2014-12-26
@opium

So muscle and radish are in completely different functional rows, if you need a keyval, then it is logical that this is radish, if sql is muscle or postgres.
From your description it is not very clear what you are storing, if you just have an id + field, then a radish and a selection only by id, then the radish is the best.

A
Alexander Aksentiev, 2014-12-26
@Sanasol

I want to change db

at the behest of the left heel? :)
radish is a NoSQL store.
All records are stored as key - value i.e. there are no samples by parameter in principle, in the usual sense. Is that just search search.
All that you described is available in mysql. Nobody is stopping you from scaling it.
Are the figures from the ceiling or are there already such data?
What is wrong with mysql and why is it not a modern solution?

R
reedwalter24, 2014-12-26
@reedwalter24

Judging by the description, Redis is definitely not suitable for you.
Even from MySql to Postgres, the transition will be "painful". If the project is large, you need to prepare yourself for the fact that it will take a long time.

A
Alexander Drozdov, 2014-12-26
@bagzon

Do not suffer from garbage, Mysql normally processes all its tasks, unless of course you write queries correctly and have a well-structured database.
Many large companies sit on Mysql, I speak from personal experience.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question