Skip to content

Commit

Permalink
Readme updated with ZongJi update
Browse files Browse the repository at this point in the history
  • Loading branch information
numtel committed Dec 31, 2014
1 parent 5964159 commit 82a835a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
28 changes: 3 additions & 25 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,33 +38,11 @@ Specify a table (as string) to use for storing the keys used for notifying updat

### `connection.initUpdateServer([port], [hostName])`

***Under construction***
***Abandoned feature, see notice:***

Instead of polling a table for updates, broadcast updates from MySQL directly to your Meteor server. If you can't wait for an installation script and more testing, you can try it using the following commands.
Development of this feature has been abandoned in favor of using MySQL's binary replication logs to transmit updates.

```bash
# Install dependency on CentOS
$ yum install mysql-devel

# Install dependency on openSUSE
$ zypper install libmysqlclient-devel

# Install dependency on Debian/Ubuntu
$ sudo apt-get install libmysqlclient-dev

# Install dependency on Mac OS X (Does this work??)
$ brew install mysql-connector-c

# Compile
$ gcc $(mysql_config --cflags) -shared -fPIC -o meteor_update.so lib/meteor_update.c

# Install
$ sudo cp meteor_update.so $(mysql_config --plugindir)
```

Due to the early stage of development, the default settings must be used: port 9801 on localhost.

Development of this feature has been abandoned in favor of using MySQL's binary replication logs to transmit updates. See the [`more_fields` branch](https://github.com/nevill/zongji/tree/more_fields) I have created on the `zongji` Binlog tailer NPM package. Expect this package to be updated as soon as I get the rest of the fields sorted!
The [ZongJi NPM Module](https://github.com/nevill/zongji) has been completed and development of a `mysql-live-select` NPM module to use as the core component for this project is beginning. <sup>2014/12/31</sup>

### `connection.select(subscription, options)`

Expand Down
2 changes: 1 addition & 1 deletion context.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ By using Statement-Based replication, the binary log can be tailed. This process

The main advantage to using the Binlog would be to enable updates without modifying the underlying database with triggers. Theoretically, realizing Binlog updates appears as an ultimate solution to Meteor-MySQL integration but benchmarks and real world performance are necessary to tell the full story.

My progress on completing the zongji NPM module can be seen in the project under the [`more fields` branch](https://github.com/nevill/zongji/tree/more_fields).
The [ZongJi NPM Module](https://github.com/nevill/zongji) has been completed and development of a `mysql-live-select` NPM module is beginning. <sup>2014/12/31</sup>

## Postgres Sequel

Expand Down

0 comments on commit 82a835a

Please sign in to comment.