Moesif Blog

moesif.com · Company blog · on HN since 2016

Moesif, an API analytics company, publishes technical guides on REST and GraphQL API design, CORS, authentication, and versioning.

What HN saysCommenters mostly link it as a reference for API topics like SDK best practices and CORS; several comments are the company promoting its own product.
17HN people shared it
8linked it in comments
20stories submitted
77story points
3 years agolast shared
2016people per year2026

Most-shared posts

  1. 1
  2. 2
    REST vs. GraphQL APIs, the Good, the Bad, the Ugly
    3 people · 8 points · first shared 2018 · discussion on HN
  3. 3
    Designing Good Static REST API Documentation
    2 people · 3 points · first shared 2017 · discussion on HN
  4. 4
  5. 5
    Homepage
    2 people · first shared 2016
  6. 6
    REST API Design Filtering Sorting and Pagination
    2 people · first shared 2018
  7. 7
    Authentication for RESTful APIs, HTML5 Security
    1 people · 26 points · first shared 2016 · 1 comments on HN
  8. 8
    Best Practices for Versioning REST and GraphQL APIs
    1 people · 11 points · first shared 2021 · discussion on HN
  9. 9
    Generating REST APIs from GraphQL Schemas
    1 people · 3 points · first shared 2019 · discussion on HN
  10. 10
    A guide on API Analytics to grow platform businesses
    1 people · 3 points · first shared 2019 · discussion on HN
  11. 11
  12. 12
    Build vs Buy: API Management
    1 people · 2 points · first shared 2023 · 1 comments on HN
  13. 13
    Show HN: A Free 3rd Party API Status Dashboard
    1 people · 2 points · first shared 2019 · discussion on HN
  14. 14
  15. 15
    What Is Developer Relations and What Are Common Roles?
    1 people · 1 points · first shared 2021 · discussion on HN

What HN people wrote when they linked it

wizwit999 · 2022-02-03
Check out https://www.moesif.com, if youre interested in analytics. If you're interested in the audit logging /security angle, also check out https://apptrail.com (Disclaimer: founder).
derricgilling · 2016-10-11
Scala is definitly a cool language to learn. I like the type safety in statically typed language, and Java is just too verbose. Scala + Play Framework + Akka is solid. We use scala for parts of our pipeline for https://www.moesif.com Docker is definitly up there also with Docker Swarm/Compose, etc. Just a matter of time as Docker Cloud and the whole Container as a Service area is fully matured. I like Kubernetes on Google or Docker Swarm on Azure, but still a ways to go before it's like spinning up a Heroku like instance. They are one of the few companies able to execute very well in getting people to adopt a new technology.
samspenc · 2018-07-20
Is REST perfect? Probably not. But it certainly does its job, and that's why most middle-tier APIs these days, whether it be those that power web applications or mobile apps, are in REST, with the backend itself being written in a variety of languages (PHP, Python, Java, C#, etc). I will admit that core REST doesn't support basic "querying" functionality, or even things like pagination, filtering, sorting, etc, which is why there are a set of standards, or best practices on top of REST that aim to standardize those commonly used patterns. [1] [2] [3] Finally REST, whether by design or not, follows the KISS principle (Keep It Simple and Stupid), and that's probably why it's gained as much traction as it has over the years. Want to get a user object? GET /user/<id> Want to update it? POST or PUT /user/<id> Get a list of all users? GET /user/ If you look at just the "basic" examples for GraphQL, you will understand why it's never going to replace REST in its current form. [1] Microsoft's OData: https://www.odata.org/ [2] https://www.moesif.com/blog/technical/api-design/REST-API-Design-Filte… [3] https://stackoverflow.com/questions/207477/restful-url-design-for-sear…
zer0faith · 2019-07-10
Rarely does a application actually need to enable CORS. If all of your webcalls are from the same domain YOU DONT NEED CORS. (Chatbots/socket.io) You only need CORS if you need the browser to act as a middleman to pass information back. IE: Credit Card Payment IFRAME If you screw up CORS implementation it just means that anyone can read any information set by your website. https://www.moesif.com/blog/technical/cors/Authoritative-Guide-to-CORS…
xingwang · 2018-01-06
Just want to share an technical article about meltdown with things that isn't covered in the white paper. https://www.moesif.com/blog/technical/cpu-arch/What-Is-The-Actual-Vuln…
nickmyersdt · 2022-04-07
Not a book but I enjoy https://www.moesif.com/blog/
kamikaz1k · 2019-10-24
My company is actually going through the transition to cursor/keyset pagination. As a SaaS company starts having to support larger customers, they will likely have to go through this exercise. The reason is because most pagination is usually implemented with LIMIT/OFFSET in a SQL query. Using OFFSET becomes very expensive for pagination queries because the query has gotta do a full scan till it reaches the desired offset. Imagine a table with a 1 million rows, and you return pages in 100 item chunks. To get page 500, using the OFFSET method, you would have to scan through 100*499 records before you even get to the first record you care about. This can lead to all sorts of cascading problems because slow queries can cause back pressure build up from other queries queuing up. So in order to scale, services push the complexity out to the client. Conceivably, you can cache the indices on the client side, and abstract a page-number based paginator on top of it. Here's an article talking through the issue: https://www.moesif.com/blog/technical/api-design/REST-API-Design-Filte…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close