-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using Zongji to monitor mysql live event #14
Comments
That's an interesting idea, but I'm not sure it would pair well with sequelize since it's an adaptor for PostgreSQL, SQLite and MSSQL in addition to MySQL. Thoughts? |
Ya, you are right. |
Sounds like you might want to write that module. Maybe I'm a little unsure why you need ZongJi though? Are you running multiple app instances and using that to keep things in sync? |
Yes, for large scale project and better structural projects. We should always separate services and setup on different servers and locations for better performance. Both Mysql and Sequelize are good, but lack of syncing events, we are hard to implement realtime website like stock market. Thanks to Zongji and sequelize-stream, it save us much time on doing this. |
Gotcha. I'm running Postgres, and took a slightly different approach: Every app server uses |
I had an idea to make this project more interesting.
We can use ZongJi to monitor mysql binlog event to reload the sequelize model so that we can emit the changes.
The text was updated successfully, but these errors were encountered: