Start a new topic

Use 64-bit integers in place of 32-bit integers

Cohost currently supports a maximum hard limit of up to 2,147,483,647 posts (call API endpoints [userHandle]/post/compose with shareOf value of 2147483647 and 2147483648 respectively). Were the site to gain significantly far more users in the long run, the constant stream of posts would likely break the site entirely as it nears closer to the 32-bit integer limit until it hits a buffer overflow.

1 Comment

*integer overflow, typo'd there

Login or Signup to post a comment