Live data from Hacker News

Viewing profile — Deadron

Deadron

HN member
Joined
Fri, Jun 30, 2017, 6:04 PM UTC
HN karma
27
Public activity
37 items

About Deadron

No profile information was provided.

Recent public activity

  1. comment
    Comment #46601179

    Just do a normal merge, then squash all your commits in into one, using rebase, then a rebase onto a branch is easy.

  2. comment
    Comment #45621823

    For when you inevitably need to expose the ids to the public the uuids prevent a number of attacks that sequential numbers are vulnerable to. In theory they can also be faster/conv…

  3. comment
    Comment #37435273

    I would hope you are not allowing IoT devices direct access to your database. There is no saving that haha.

  4. comment
    Comment #37434242

    Most large scale web applications spend their time reading and writing data, both to/from clients and to/from other remote services such as databases. You don't need thousands of h…

  5. comment
    Comment #37434168

    To be clear pgbouncer does not add connections to postgres or remove the connection bottleneck. Its still there under the covers. If you are saturating your connections it will not…

  6. comment
    Comment #37434131

    Don't spin up 50 pods. You have outscaled your database. You can't make IO operations faster by throwing more workers at it and you can only have so many connections working at onc…

  7. comment
    Comment #37434011

    Is this because your default approach is to horizontally scale or because you have tried other options? Logically scaling vertically a single server with pooled connections should …

  8. comment
    Comment #37433573

    If you are running aws lambdas I believe you should be using the RDS proxy product(This is a very similar product though).

  9. comment
    Comment #37433513

    This still doesn't really make sense to me. You can't scale an application that relies on a database heavily to this level because your fundamental constraint IS the database. If y…

  10. comment
    Comment #37433002

    PgBouncer has always left me confused in the world of application level connection pooling. I have never quite understand the value of it if we are already using connection pools i…

  11. comment
    Comment #34883780

    Poorly vs well structured code.

  12. comment
    Comment #34551237

    It depends. The come and go based on legislation and the current fixed interest rates. They were very popular for a bit but as the fixed rates kept dipping they seemed to mostly va…

  13. comment
    Comment #32782183

    Auto generated client code is nice in theory. In practice I find it only really useful as a starting point. There are enough choices to be made in writing even a simple HTTP api th…

  14. comment
    Comment #31587499

    Your example is missing anything actually related to rendering a webpage.

  15. comment
  16. comment
    Comment #31586836

    The tooling is far from simplistic to setup and the available options can be overwhelming. Its all the pain of the JS stack but with less easily available help and tooling that pro…

  17. comment
    Comment #26879192

    I felt literal pain reading this.

  18. comment
    Comment #26879059

    Surprisingly, or maybe not, slf4j requires an implementation to be provided at runtime to log anything.

  19. comment
    Comment #26267787

    You can use a redis to distribute messages via PUB/SUB. The sockets subscribe to the events that are relevant to them. It can handle thousands of messages a second in a local envir…

  20. comment
    Comment #26194233

    Windows....enough said.

  21. comment
    Comment #26037251

    Strategic missile defense almost entirely a complete waste of money. https://www.ucsusa.org/resources/disastrous-us-approach-stra...

  22. comment
    Comment #25917302

    12 factor apps sacrifice performance and simplicity of your environment for scalability. Unless you are guaranteed to start with a worldwide audience its complete overkill. A bette…

  23. comment
    Comment #24880342

    Until you attempt to multithread the logic and everything breaks.

  24. comment
    Comment #24494291

    This article mentions node dependencies and ignores the innumerable number of libraries down the stack to the bare metal. Even if you wanted to spend the time writing your applicat…

  25. comment
    Comment #24444919

    One of the bigger problems is that exceptions are slow. Thus the recommendation is not to use them in cases where the caller could branch on. A perfect example is a missing element…