Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    M

    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.

    Visit blogHN submissions
    Web DevelopmentProgramming
    What HN says

    Commenters mostly link it as a reference for API topics like SDK best practices and CORS; several comments are the company promoting its own product.

    Stats for nerds
    17HN people shared it
    20linked in comments
    77story points
    Apr 2022last shared
    2016people per year2022

    Top posts on HN

    1. 1
      Authentication for RESTful APIs, HTML5 Security
      1 person · 26 points · first shared 2016 · 1 comments on HN
    2. 2
      Best Practices for Versioning REST and GraphQL APIs
      1 person · 11 points · first shared 2021 · Discussion on HN
    3. 3
      A technical deep dive on Meltdown. Does it actually work?
      3 people · 8 points · first shared 2018 · Discussion on HN
    4. 4
      REST vs. GraphQL APIs, the Good, the Bad, the Ugly
      3 people · 8 points · first shared 2018 · Discussion on HN
    5. 5
      Designing Good Static REST API Documentation
      2 people · 3 points · first shared 2017 · Discussion on HN
    6. 6
      Generating REST APIs from GraphQL Schemas
      1 person · 3 points · first shared 2019 · Discussion on HN
    7. 7
      REST API Design Best Practices for Sub and Nested Resources
      1 person · 3 points · first shared 2019 · Discussion on HN
    8. 8
      A guide on API Analytics to grow platform businesses
      1 person · 3 points · first shared 2019 · Discussion on HN
    9. 9
      Authoritative Guide to CORS (Cross-Origin Resource Sharing) for REST APIs
      2 people · 2 points · first shared 2019 · Discussion on HN
    10. 10
      Build vs Buy: API Management
      1 person · 2 points · first shared 2023 · 1 comments on HN

    What HN people wrote when they linked it

    • samspencJul 2018

      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-Filtering-Sorting-and-Pagination/
      [3] https://stackoverflow.com/questions/207477/restful-url-design-for-search?rq=1

    • kamikaz1kOct 2019

      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-Filtering-Sorting-and-Pagination/#

    • derricgillingOct 2016

      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.

    • zer0faithJul 2019

      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-Cross-Origin-Resource-Sharing-for-REST-APIs/#

    • xingwangJan 2018

      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-Vulnerability-Behind-Meltdown/

    • wizwit999Feb 2022

      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).

    Related

    Yan Cuitheburningmonk.com28 people

    Fear and Loathing in APL (2015)

    Yan Cui
    Personal · last shared 2025
    Dev Geniusmedium.com/dev-genius36 people

    A principled approach to GraphQL query cost analysis

    Dev Genius
    Publication · last shared 2026
    APIs You Won't Hateapisyouwonthate.com19 people

    API versioning has no “right way” (2017)

    APIs You Won't Hate
    Personal · last shared 2025
    The Guild Blogthe-guild.dev33 people

    So, I went down the rabbit hole of buying GitHub Stars, so you won't have to

    The Guild Blog
    Company · last shared 2026
    Wiz Blogwiz.io164 people

    Exposed DeepSeek database leaking sensitive information, including chat history

    Wiz Blog
    Company · last shared 2026
    Ian Duncaniankduncan.com15 people

    The CRDT Dictionary: A Field Guide to Conflict-Free Replicated Data Types

    Ian Duncan
    Personal · last shared 2026
    Encore Blogencore.dev47 people

    Go Modules Cheat Sheet

    Encore Blog
    Company · last shared 2026
    Joe Gregoriobitworking.org46 people

    No more JavaScript frameworks

    Joe Gregorio
    Personal · last shared 2026