A
A
Anton Medvedev2013-01-19 17:08:20
PHP
Anton Medvedev, 2013-01-19 17:08:20

How do indexing and MapReduce algorithms work?

Greetings!
I'm interested in any articles that talk about how databases work? What algorithms are used? How does indexing work? How is MapReduce?
I have only superficial knowledge of these algorithms (red-black tree, A*, etc.). I want to understand them in more detail. And for fun and fun, write a document-oriented database in PHP.
For starters, it would be good to read about indexing, and about MapReduce.
Please share links to literature and articles. Thank you.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Seter17, 2013-01-19
@Seter17

Start here

E
EugeneOZ, 2013-01-19
@EugeneOZ

Everyone has a different implementation - it depends on the architecture of the cluster, on the data model.
In Couchbase, for example, the user writes the Map, Reduce functions in JavaScript.
In Hadoop, you can write them in Java, C++, and even use third-party executables.
SQL can also be thought of as a kind of Map.
The cluster architecture can change the implementation very much.

And for fun and fun, write a document-oriented database in PHP.
How much time will you waste ...
Better google on the topic "algorithms for storing and sorting data."

V
Vyacheslav Plisko, 2013-01-19
@AmdY

Very good example at php sebastian-bergmann.de/archives/750-Map-and-Reduce-in-PHP.html , enjoy the simplicity of the solution :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question