-
Notifications
You must be signed in to change notification settings - Fork 651
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
Feature/centralize varnish trigger #241
Feature/centralize varnish trigger #241
Conversation
Closes CartoDB#197 Jira ref CDB-241
Why are you using LISTEN/NOTIFY? We cannot use LISTEN/NOTIFY since it's not secure |
I'm only using NOTIFY. Do you see security problems with it ? Note we're already using it, all the commit does is adding more |
Yes yes, I can see that the real work is being done manually. I'm just On Wed, Nov 27, 2013 at 12:21 PM, strk notifications@github.com wrote:
Luis Bosque |
It would be ok to comment that out, and add a comment I don't think anyone can listen trough the SQL api though, I'd also note that all you could gather by listening to that --strk; |
I wasn't able to listen from the sql api, but the reason I think it's On Wed, Nov 27, 2013 at 12:47 PM, strk notifications@github.com wrote:
Luis Bosque |
The answer to LISTEN is asyncrhonous. It takes a client to actively "pull" the notifications to get aware of them. |
Agreed about using a notification as a trigger for invalidating caches might be more prone to users faking changes than a security definer trigger invoking a function for which unauthenticated users have no rights to execute. A lot of material for testcases, it looks like :) |
…geojson-regression-tests Changes geojson_spec to use the configured ogr2ogr binary
Closes #197