Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
gjulianm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
27 ms
·
301.
▲
by
gjulianm
4y ago
> The requirement is a Web2 app with "millions in revenue". Millions in revenue doesn't really say anything about the performance required.
302.
▲
by
gjulianm
4y ago
> You'd have less maintenance using RDS than you would with an SQLite hosted on a VM. Considering that the maintenance I need to do for SQLite databases is practically zero... > I was responding to the OP who said you can scale t
303.
▲
by
gjulianm
4y ago
> What am I missing? Different requirements, expertise, and priorities. I don't like generic advice too much because there are so many different situations and priorities, but I've used files, SQLite and PostgreSQL according to
304.
▲
by
gjulianm
4y ago
> Like what? What could be easier than going to AWS, click a few things to spin up a Postgres instance, click a few more things to scale automatically without downtime, create read replicas, have automatic backups, one-click restore? Not
305.
▲
by
gjulianm
4y ago
> The driver's window only properly works in France. I'm sorry... what? :D
306.
▲
by
gjulianm
4y ago
The problem of depression is that it makes incredibly difficult to do those things, getting exercise, eating better, sleeping well, anything that makes you feel better. That's why people use antidepressants, because they aren't we
307.
▲
by
gjulianm
4y ago
> The suspension points are there because trying to put actual words won't be as scary. I live in Spain. This summer is being absolutely unbearable. We're constantly hovering around 40ºC. You can't open the windows to go t
308.
▲
by
gjulianm
4y ago
How much energy do islands spend compared to the rest of the world? Of course there will be some places where fossil fuels will be the only alternative. But using that as an excuse for inaction in the parts where we do have alternatives doe
309.
▲
by
gjulianm
4y ago
I don’t know, even with good frameworks TUI interfaces are harder to do than simple CLI. From what I’ve seen, interfaces made with these framework aren’t replacing CLI tools, just augmenting them. In fact I think the use cases are usually c
310.
▲
by
gjulianm
4y ago
Maybe you don't have access to a graphics server, or just want to add a small interface to a certain part of a bigger application/script that works in the terminal. For example, apt will show you TUIs sometimes when it asks more c
311.
▲
by
gjulianm
4y ago
> Indeed, if all the features of modern graphical/web applications are dragged into terminals, then what is the point of using terminal anymore instead of native graphics/web? It's not "all the features", but jus
312.
▲
by
gjulianm
4y ago
It's not as much about talent but about tradeoffs. I work in traffic monitoring tools (not censorship, just observability tools for infrastructure) there's always the decision of how many edge cases you want to cover vs how fast y
313.
▲
by
gjulianm
4y ago
Except that there should be only one way to make a filename from a string. Maybe some options like "allow_spaces" if needed but the point of DRY is not only to share code but to share algorithms.
314.
▲
by
gjulianm
4y ago
How do you test 8 lines of regex inside a function that does more things? And what's easier, to write and read the function name or copy-paste the lines with the comment (if the comment explaining what that piece does is even written,
315.
▲
by
gjulianm
4y ago
> but the diffs are simple, bugs are simple (often you simply forgot to copy piece of code into 7 different places which is easy to solve) I am sorry but that sounds like an absolute nightmare. 7 different places means 7 different times
316.
▲
by
gjulianm
4y ago
I think that drawing conclusions from these examples is not productive at all. In the wild we're going to see functions such as def make_string_filename(s): # four lines of regex and replace magic so that we have code
317.
▲
by
gjulianm
4y ago
Yes, as someone outside the US, the fact that this is a thing is just... weird. When I go to the hospital I'm already worrying about health, I'm thankful I don't have to worry about money too.
318.
▲
by
gjulianm
4y ago
For me the interest comes from seeing the speed boost between regular kernel/optimized kernel/DPDK. What you put behind the RX layer doesn't really matter, but it's good to see numbers and things to do when your RX syste
319.
▲
by
gjulianm
4y ago
I wouldn't say XDP is an alternative to DPDK. XDP severely limits what you can do as you insert code inside of the kernel. DPDK exposes the NIC to regular user code so you can do what you want. XDP is useful when you want to modify wha
320.
▲
by
gjulianm
4y ago
> If I recall correctly, DPDK abstractions themselves cost a bit of NIC performance, so it might be interesting to see a comparison including a raw NIC-specific kernel bypass framework (like the SolarFlare one). DPDK performs fairly well
321.
▲
by
gjulianm
4y ago
That's not the reality. The kernel network stack does a lot of things that for some applications are not needed, so DPDK is used for those cases when they need very high performance. For example, packet capture, routing, packet generat
322.
▲
by
gjulianm
4y ago
> It depends. There are many things that carry a cost early but pay for themselves many times over later. Whether that will be the case for your startup depends whether you end up needing to scale quickly or not. Well, precisely what I s
323.
▲
by
gjulianm
4y ago
> You don't run your own registry (except in very rare circumstances where that makes sense). You author Dockerfile (or better yet use a tool like jib that creates containers automatically without even a Docker daemon), then you pu
324.
▲
by
gjulianm
4y ago
> I'm fairly sure that google does a better job keeping cloud spanner and cloud run working, and their redundancy mechanisms working, than whoever runs your single linux box will do. Most of the uptime loss won't come from your
325.
▲
by
gjulianm
4y ago
I mean, you still have to invest time on putting k8s to work, get people skilled with it, maintain and debug the problems... If Kubernetes didn't cost anything to deploy I'd agree that using it is the better idea, but it costs tim
326.
▲
by
gjulianm
4y ago
I think the set of cases where "we need to scale up rapidly if it succeeds" and "Kubernetes solves all of our scaling needs and we aren't going to have problems with other components" is almost empty. On the other h
327.
▲
by
gjulianm
4y ago
I mean, container+registry is possibly more complex to start and maintain than just creating a service file with SystemD. Deployment can be as easy of "systemctl restart service", and seems to me that configuring all of those reso
328.
▲
by
gjulianm
4y ago
> Overall it's a lot less required knowledge than it takes to manipulate lower level primitives like GCP/AWS directly or be capable of setting up standalone boxes. I do not agree with this. I have tried to start Kubernetes and
329.
▲
by
gjulianm
4y ago
> I'm very much with you on this, but I do understand that it's one of those things that is just not feasible when your team has no sysadmin/devops experience. But this applies to everything. You also need Heroku or Kuber
330.
▲
by
gjulianm
4y ago
> I guess redundancy is not really a thing then? Most of the time it really doesn't need to be. In the end what you care about is uptime and cost. A redundant solution doesn't have a perfect uptime just because it's redund
More ›