Hacker News new | past | comments | ask | show | jobs | submit | perfectspiral's comments login

This is a proposal to extend Kafka to (better) handle queueing use cases: https://cwiki.apache.org/confluence/display/KAFKA/KIP-932%3A...

"For example, a queue is perfect for a situation in which messages are independent work items that can be processed concurrently by a pool of applications, and individually retried or acknowledged as processing completes. This is much easier to achieve using a queue rather than a partitioned topic with a consumer group."


How do you know it would have worked out better with UUIDs? Did you load test it? What's the size of your dataset?


With bigint primary keys the process starts either taking the old site offline, and ends with bringing the new site online.

In-between is a non-trivial renumbering step, which takes measurable time that invalidates all existing backups.

By contrast uuid based databases do not need this step, and all existing data (some steady distributed, some in backups etc) remain valid.


"Wouldn't this mean that capital is flowing in..."

Not really. If the price of shares in your company goes up it doesn't mean you have more cash in your pocket. You would need to sell shares or issue additional shares to have more cash to pay people with. There's other ways an increased price could be beneficial of course.


Agreed and in my experience libraries like this perpetuate that anti-pattern. Inexperienced developers think because there's a library that enables it, it must be OK, right?


Low bid contractors will probably use this library to pump their code coverage numbers. Some of the shit shops I have worked at that hired lowest bid contractors have done some shady shit to meet “management expectations”.


If "management expectations" are based on code coverage numbers low bid contractors are probably the least of your worries


I don't know about Postgres but a MySQL container can take at least a few seconds to start up and report back as healthy on a Macbook Pro. You can just purge tables on the existing database in between tests, no need to start up a whole new database server each time.


You can also reuse containers with test containers.

Now the next question might be "Well why use test containers then if you are reusing containers".

Because you can express these dependencies and drive the config programmatically from your code and test harness.


That's not what the parent post was referring to. If SQS (or your ability to talk to it) is down and your database isn't, what do you do?


Can you elaborate? To my knowledge, 401k target date funds sometimes have small allocations to REITs (like 3-5%) or REIT indices that might be comprised of a mix of commercial and residential. Maybe there is some exposure to CRE mortgage backed securities through the bond indices?


Focus on high value work that can't be automated is terrible advice?


Totally common IME. Bluey is for the parents. Kids like it but don't love it.


"Sitting down with an RFC and coding up what it says is nowhere near as simple as it seems like it should be"

I learned this for myself when I tried coding an IRC server for fun. Quickly found that I made more progress, faster by just using Wireshark to see what an established server was doing and copying that.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: