What are the performance differences of methods vs. allow/deny?
When should I use which?
What are the performance differences of methods vs. allow/deny?
When should I use which?
@mz103, take a look at this topic that I’ve made soem time ago,
They are the same performance wise. The Players.insert is just a facade for a Meteor.call('players/insert', ... call. Under the hood it’s all using Meteor methods.
I switched to only using Meteor methods because they offer more flexibility and easier to reason about security logic.
Also here’s an article that goes into more depth: https://www.discovermeteor.com/blog/meteor-methods-client-side-operations/
Another discussion: