Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
opendais
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
571.
▲
by
opendais
12y ago
Its an autocomplete for their search engine with machine learning. I think its purely closed source based on the article.
572.
▲
by
opendais
12y ago
This is very impressive and I hope it works out well for them. It has some serious risks in terms of privacy/government surveillance, however. A single theft of a backup and the entire country's data is violated. The other issue I
573.
▲
by
opendais
12y ago
I upvoted it on the odd hope that one of my coworkers sees it and actually considers following some of it. ;)
574.
▲
by
opendais
12y ago
Yes. I wouldn't say doomed tho. It just leads to production bugs that are costly.
575.
▲
by
opendais
12y ago
> As long as you're talking about a couple of components with few interdependencies, that's not a big deal. To me that is what a role based container is. Admittedly, sometimes I package an entire one-off service inside a contai
576.
▲
by
opendais
12y ago
I can't really answer that question completely accurately. I was a very odd case/hire compared to those both before and after as far as I can tell. I mostly interface with outside developers for integration purposes and I never re
577.
▲
by
opendais
12y ago
It seems Massachusetts currently employs Omni Consumer Products tactics and a private police force. Wow. Maybe I should work on founding the OCP today...
578.
▲
by
opendais
12y ago
> Edit: It also sounds like you are confusing best practices with good code. I've met teams, usually without a formal cs education, who haven't used version control and didn't have any unit tests, but still had a well desi
579.
▲
by
opendais
12y ago
Hahahahahahaha. If only. <3 Its an ecommerce site. So its all external customers [including API integrations with external IT departments]. I'm amazed we get away with it tbh.
580.
▲
by
opendais
12y ago
It has been this way for 10 years and predates me working there. The pace of development remains unchanged as far as I can tell over the time I've worked there, regardless of whom left and was hired. I was pointing this out not to say
581.
▲
by
opendais
12y ago
As someone who works at a place that has tons of technical debt yet is able to release daily, I have to disagree. We have things that are 6+ months old without any of the normal best practices and are able to continue to ship w/o delay
582.
▲
by
opendais
12y ago
It is why I used it as an example. Nginx+php-fpm = web app role, easy to conceptualize as a single service, and in many workplaces might be the entire depth of a given service [except for the database]. > There are two tricky parts thoug
583.
▲
by
opendais
12y ago
> If you have a health check that checks that php-fpm works, it should need no or minimal adaption to handle the new scenario. The only "new" thing is that the processes have a different parent process than usual and is running
584.
▲
by
opendais
12y ago
In order to do things your way you need: 1) Multiple docker containers to spin up and be managed. 2) Multiple health checks. 3) Set additional flags/do additional config for Docker. The fact people consistently say "Eh, this is a
585.
▲
by
opendais
12y ago
> Its a flag. There's not much to manage or setup. Yes, but managing multiple containers is more effort than 1.
586.
▲
by
opendais
12y ago
Single purpose is a role. Single process is a single process. [e.g. Nginx] I think you are confused by what I meant. Stateless single purpose containers is good. One process per container is bad because it involves more service discovery be
587.
▲
by
opendais
12y ago
> Can you elaborate why they are correct with this view? What is inherently superior about 1 process per container? At sufficient scale, horizontally scaling is complicated and involves implementing the things I avoid until I have no cho
588.
▲
by
opendais
12y ago
That is one more thing for me to setup and manage. There is no reason to do that when your scale is small enough that you handle it with 2 load balancers.
589.
▲
by
opendais
12y ago
> I think that's just an issue of tooling and getting used to a different way of working with the services. Load Balancer w/ Builtin HTTP Health Checks <-> Application Containers [nginx+php-fpm] Load Balancer w/ Buil
590.
▲
by
opendais
12y ago
More or less, yes. Every instance of the app has static locations for every service it talks to so it doesn't need to care what location. Every docker container has a health check for the load balancer and registers itself with the loa
591.
▲
by
opendais
12y ago
I considered it at one point but didn't do it. ;)
592.
▲
by
opendais
12y ago
> What is the general pattern of usage with Docker containers? Are they supposed to isolate just one application and do IO via a networks socket? The maintainers of Docker appear to strongly believe that 1 application per container is
593.
▲
by
opendais
12y ago
Also a valid interpretation. :)
594.
▲
by
opendais
12y ago
Actually, to me it screams MVP by a backend focused developer. It signals the exact opposite to me as long as it is a company of only 1-2 people. They know what they are doing but have no design chops...which is much better than the reverse
595.
▲
by
opendais
12y ago
Yes but I bet the majority of people using Docker don't need/want to scale the majority of their projects to 100+ servers which is what the Docker maintainers focus on. It is a good/valid focus for them. However, it is not
596.
▲
by
opendais
12y ago
I think the core flaw with the "no SSHD in Docker, ever" reasoning is it makes a number of assumptions. To me, for my use, Docker is really a lightweight role-based VM I can put on a provisioned host of some kind [another VM, dedi
597.
▲
by
opendais
12y ago
I'm mainly favor in this because I could trust the cooperative more than I trust the existing CAs. As long as it doesn't cost me more than the existing cheapest options [e.g. StartSSL, NameCheap's cheap ssl certs] and had 9
598.
▲
by
opendais
12y ago
My guess for food is his means this: http://www.motherjones.com/tom-philpott/2014/01/are-agricult... http://www.scientificamerican.com/article/fresh-fruit-hold-t... We basically subsidiz
599.
▲
by
opendais
12y ago
Fair enough, I was focusing more on the fact the problem with the Fed isn't the Fed. The Fed is doing its job as best as any human can really expect it to function. The problem is Congress+Presidents repeatedly passing the buck and pan
600.
▲
by
opendais
12y ago
> OK but France has crazy high taxes: capital gain taxes, income tax of more than 50% for not that well paying jobs and up to 75% income tax for rich people, a yearly tax on your belongings if you're "rich", 21% VAT, up to
More ›