I was browsing into my 'database.php' config file and just saw this comment :
/*
|--------------------------------------------------------------------------
| Redis Databases
|--------------------------------------------------------------------------
|
| Redis is an open source, fast, and advanced key-value store that also
| provides a richer body of commands than a typical key-value system
| such as APC or Memcached. Laravel makes it easy to dig right in.
|
*/
Why laravel call it 'databases'? Does redis persist data into ram ? i mean if i restart my machine does data still there ? As my understanding a database should have tables, Do redis have it?
I think it's just where it fits in the best. But you cannot use it with eloquent. That being said, there are such a thing as no sql databases that does not have tables (redis isn't this either though). It's also why it use the term store in the description.
Voted the most-loved database for 5 years running, Redis is at the center of an engaged community of developers, architects, and open source contributors.
Redis has data structure, which is what defines a database. Tables are just one form of data structure.