Skip to content
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

Character limits? #1

Open
stuartpb opened this issue Jun 3, 2015 · 4 comments
Open

Character limits? #1

stuartpb opened this issue Jun 3, 2015 · 4 comments

Comments

@stuartpb
Copy link
Member

stuartpb commented Jun 3, 2015

I'm thinking 2^20 characters max per message. That's 1MiB of ASCII and ~4 MiB of extended Unicode characters (depending on internal encoding). This will likely be fine.

@stuartpb
Copy link
Member Author

stuartpb commented Jun 3, 2015

Maybe keep a running "user corpus" of total posted characters (via sidecar on insertion queries), and flag/ban users who go insanely high (possibly relative to account age), and maybe some other red flags around inhuman activity spikes. (Also maybe flag/ban users who send >8 messages a second.)

@stuartpb
Copy link
Member Author

stuartpb commented Jun 3, 2015

Because yes, maybe now and then somebody needs to post all of Finnegan's Wake in chat.

@stuartpb
Copy link
Member Author

stuartpb commented Jun 3, 2015

Rejecting based on inhuman activity volume seems like a good use of HTTP 420 Enhance Your Calm.

@huttj
Copy link
Contributor

huttj commented Jun 11, 2015

Hm...that seems like a lot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants