MySQL development server, not meant for production use, in development for almost 2 years, release date unknown, now includes memcached, and a plugin that allows fast NoSQL-style access.
I hope they are taken seriously however; I'd like to see all the major RDMS tightly integrate memcache in front. It only makes sense, web developers have been doing it themselves since LiveJournal's hayday.
The MySQL server now includes the widely used memcached in-memory caching system, and a plugin that allows fast NoSQL-style access to InnoDB tables through the memcached protocol. This access method avoids the overhead of SQL parsing and constructing a query optimization plan. You can store the underlying data in a single InnoDB table, or spread it across multiple tables. You can read and write data through both memcached and SQL. For example, you can do fast single-key lookups through memcached get calls, and do statistical reports across all the data through SQL.
However, I wish there's something in reverse: Redis as a MySQL storage engine. The most obvious useful things is that you can save a `tags` table without m2m tables, juse use Redis sets.
Why have an m2m table? Just have a table with two columns: post_id (or whatever is being tagged) and tag (varchar). If you want to present a list of possible tags just query for uniques. I may be missing something, so please correct me if there is a better way or I am misunderstanding your point.
"The Memcache Python API
High performance scalable web applications often use a distributed in-memory data cache in front of or in place of robust persistent storage for some tasks"
MySQL memcached is not a cache, it's a persistent storage with memcached API.
And it's fast.
Given that the most common reason for sticking with MySQL is the maturity of InnoDB and the surrounding toolsets, and the ability to hire knowledge easily this sounds like an excellent development.
Last line: "If there is no innodb_memcache.containers.name value of default, the row with the first name value in alphabetical order is used. "
This is in regards to which table is used as the default for get/set operations. Anyone else foresee this leading to mass confusion/issues for unsuspecting users down the road?
This makes a lot more sense than adding the HandlerSocket API which provided marginally more utility at the cost of being a completely new API. Being able to bypass the query engine for key lookups is pretty cool and a write through cache is a bonus.
What does postgres have that's equivalent or better? If I'm understanding this MySQL improvement, it persists memcache data on disk, a great thing. Does postgres already do that, or better?
does anybody know how this would work with a pool of servers? if servers were replicated, would the memcache pool stay in sync as well? I'd assume it has to work that way to be effective. it sounds cool though, I'm glad MySQL continues to evolve.
[+] [-] troyk|13 years ago|reply
MySQL development server, not meant for production use, in development for almost 2 years, release date unknown, now includes memcached, and a plugin that allows fast NoSQL-style access.
I hope they are taken seriously however; I'd like to see all the major RDMS tightly integrate memcache in front. It only makes sense, web developers have been doing it themselves since LiveJournal's hayday.
[+] [-] lgas|13 years ago|reply
[+] [-] EzGraphs|13 years ago|reply
The MySQL server now includes the widely used memcached in-memory caching system, and a plugin that allows fast NoSQL-style access to InnoDB tables through the memcached protocol. This access method avoids the overhead of SQL parsing and constructing a query optimization plan. You can store the underlying data in a single InnoDB table, or spread it across multiple tables. You can read and write data through both memcached and SQL. For example, you can do fast single-key lookups through memcached get calls, and do statistical reports across all the data through SQL.
[+] [-] __alexs|13 years ago|reply
[+] [-] Ecio78|13 years ago|reply
[+] [-] nnk|13 years ago|reply
[+] [-] al_james|13 years ago|reply
As far as I can make out, the memcached server software itself is not included in MySQL right?
SELF CORRECTION:
No, it does seem to include memcached as well for write through caching. Interesting. http://dev.mysql.com/doc/refman/5.6/en/innodb-memcached-bene...
[+] [-] est|13 years ago|reply
However, I wish there's something in reverse: Redis as a MySQL storage engine. The most obvious useful things is that you can save a `tags` table without m2m tables, juse use Redis sets.
[+] [-] sopooneo|13 years ago|reply
[+] [-] geon|13 years ago|reply
[+] [-] detay|13 years ago|reply
[+] [-] rhizome|13 years ago|reply
[+] [-] rogcg|13 years ago|reply
App Engine FTW!
[1](https://developers.google.com/appengine/docs/python/memcache...)
[+] [-] nnk|13 years ago|reply
No, it doesn't.
"The Memcache Python API High performance scalable web applications often use a distributed in-memory data cache in front of or in place of robust persistent storage for some tasks"
MySQL memcached is not a cache, it's a persistent storage with memcached API. And it's fast.
[+] [-] nirkage|13 years ago|reply
[+] [-] spudlyo|13 years ago|reply
[+] [-] sehrope|13 years ago|reply
Last line: "If there is no innodb_memcache.containers.name value of default, the row with the first name value in alphabetical order is used. "
This is in regards to which table is used as the default for get/set operations. Anyone else foresee this leading to mass confusion/issues for unsuspecting users down the road?
[+] [-] mithras|13 years ago|reply
[+] [-] spullara|13 years ago|reply
[+] [-] forkandwait|13 years ago|reply
http://pgfoundry.org/projects/pgmemcache/
[+] [-] nnk|13 years ago|reply
[+] [-] lectrick|13 years ago|reply
[+] [-] genwin|13 years ago|reply
[+] [-] nnk|13 years ago|reply
[+] [-] jakejake|13 years ago|reply
[+] [-] andrewcooke|13 years ago|reply
[+] [-] crazygringo|13 years ago|reply
It doesn't even go over the SQL interface, it's not text-based.