Comments (12)
@ioolkos Hi! I Have been working on other projects recently. Didn't have time to take a deep look at it.
I will spend some time on it and get back to you later.
from vernemq.
@stepcheunghk RocksDB is not "compiled in" in 1.13.0.
If you want to reconcile branches and look into this, use:
https://github.com/vernemq/vernemq/tree/new-feature-rocksdb-messagestore
It's straightforward to build a Verne-RocksDB release. The only thing is that the RocksDB settings are currently not exposed to the vernemq.conf
file, so you have to do all RocksDB configuration in the advanced.config
file. I'm starting to think that this is okay or even preferable. (I viewed it as a blocking issue in the past).
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.
from vernemq.
Hello Sir @ioolkos, thank you for your prompt response ! Let me have a look first.
from vernemq.
@stepcheunghk (since you closed the issue): keep us posted about any findings, in case you test or work on the branch.
At some point, we might also just merge the branch, it's really just adding & not touching other stuff.
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.
from vernemq.
Sure. Thanks for your help. Will let you know if there is any finding.
from vernemq.
Hello @ioolkos, I was able to compile Vernemq 1.13.0 with RocksDB support by picking the diff from new-feature-rocksdb-messagestore.
However, when I tried to define the directory of msg_store in vernemq.conf, it didn't take effect. It still pointed to ./data/msgstore. But I can confirm the value has been set to /var/lib/vernemq/data/msgstore with the following command. Also other configs did take effect (e.g. vmq_swc.db_backend, vmq_swc.directory etc.)
Do you have any idea why? Thanks!
# bin/vernemq config describe vmq_generic_msg_store.directory
Documentation for vmq_generic_msg_store.directory
Valid Values:
- the path to a directory
Default Value : ./data/msgstore
Set Value : /var/lib/vernemq/data/msgstore
Internal key : vmq_generic_msg_store.msg_store_opts.store_dir
from vernemq.
@stepcheunghk Thanks, that setting seems to need some fixing then.
If you need to set a different directory for now, you can change it in the vmq_generic_msg_store.app.src
file and recompile.
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.
from vernemq.
@ioolkos Thanks again for your prompt response!
from vernemq.
@stepcheunghk since I want to merge RocksDB support eventually, I'm interested even if it'd be only anecdotical feedback.
Did you run Verne a bit on RocksDB? any observations so far?
I'll leave the issue closed here.
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.
from vernemq.
@stepcheunghk No problem! It is your time and interest and very appreciated here.
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.
from vernemq.
Hi @ioolkos, just a quick update, for the directory issue mentioned above, my current workaround is to use the old advanced.config
. (https://github.com/ioolkos/vernemq/blob/rocksdb-messagestore/apps/vmq_generic_msg_store/priv/rocksdb_example_advanced.config)
from vernemq.
@stepcheunghk Thanks for the feedback! Of course, yes, the advanced.config file is an option for the directory setting. And we need to have an advanced config for RocksDB anyway.
👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.
from vernemq.
Related Issues (20)
- Environment variables for erlang configuration HOT 3
- Multiple connections using same client_id and username HOT 9
- Changes in mysql.lua file to not match client_id from myql HOT 3
- Using username in a TLS context is inappropriate HOT 3
- Need help with ECONNRESET using mqtt.js and VerneMQ HOT 5
- Add api Key using environment variables HOT 10
- [Bug]: Caching for auth_on_xxx_m5 hooks is not working HOT 8
- max_request_line_length config has no effect for HTTP sessions
- [Bug]: Issues with the correct CPU quota detection on k8s v1.26 HOT 12
- [Bug]: Outgoing QoS upgrades not affecting storage of offline messages HOT 5
- [Bug]: vmq_http_pub plugins apis not restricted by api key and bounded to default http listener HOT 7
- Enhancement: MQTT TLS listeners with multiple TLS versions.
- [Bug]: Loss of retained QoS 1 messages across cluster nodes HOT 1
- [Bug]: <title>HIGH CPU for VerneMQ (beam.smp) HOT 3
- Support Alternative TCP listener with proxy protocol enabled by default HOT 6
- VerneMQ HTTPs support HOT 12
- [Bug]: Websockets upgrade request: HTTP 431: Request Header Fields Too Large with big cookies HOT 11
- [Bug]: CRASH REPORT Process with 0 neighbours crashed with reason: bad argument in vmq_cluster_com:process_bytes/3 line 171 HOT 1
- Seeing various messages in the logs when under load HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vernemq.