Skip to content

Commit 60c3a1a

Browse files
author
Anthony Yeh
committed
Clean up memcached dependencies.
These are no longer needed after vitessio#1742.
1 parent 25542cd commit 60c3a1a

13 files changed

Lines changed: 9 additions & 25 deletions

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ addons:
1111
# NOTE: When you add a dependency, don't forget to add comment why it's necessary.
1212
- automake
1313
- libtool
14-
- memcached
1514
- php5-cli
1615
- php5-dev
1716
- python-dev

doc/GettingStarted.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ In addition, Vitess requires the software and libraries listed below.
100100
- make
101101
- automake
102102
- libtool
103-
- memcached
104103
- python-dev
105104
- python-virtualenv
106105
- python-mysqldb
@@ -116,7 +115,7 @@ In addition, Vitess requires the software and libraries listed below.
116115
These can be installed with the following apt-get command:
117116

118117
``` sh
119-
$ sudo apt-get install make automake libtool memcached python-dev python-virtualenv python-mysqldb libssl-dev g++ mercurial git pkg-config bison curl unzip
118+
$ sudo apt-get install make automake libtool python-dev python-virtualenv python-mysqldb libssl-dev g++ mercurial git pkg-config bison curl unzip
120119
```
121120

122121
5. If you decided to use ZooKeeper in step 3, you also need to install a
@@ -152,7 +151,7 @@ In addition, Vitess requires the software and libraries listed below.
152151
5. Run the following commands:
153152
154153
``` sh
155-
brew install go automake libtool memcached python mercurial git bison curl wget homebrew/versions/mysql56
154+
brew install go automake libtool python mercurial git bison curl wget homebrew/versions/mysql56
156155
pip install --upgrade pip setuptools
157156
pip install virtualenv
158157
pip install MySQL-python

doc/Reparenting.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ This command performs the following actions:
125125
1. Promotes the master-elect tablet to be the new master. In addition to
126126
changing its tablet type to <code>master</code>, the master-elect
127127
performs any other changes that might be required for its new state.
128-
For example, it might need to modify the way its rowcache works.
129128
1. Ensures replication is functioning properly via the following steps:
130129
1. On the master-elect tablet, Vitess inserts an entry in a test table
131130
and then updates the <code>MasterAlias</code> record of the global

doc/V3HighLevelDesign.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1521,7 +1521,7 @@ Join
15211521
select :_a_col+b.col from b where b.foo=:_a_bar
15221522
```
15231523

1524-
*However, such queries are not very efficient for VTTablet. It can’t cache field info, or use rowcache. Such push-downs don’t benefit MySQL either. So, it’s better to wait till VTGate implements the ability to evaluate expressions.*
1524+
*However, such queries are not very efficient for VTTablet. It can’t cache field info. Such push-downs don’t benefit MySQL either. So, it’s better to wait till VTGate implements the ability to evaluate expressions.*
15251525

15261526
SELECT can also contain subqueries. The same restriction as WHERE clauses can be applied here: If the keyspace id of the subquery is not the same as the outer query’s, we fail the query. Otherwise, we push it down.
15271527

doc/Vision.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@ kind of scalability that NoSQL databases provide.
1919
### Priorities
2020

2121
* *Scalability*: This is achieved by replication and sharding.
22-
* *Efficiency*: This is achieved by a proxy server (vttablet) that mediates
23-
all queries and connections.
24-
It also utilizes a more efficient rowcache to short-cut some of the queries.
25-
This effectively increases a typical MySQL's serving capacity.
22+
* *Efficiency*: This is achieved by a proxy server (vttablet) that
23+
multiplexes queries into a fixed-size connection pool, and rewrites
24+
updates by primary key to speed up slave applier threads.
2625
* *Manageability*: As soon as you add replication and sharding that span
2726
across multiple data centers, the number of servers spirals out of control.
2827
Vitess provides a set of tools backed by a lockserver (zookeeper) to

doc/VitessOverview.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ If you're considering a NoSQL solution primarily because of concerns about the s
8686
* Connection pooling - Scale front-end connections while optimizing MySQL performance.
8787
* Query de-duping – Reuse results of an in-flight query for any identical requests received while the in-flight query was still executing.
8888
* Transaction manager – Limit number of concurrent transactions and manage deadlines to optimize overall throughput.
89-
* Rowcache – Maintain a row-based cache (using memcached) to more efficiently field queries that require random access by primary key, very useful for OLTP workloads. (The MySQL buffer cache is optimized for range scans over indices and tables.). This can replace a custom caching layer implementation at the application layer.<br><br>
9089

9190
* **Protection**
9291

@@ -117,7 +116,7 @@ The Vitess platform consists of a number of server processes, command-line utili
117116

118117
Depending on the current state of your application, you could arrive at a full Vitess implementation through a number of different process flows. For example, if you're building a service from scratch, your first step with Vitess would be to define your database topology. However, if you need to scale your existing database, you'd likely start by deploying a connection proxy.
119118

120-
Vitess tools and servers are designed to help you whether you start with a complete fleet of databases or start small and scale over time. For smaller implementations, vttablet features like connection pooling and rowcache help you get more from your existing hardware. Vitess' automation tools then provide additional benefits for larger implementations.
119+
Vitess tools and servers are designed to help you whether you start with a complete fleet of databases or start small and scale over time. For smaller implementations, vttablet features like connection pooling and query rewriting help you get more from your existing hardware. Vitess' automation tools then provide additional benefits for larger implementations.
121120

122121
The diagram below illustrates Vitess' components:
123122

docker/bootstrap/Dockerfile.common

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
1111
libssl-dev \
1212
libtool \
1313
make \
14-
memcached \
1514
mercurial \
1615
openjdk-7-jdk \
1716
php-pear \

docker/lite/Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ RUN apt-key adv --recv-keys --keyserver pgp.mit.edu 5072E1F5 \
88
&& DEBIAN_FRONTEND=noninteractive \
99
apt-get install -y --no-install-recommends \
1010
bzip2 \
11-
memcached \
1211
libmysqlclient18 \
1312
mysql-client \
1413
mysql-server \

docker/lite/Dockerfile.mariadb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ RUN apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db
77
&& apt-get update \
88
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
99
bzip2 \
10-
memcached \
1110
mariadb-server \
1211
&& rm -rf /var/lib/apt/lists/*
1312

docker/lite/Dockerfile.mysql56

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ RUN apt-key adv --recv-keys --keyserver pgp.mit.edu 5072E1F5 \
88
&& DEBIAN_FRONTEND=noninteractive \
99
apt-get install -y --no-install-recommends \
1010
bzip2 \
11-
memcached \
1211
libmysqlclient18 \
1312
mysql-client \
1413
mysql-server \

0 commit comments

Comments
 (0)