Blake Miner
                                            Blake Miner
                                        
                                    Did some testing with `//go:embed` this morning: https://git.icomputeconsulting.com/bminer/go-embed-test It turns out that an imported module *can* use `//go:embed`, and it will get properly compiled in when you import it! Pretty...
Yeah I saw the litestream project. Pretty neat! I think SQLite is a great solution if you want RDBMS-like data storage. I still feel that the future is API /...
Here's my $0.02. When picking a database you want to consider the following (both in the **average case and at worst case** like peak load): - Dataset size (MB) -...
I'd love to hear more about your use case. Here are some of my thoughts: - **Rate Limiting** could be implemented by listening on the `message` event handler and simply...
I think that I understand. Thank you for clarifying your use case! I can definitely understand grouping many event handlers together into a group where you could use a single...
@daniandl - So how do you feel about wrapping the event handlers? Instead of: ```js socket.of("subsystem").on("event1", function (e) { if(this.get("reqCount") > REQUESTS_PER_MIN) { throw new Error("Exceeded request limit of "...
I'm still on the fence here, but I have a proposal: We could add a `use` method to the WebSocketChannel that provides middleware support to process inbound messages. Middleware could...
Understood. Thanks so much for your feedback, @daniandl. I'll think this over a bit more, and I'll post back here if/when the change is made.
I created a PR for this (see above). The code for this has not been tested at all. Any feedback (or bug fixes!) would be appreciated!
Likewise. This is fairly low priority for me personally, but I think it will be a good addition to the lib. Thanks for the suggestion and your help!